Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

PHP in General  RSS feed

 
bala kan
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

index.php



registration_script.php




success_register.php





please clarify me.. Thanks in advance

Regards,
Bala
 
K. Tsang
Bartender
Posts: 3630
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!