[PHP] Transfer query result to another script

2007-11-01 Thread C.R.Vegelin
Hi All, Q: Is it possible to transfer a query result to another script ? For example with (fragments of) the following 2 scripts: Engine.php $result = mysqli_query($connect, $myquery); if (!$result) error ... if (mysqli_num_rows($result) == 0) error ... $_SESSION['result'] = $res

Re: [PHP] Transfer query result to another script

2007-11-01 Thread David Giragosian
On 11/1/07, C.R.Vegelin <[EMAIL PROTECTED]> wrote: > > Hi All, > > Q: Is it possible to transfer a query result to another script ? > For example with (fragments of) the following 2 scripts: > > Engine.php > > $result = mysqli_query($connect, $myquery); > if (!$result) error ... >

Re: [PHP] Transfer query result to another script

2007-11-01 Thread Jim Lucas
C.R.Vegelin wrote: Hi All, Q: Is it possible to transfer a query result to another script ? For example with (fragments of) the following 2 scripts: Engine.php $result = mysqli_query($connect, $myquery); if (!$result) error ... if (mysqli_num_rows($result) == 0) error ... $_SES

Re: [PHP] Transfer query result to another script

2007-11-02 Thread rohini
Hi, How can you get the result in the reload.php file it is not possible . If you are using the include you can get the object $connect and you easily access the result. But you just send the header in the report.php you are connecting to the mysql. So you try to send the $connect, If there is

Re: [PHP] Transfer query result to another script

2007-11-02 Thread Jochem Maas
C.R.Vegelin wrote: ... > > Hi Jochem, > > The reason for a redirect is that Report.php has functionality such as > sorting on report columns, checkboxes to make graphs etc. > > Suppose the following report columns: > Country 06.Q1 06.Q2 06.Q3 06.Q4 07.Q1 07.Q2 > 1 Austria 1226

Re: [PHP] Transfer query result to another script

2007-11-02 Thread C.R.Vegelin
- Original Message - From: "Jochem Maas" <[EMAIL PROTECTED]> To: "C.R.Vegelin" <[EMAIL PROTECTED]> Cc: "David Giragosian" <[EMAIL PROTECTED]>; "php-general" Sent: Friday, November 02, 2007 10:41 AM Subject: Re: [PHP] Tr

Re: [PHP] Transfer query result to another script

2007-11-02 Thread Jochem Maas
C.R.Vegelin wrote: > - Original Message - From: "Jochem Maas" <[EMAIL PROTECTED]> > To: "C.R.Vegelin" <[EMAIL PROTECTED]> > Cc: "David Giragosian" <[EMAIL PROTECTED]>; "php-general" > > Sent: Friday, November 02, 2

Re: [PHP] Transfer query result to another script

2007-11-02 Thread Jim Lucas
C.R.Vegelin wrote: Hi All, Q: Is it possible to transfer a query result to another script ? For example with (fragments of) the following 2 scripts: Engine.php $result = mysqli_query($connect, $myquery); if (!$result) error ... if (mysqli_num_rows($result) == 0) error ... $_SES

Re: [PHP] Transfer query result to another script

2007-11-02 Thread Jochem Maas
advice. > Regards, Cor > - Original Message ----- > From: David Giragosian > To: C.R.Vegelin ; php-general > Sent: Thursday, November 01, 2007 5:23 PM > Subject: Re: [PHP] Transfer query result to another script > > > On 11/1/07, C.R.Vegelin <[EMAIL

Re: [PHP] Transfer query result to another script

2007-11-01 Thread C.R.Vegelin
"XML": ... case "PDF": ... } Thanks again for your advice. Regards, Cor - Original Message - From: David Giragosian To: C.R.Vegelin ; php-general Sent: Thursday, November 01, 2007 5:23 PM Subject: Re: [PHP] Transfer query result to another script On

Re: [PHP] Transfer query result to another script

2007-11-02 Thread C.R.Vegelin
- Original Message - From: "Jochem Maas" <[EMAIL PROTECTED]> To: "C.R.Vegelin" <[EMAIL PROTECTED]> Cc: "David Giragosian" <[EMAIL PROTECTED]>; "php-general" Sent: Friday, November 02, 2007 9:06 AM Subject: Re: [PHP] Transfer q