Forums

PHP

This topic is locked

Fairly new to PHP have question on execution order

Posted 19 Jun 2002 05:44:15
1
has voted
19 Jun 2002 05:44:15 chris chris posted:
I am using PHP/Phakt with UD4.
My connections work fine, but I have a question.
I get Recordset1 then I want to put in some PHP hand code and then get Recordset2.

If I put in <?php my hand code here ?> between the two recordset statements. Will the hand code execute before the second recordset is called?

I am trying to calculate some values to be used in the second recordset SQL statement.

Thanks for any advice

Replies

Replied 19 Jun 2002 16:15:58
19 Jun 2002 16:15:58 Aurel Sorin Cirstoiu replied:
Of course. If you have
<?php block code 1 ?>
<?php block code 2 ?>
<?php block code 3 ?>
then they will be executed in natural order: 1,2,3.

-----------------------
Cirstoiu Aurel Sorin
InterAKT Support
www.interakt.ro
-----------------------

Reply to this topic