try this
printf(" <a href=\"pro_page1.php3?title='%s\"> ", 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 works :
>
> <a href="add_pro_over.php3?title=<? echo
> urlencode($title) ?>">
>
> this doesn't work :
>
> printf("<a
> href=\"pro_page1.php3?title='urlencode($myrow[title])'\">")
>
> OR such combinations as given in the manual. I tried
> out almost all!!!
>
> HELP!!!!
>
> T. Edison jr.
>
> =====
> Rahul S. Johari (Director)
> ******************************************
> Abraxas Technologies Inc.
> Homepage : http://www.abraxastech.com
> Email : [EMAIL PROTECTED]
> Tel : 91-4546512/4522124
> *******************************************
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to