Hoi,
Ik probeer dit:
En als ik dat uittest krijg ik niks, en als ik de mysql_num_rows doe op $testerQuery krijg ik 1 terug, dus er is wel iets in die table.
Kan iemand me helpen?
Ik probeer dit:
[COLOR= #0000BB]<?php
$testerQuery[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM pages WHERE author = "[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
[URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$testerFetch[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$testerQuery[/COLOR][COLOR= #007700])){[/COLOR]
[COLOR= #0000BB]$testerFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]author[/COLOR][COLOR= #007700]];
}[/COLOR]
?> En als ik dat uittest krijg ik niks, en als ik de mysql_num_rows doe op $testerQuery krijg ik 1 terug, dus er is wel iets in die table.
Kan iemand me helpen?

Noob fout maar thx