Re: Are there macros in PHP?

From: Date: Mon, 23 Dec 2002 19:08:49 +0000
Subject: Re: Are there macros in PHP?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-129217@lists.php.net to get a copy of this message
Don wrote:
$condition = CustCode = "$HTTP_SESSION_VARS['logoncustcode']"; <other code> $queryID = mysql_query("SELECT * FROM CustTariff WHERE " . $condition . " ORDER BY CustCode"); Not sure about the multiple assignment (I have not looked it up in the manual), but otherwise the principle is right, yes. Doing things at run-time is what web server-side languages are all about.
HTH Chris

« previous php.general (#129217) next »