06-11-2005, 22:09
|
|
|
חבר מתאריך: 25.08.03
הודעות: 9,114
|
|
בוא נתחיל קודם בזה:
קוד:
/home/oyt/public_html/ener/server.php: line 1: ?: No such file or directory
/home/oyt/public_html/ener/server.php: line 2: syntax error near unexpected token `('
/home/oyt/public_html/ener/server.php: line 2: ` $DB = mysql_connect('localhost', 'username', 'password')'
קוד PHP:
$DB = mysql_connect("localhost", "username", "password")
or die(mysql_error());
$CONNECT = mysql_select_db("oyt_site",$DB)
or die(mysql_error());
עכשיו כשקל יותר להבין מי נגד מי, כולם מוזמנים לנסות לעזור, וגם אני כמובן יעיף עכשיו מבט בקוד.
נערך לאחרונה ע"י ישראל K בתאריך 06-11-2005 בשעה 22:21.
|