You are here: Re: [PHP] set variable to go outside scope « PHP « IT news, forums, messages
Re: [PHP] set variable to go outside scope

Posted by Mike Tuller on 10/22/38 11:36

The list listing is in an if/elseif statement where if something is
set, display the table that has the data, and elseif you click on the
delete button, you would delete the data in the row of the table that
is is the if statement. One part of the data is in the if scope, and
the other is in the elseif scope.

I hope that makes sense.


On Jan 5, 2006, at 1:28 PM, Jay Blanchard wrote:

> [snip]
> They key I am using to find the record I want to delete is the the
> $row[id], but that is out of the scope of where the variable is set.
> Is there a way to set a variable so that it goes outside the scope?
> [/snip]
>
> What do you mean by "out of the scope of where the variable is
> set"? If the
> $row[id] is data in the database (which it should be) it is not a
> scope
> issue at all.
>

 

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

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