Hallo,
ik ben bezig met een sms site maar ik kom uit 1ding niet
als je niet bent ingelogd moet er hallo gast staan en als je bent ingelogd moet er je saldo staan voor die saldo heb ik wel een phpscripje gemaakt
dus wie kan me helpen dat zo te maken wat is hier boven heb vermeld?
ik ben bezig met een sms site maar ik kom uit 1ding niet

als je niet bent ingelogd moet er hallo gast staan en als je bent ingelogd moet er je saldo staan voor die saldo heb ik wel een phpscripje gemaakt
Je Saldo is [COLOR= #0000BB]<?
$query[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"SELECT * FROM users WHERE id = "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$memberid[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$result[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/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]$object[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700])){[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$object[/COLOR][COLOR= #007700]->[/COLOR]saldo[COLOR= #007700];
}[/COLOR]
?> dus wie kan me helpen dat zo te maken wat is hier boven heb vermeld?
