/    Sign up×
Community /Pin to ProfileBookmark

Having problem with PHP and Java on validating a HTML account creation form

Hi…

My problem is that I have the code both PHP and Java but dosen’t work, it seen that the java part do not run went I fill a field of the form and dosen’t call the PHP part of the code to run.

Please need help on this….

Both code are from developphp.com and the author is Adam Koury..

to post a comment
PHP

6 Comments(s)

Copy linkTweet thisAlerts:
@php-bgraderJan 06.2014 — You can't call PHP on the client side - the form must be submitted to the server for PHP to process
Copy linkTweet thisAlerts:
@jaikopdauthorJan 07.2014 — You can't call PHP on the client side - the form must be submitted to the server for PHP to process[/QUOTE]

Hi thanks for the reply....

Let me explain a little more:

When I fill the username the java part has to check if is a valid entry before I proceed to the other field, but the java part do not do it.....

After I submit the form java has to check if every field has been fill it then call the PHP part to do a second check before submitting the form.... but nothing happens, not java checking or PHP call....

The page reside in the web server....
Copy linkTweet thisAlerts:
@NogDogJan 07.2014 — Point of order: "Java" <> "JavaScript", and I'm assuming you really mean JavaScript here.

In any case, without seeing any code, it's pretty difficult for us to debug it for you. If it's a JavaScript issue, there are debuggers for most browsers (e.g. FireBug for Firefox).
Copy linkTweet thisAlerts:
@jaikopdauthorJan 08.2014 — Point of order: "Java" <> "JavaScript", and I'm assuming you really mean JavaScript here.

In any case, without seeing any code, it's pretty difficult for us to debug it for you. If it's a JavaScript issue, there are debuggers for most browsers (e.g. FireBug for Firefox).[/QUOTE]



Hi....

Yje code is too long to post here.... what I cam do to post the code..
Copy linkTweet thisAlerts:
@NogDogJan 08.2014 — Well, you could attach it as a text or zip file, or post it on one of the code sharing sites (e.g. pastebin). To be honest, though, most members aren't going to want to wade through lots of someone else's code to do their debugging for them. Is there no way you can whittle it down to the portion of code you suspect is where the problem is?
Copy linkTweet thisAlerts:
@jaikopdauthorJan 09.2014 — Hi

Here is the limk http://pastebin.com/TfKZXuz8 I paste the complete page code but higlited the java part..... I do it this way 'cos if you need to checjk the PHP or the HTNL you can...
×

Success!

Help @jaikopd spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...