[snip]
I have the SQL statement which store in $str variable as shown below
:
How to get the '%WS-X5225R%' from $str variable ?
$str = " SELECT DISTINCT(tbl_chassis.serial_no),tbl_card.card_model, ";
"tbl_chassis.host_name,tbl_chassis.chasis_model,tbl_chassis.country,";
"tbl_chassis.city,tb
I'm not sure why/when PHP doesn't like embedded [[]] but it doesn't
sometimes (always?).
You'll need to use a temp variable for $keys[1] and $keys[0] to put into
$HTTP_POST_VARS.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/arti
In article <96s2sj$46a$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
("Mike") wrote:
> I get this error Parse error: parse error, expecting `']'' in
> /on this.
>
> $Q= "Update $HTTP_POST_VARS[$keys[1]] Set $updateString Where $keys[0]
> =$HTTP_POST_VARS[$keys[0]]";
Try:
$Q= "Update $HTTP_
3 matches
Mail list logo