Page 2 of 2

Posted: Sun Jun 09, 2002 11:48 pm
by volka
problem #2:
You have neiter mysql_connect no mysql_select_db in your code.
try

Code: Select all

$result=mysql_query("SELECT id, tidstampel FROM personer WHERE un='$un' AND pw='$pw'") or die(mysql_error());
to see the error.
'Cannot add header information.....', check for any whitspace before <?php and take a look here

Posted: Mon Jun 10, 2002 8:36 am
by XepheX
thaks volka! Now is the errormsg gone.
But i still cant register.
I´ll think im gonna throw out my computer thru the window :evil: