Posted by milahu on 04/03/06 17:34
Some hints:
- You don't need to pass your database connection to mysql_query() (2nd
argument)
- When sending queries to your database *always* check for errors using
sth. like
mysql_query('...') or die(mysql_error());
- Use shorter variable names to avoid typing errors
- Use single quotes ('...') for HTML if you don't like escaping all the
double quotes too much. ;)
[Back to original message]
|