You are here: Re: Clearing Variable and Functions « All PHP « IT news, forums, messages
Re: Clearing Variable and Functions

Posted by Rich on 05/26/06 20:21

On Thu, 25 May 2006 18:46:11 -0400, MW wrote...
>
>
>Is there a way to clear all variables and functions that have been
>called by a script?
>
>My problem is that on a script I am using, I call a function, and I
>want to call it again with a fresh start, because essentially I am
>getting duplicate results from the first call....
>
>Thanks!
>
>-MR

Hi MR,

If you're calling a function twice then it will likely repeat the same action.
You can usually pass variables into a function as arguments, and can create new
variables if you need to maintain the value of another. If you try to unset
variables it will probably make it very difficult to debug or keep track of.

Rich

--
Unlimited Newsgroup Downloads / $19.95 month
More Details - http://newsguy.com/overview.htm

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация