[PHP-DB] Joining two talbes

2003-03-23 Thread Jeremi Bergman
Can someone help me understand joining tables, and how I can do this:
SELECT clients.business_name, details.quoted_price, details.finish_date
FROM clients, details WHERE clients.client_id = details.client_id = .
$HTTP_GET_VARS['id'];

Can I do that?

thx




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] redirect

2003-03-01 Thread Jeremi Bergman
How can I redirect a user to a specific page if they are already
authenticated?

if ($SESSION_Authenticated) { //code here to redirect; }

thanks



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DB] redirect

2003-03-01 Thread Jeremi Bergman
Nevermind, I found the answer, and why it wasn't working.  Now I was
wondering how I can format a number to be a currency?  Like if
$totalprice = 14.343 have it print 14.34.

thanks

-Original Message-
From: Jeremi Bergman [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 01, 2003 2:13 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] redirect

How can I redirect a user to a specific page if they are already
authenticated?

if ($SESSION_Authenticated) { //code here to redirect; }

thanks



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php