This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes PHP and the fly likes  PHP in General Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Languages » PHP
Bookmark " PHP in General" Watch " PHP in General" New topic

PHP in General

bala kan
Ranch Hand

Joined: Aug 20, 2012
Posts: 44
Hi Friends,

I have to create a user registration page with two fields (Username and Password)..

so, i use three php files
a)index.php // use to create the two fields
b)registration_script.php // use to configure the server and database and insert the new record into the table
c)success_script.php // if successful means, this page will be displayed

but when i use the <input type="submit"> it gives me the desired answer.. but, if i use the <input type="image"> it doesn't give the answer...

the codings are




please clarify me.. Thanks in advance

K. Tsang

Joined: Sep 13, 2007
Posts: 1953

When you say "it doesn't give the answer" when using image, the data can't pass to the registration script or can't see the image?

K. Tsang JavaRanch SCJP5 SCJD/OCM-JD
I agree. Here's the link:
subject: PHP in General
Similar Threads
php basic
JSP displays source
Make a program with jsp
how to send sms in jsp web application
Problem Resetting Fields