if(ok) { include('zap.htm') } else { include('zip.htm') }
----------------------------------------------- Excellence in internet and open source software ----------------------------------------------- Sunmaia www.sunmaia.net [EMAIL PROTECTED] tel. 0121-242-1473 ----------------------------------------------- > -----Original Message----- > From: Tokunboh Oladejo [mailto:[EMAIL PROTECTED]] > Sent: 21 June 2002 15:56 > To: '[EMAIL PROTECTED]' > Subject: Referring Page in PHP/SQL > > > Hi All, > > Can anyone help me on how to call up an HTML page in PHP after a succesful > entry, example > > <?php > .... > .... > > if(!sql_result){ > call 'try_again.html' > } > else { > call 'yadiyadiya.html' > } > > ?> > > I don't want to have to type the HTML code again in between the php code > because the page I need is already at another URL. If anyone > knows what I am > talking about please help. > > > Toks > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail > <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php