[PHP-DB] search query problem

2003-07-26 Thread Ahmed Abdelaliem
hi i am making a simple search form how can i search more than one table for the same word i used a query and it failed here it is @ $db = mysql_connect(localhost); mysql_select_db(egycds); $test_tr = mysql_query(select newdvd.date, newpcgames.date, olddvd.date, screener.date, newdvd.type,

[PHP-DB] problem with starting a session

2003-07-15 Thread Ahmed Abdelaliem
hi, i have a problem with starting a session in the page that validates the user input and sends it tothe database, when the user clicks register he gets this error Warning: session_start(): Cannot send session cookie - headers already sent by (output started at

[PHP-DB] problem with insert query

2003-06-07 Thread Ahmed Abdelaliem
hi i am wrote a script to read e-malis from a file and insert it into the tables of database i get error when i write it here is the code can anyone tell me what is wrong? ? $mails=file(mails.txt); $number_of_mails = count($mails); for ($i=0; $i$number_of_mails; $i++){ @ $db =

[PHP-DB] problem with undefined variable

2003-06-04 Thread Ahmed Abdelaliem
hi again, i use php/mysql with ISS server on windows xp professional i have a script that works well on the web to view only 50 records per page, but when i use it on my local server i get this error in the page and it views the same 1st 50 records the message in the page is Notice: Undefined

[PHP-DB] Problem with php/mysql and ISS on windows XP profeesional

2003-06-03 Thread Ahmed Abdelaliem
hi i use php and mysql on IIS server on windows xp professional when i select anything from the database i get this : Notice: Use of undefined constant name - assumed 'name' in d:\inetpub\wwwroot\EGYCDS\index.php on line 158 Spy Hunter while evrything is going fine when i upload it on the web

Re: [PHP-DB] Problem with php/mysql and ISS on windows XP profeesional

2003-06-03 Thread Ahmed Abdelaliem
; echo stripslashes($record1[name]); echo /strong/td /tr ; } ? From: Cal Evans [EMAIL PROTECTED] To: Ahmed Abdelaliem [EMAIL PROTECTED