Problems with my phpsite

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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
XepheX
Forum Newbie
Posts: 13
Joined: Thu Jun 06, 2002 5:30 am

Post 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:
Post Reply