[PHP-DB] Re: multiple queries in PHP to mysql database.

2003-03-27 Thread Foong
sorry i am abit slow it would be helpful if you can describe what's store and purpose of the 2 tables Foong "Jerry" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi, > > I just noticed a problem with my question which would > cause major problems in my db. So let me re-ask it

[PHP-DB] re: multiple queries in PHP ????

2003-03-26 Thread JeRRy
ignore this, I no longer require assistance on the message below. l > ATTACHMENT part 6 message/rfc822 > Date: Wed, 26 Mar 2003 19:41:32 +1100 (EST) > From: JeRRy <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: re: multiple queries in PHP > > Hi, > > This is what I have so far. > >

[PHP-DB] re: multiple queries in PHP ????

2003-03-26 Thread JeRRy
ignore this, I no longer require assistance on the message below. > ATTACHMENT part 6 message/rfc822 > Date: Wed, 26 Mar 2003 19:41:32 +1100 (EST) > From: JeRRy <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: re: multiple queries in PHP > > Hi, > > This is what I have so far. > >

[PHP-DB] re: multiple queries in PHP ????

2003-03-26 Thread JeRRy
ignore this, I no longer require assistance on the message below. > ATTACHMENT part 6 message/rfc822 > Date: Wed, 26 Mar 2003 19:41:32 +1100 (EST) > From: JeRRy <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: re: multiple queries in PHP > > Hi, > > This is what I have so far. > >

[PHP-DB] re: multiple queries in PHP ????

2003-03-26 Thread JeRRy
Hi, I just noticed a problem with my question which would cause major problems in my db. So let me re-ask it again. How can I update 2 tables at once if a match occours from information inputed into a PHP form. Now this is what each table has. table1: id username game1 game2 game3 game4 game5

[PHP-DB] re: multiple queries in PHP ????

2003-03-26 Thread JeRRy
Hi, This is what I have so far. "); } else {echo("An error occoured, please click back button and try again.");} ?> Now is this right? "); } else {echo("An error occoured, please click back button and try again.");} ?> http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compo

[PHP-DB] Re: multiple queries

2002-05-29 Thread Srinivasan Ramakrishnan
Hi, I'm not sure if I understood you correctly, but from what I understand, once I select a project category like "Pre-Approved", I need to be able to iterate through all the records that match that condition. So why not just have a single variable $result for all conditions. Since only one

[PHP-DB] Re: multiple queries

2002-05-29 Thread Dan Koken
What's wrong with this or something similar: $sql= mysql_query(" SELECT * FROM project WHERE project_name = '$pro_name' AND ( final_approved = 'yes' AND '$project' = 'Management Approve' ORfirst_approved = 'yes' AND '$project' = 'Pre-Approved' ORect... "; $result

[PHP-DB] Re: multiple queries in one php statement....

2001-07-19 Thread Hugh Bothwell
"Koutsogiannopoulos Karolos" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello everyone... > > Could someone give me a tip ang tell me if i can insert more than one > queries in a mysql_query() statement?? > > etc $quer=mysql_query(" BEGIN WORK , QUERY 1 ,