try this
printf(" ", urlencode($myrow[title])')
john
"Thomas Edison Jr." wrote:
> The urlencode() is working fine with an echo statement
> & normal query string.
>
> But it's NOT working with complex query string in
> printf() including $myrow[something] being picked up
> by mySQL db.
>
> this
Where is the string 'value+value2' coming from? $myrow[title]? If it is
coming from the db (I'm guessing - it seems a little strange to me that this
would be your title, but in this code we're discussing there is no other
possible source), and it has slashes in it, you may need to use stripslashe
Try printf("")
J
on 3/4/01 11:55 AM, Thomas Edison Jr. at [EMAIL PROTECTED] wrote:
>
> The urlencode() is working fine with an echo statement
> & normal query string.
>
> But it's NOT working with complex query string in
> printf() including $myrow[something] being picked up
> by mySQL db.
3 matches
Mail list logo