note 18481 deleted from control-structures.alternative-syntax by tomsommer

From: Date: Thu, 05 Aug 2004 18:21:39 +0000
Subject: note 18481 deleted from control-structures.alternative-syntax by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-74065@lists.php.net to get a copy of this message
Note Submitter: frank@vista.com ---- The alternative syntax is useful for situations where other systems would use templates: OCIDefineByName($stmt, 'NAME', &$name); OCIDefineByName($stmt, 'SALARY', &$salary); OCIExecute($stmt); ?> <!-- later, maybe in an included file --> <table> <tr> <th>Name</th> <th>Salary</th> </tr> <? while(OCIFetch($stmt)): ?> <tr> <td><? echo $name ?></td> <td><? echo $salary ?></td> </tr> <? endwhile; ?> </table>

« previous php.notes (#74065) next »