RE: Referring Page in PHP/SQL

2002-06-22 Thread Peter Lovatt
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

RE: Referring Page in PHP/SQL

2002-06-21 Thread Steve
This question is more appropriate for the PHP list. Here is an example: // if row exists - login/pass is correct if (mysql_num_rows($result) == 1) { // initiate a session session_start(); // register the user's ID and permission level