|
1) We would need more background detail of the script you are modifying (hacking) looks like a registration script and the second code is a form handler.
2) Debugging scripts means you need to design in error messages
3) Looks like you are trying to run before you can walk
4) Comment notes in code helps everyone
The only thing I can point you towards are basic tutorials PHP and Mysql
|