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
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Sun Jun 09, 2002 11:48 pm
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 » Mon Jun 10, 2002 8:36 am
thaks volka! Now is the errormsg gone.
But i still cant register.
I´ll think im gonna throw out my computer thru the window