mh i have a problem with the view system from php.
i created a config.php for the connection to ,ysql and that work allright but the read out echo/print not work here my code
i get no error message or else but my webside is only a clear white page i get not shown what i have in the tbl_user @ id 1 .......one of my fields is username in that case i used "select `username` from tbl_user":
but i have ever a white crap site..
so after i have the value from the sqlreadout in a var how i can show that var on the side ? like echo $result;
i hope you understand what i mean
i created a config.php for the connection to ,ysql and that work allright but the read out echo/print not work here my code
Code:
<?php include_once('./config.php');
$abfrage = "SELECT * FROM tbl_user WHERE id = '1'";
$ergebnis = mysql_query($abfrage);?>
<h2 align="center"><?php echo $ergebnis ?></h2>
i get no error message or else but my webside is only a clear white page i get not shown what i have in the tbl_user @ id 1 .......one of my fields is username in that case i used "select `username` from tbl_user":
but i have ever a white crap site..
so after i have the value from the sqlreadout in a var how i can show that var on the side ? like echo $result;
i hope you understand what i mean