
February 4th, 2005, 05:46 PM
|
|
Senior Member
|
|
Join Date: May 2004
Location: Glendale, CA
Posts: 285
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
database varriables
i have a bit of code to pululate a page from a database
PHP Code:
$querystring1='SELECT CCID, courseImage2, title, subTitle, description1, price, FROM cmscourses WHERE CCID='.$CCID;
CCid is a get variable and corresponds to a primary key (ie no two entries have the same CCID) but what i want to do is asign to a variable
a field called "status" which is either 1 or 0 and i basicly just want to save the status related to this CCID in a stand alone variable
any thoughts....
|