Re: [PHP-WIN] Quoted Dynamic Strings are killing me (Second Attempt)

2002-04-22 Thread DL Neil
Ron, > I have been trying to create strings dynamically by combining text and > variables. Because SQL wants single quotes surrounding the values I > have been forced to create the string as follows (all variables have > been previuosly set earlier on the page): > > $query = "select bio FROM ind

Re: [PHP-WIN] Quoted Dynamic Strings are killing me (Second Attempt)

2002-04-22 Thread Mike Flynn
I'm not sure at first glance what's wrong. But I do know you could do something like this instead: $query = 'SELECT bio FROM individual '; $query .= "WHERE last_name='$selectedLastname' "; $query .= "AND first_name='$selectedFirstname' "; $query .= "AND market='$selectedMarket' "; I split it i

RE: [PHP-WIN] Quoted Dynamic Strings are killing me (Second Attempt)

2002-04-22 Thread Steve Bradwell
: R.S. Herhuth [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 10:39 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Quoted Dynamic Strings are killing me (Second Attempt) I have been trying to create strings dynamically by combining text and variables. Because SQL wants single quotes surroundi

[PHP-WIN] R: [PHP-WIN] Quoted Dynamic Strings are killing me (Second Attempt)

2002-04-22 Thread Alberto. Sartori
dì 22 aprile 2002 16.39 A: [EMAIL PROTECTED] Oggetto: [PHP-WIN] Quoted Dynamic Strings are killing me (Second Attempt) I have been trying to create strings dynamically by combining text and variables. Because SQL wants single quotes surrounding the values I have been forced to create the string as fo

[PHP-WIN] Quoted Dynamic Strings are killing me (Second Attempt)

2002-04-22 Thread R.S. Herhuth
I have been trying to create strings dynamically by combining text and variables. Because SQL wants single quotes surrounding the values I have been forced to create the string as follows (all variables have been previuosly set earlier on the page): $query = "select bio FROM individual WHERE la

[PHP-WIN] Quoted Dynamic Strings are killing me

2002-04-22 Thread R.S. Herhuth
I have been trying to create strings dynamically by combining text and variables. Because SQL wants single quotes surrounding the values I have been forced to create the string as follows: -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php