Re: [PHP] Nested SQL Statements

2005-01-19 Thread Richard Lynch
Greg Cullen wrote: > Relatively new to PHP. Having an issue trying to nest sql statements. > Basically I am trying to pull a variable from SQL1, Pass it as a > Variable/Bind or Parm to SQL2 and then Go back to SQL1 and pull the next > value and pass to SQL2 again for processing. > > It seems like

RE: [PHP] Nested SQL Statements

2005-01-19 Thread Jay Blanchard
[snip] Relatively new to PHP. Having an issue trying to nest sql statements. Basically I am trying to pull a variable from SQL1, Pass it as a Variable/Bind or Parm to SQL2 and then Go back to SQL1 and pull the next value and pass to SQL2 again for processing. $result1 = mysql_query('show table

[PHP] Nested SQL Statements

2005-01-18 Thread Greg Cullen
Relatively new to PHP. Having an issue trying to nest sql statements. Basically I am trying to pull a variable from SQL1, Pass it as a Variable/Bind or Parm to SQL2 and then Go back to SQL1 and pull the next value and pass to SQL2 again for processing. It seems like the SQL2 is getting stuck o