1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
|
" codeBody "
php
Het Gegevensbestand Config van // Mysql
$db_host = „localhost“;
$db_db = „Citaten“;
$db_user = „wortel“;
$db_pass = „wortel“;
De Verbinding van // Mysql
$db_link = mysql_connect ($db_host, $db_user, $db_pass)
of matrijs („de Fout van de Verbinding MySQL: “ .mysql_error ());
mysql_select_db ($db_db)
of matrijs („Fout MySQL: Kan lijst“ selecteren niet);
$sql = „SELECTEER * UIT FrontQuote WAAR FrontID = RONDE (“ .lcg_value (). „* (UITGEZOCHTE TELLING (*) VAN FrontQuote)) GRENS 1“;
$result = mysql_query ($sql) of matrijs (mysql_error ());
$row = mysql_fetch_assoc ($result);
$FrontQuote=mysql_result ($result, $i, „FrontQuote“);
$FrontAuthor=mysql_result ($result, $i, „FrontAuthor“);
? >
|