Simple php program adding name, doesn't work

Codes here !

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 13
Joined: Fri Feb 22, 2013 2:20 am

Fri Feb 22, 2013 2:55 am

You say there's no syntax error in the code, but does mysql_error() show anything at all?

php-forum Fan User
php-forum Fan User
Posts: 974
Joined: Mon Oct 01, 2012 12:32 pm

Fri Mar 01, 2013 12:31 pm

ok, step 1, remove your credentials from your post. you don't need to ever give any kind of username or password for example scripts, and if anyone asks for them, report them or ignore them.

2) what kind of output are you getting? are either of the result strings being echo'd?
3) view source on the index1.php page in your browser after submitting. sometimes errors end up inside of html tags and then don't make it to the page where you'd normally expect them.

Post Reply