On Thu, 2004-12-09 at 15:39 -0500, Roger Spears wrote:
> Danny Brow wrote:
> > On Thu, 2004-12-09 at 13:41 -0500, John Nichel wrote:
> > 
> >>Danny Brow wrote:
> >>
> >>>Below is a snip of a program I am writing, I am a little new to php.
> >>>Any how, I can't for the life me figure out why one of my functions
> >>>cannot grab the item_pics1 variable. I have tried passing the variable
> >>>to the function, tried using $GLOBALS['item_pic1']. So I guess my
> >>>question is, does PHP in some cases need to have a variable in a if
> >>>statement sent back to the global scope? everything works but the
> >>>str_replace item_pics1. Hope this is enough code.
> 
> 
> This may seem a little simple, but it's happened to me.  Are you sure 
> the variable has a value?

Yes, I can do a print $item_pics before and after the function.

dan.

PS. Roger, sorry for sending this to you twice, you sent your reply to directly 
and not to the list.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to