Hi all ,
I am using PHP 4.3.2 , MYSQL database and Red Hat Entreprise OS.
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, ;
[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,;
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]]";
all my brackets are closed
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
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
4 matches
Mail list logo