RE: [PHP] string problem

2006-07-10 Thread Jay Blanchard
[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

[PHP] string problem

2006-07-10 Thread weetat
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, "; "tbl_chassis.host_

Re: [PHP] String problem

2001-02-19 Thread Richard Lynch
CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: "Mike" <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Monday, February 19, 2001 3:23 PM Subject: [PHP] String problem > I get this error Parse

Re: [PHP] String problem

2001-02-19 Thread CC Zona
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_

[PHP] String problem

2001-02-19 Thread Mike
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 unsubscri