Re: Decide witch table within a union

From: Date: Sun, 29 Oct 2006 23:50:02 +0000
Subject: Re: Decide witch table within a union
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-243852@lists.php.net to get a copy of this message
Børge Holen wrote:
Ok. Would you suggest to use a extra field to hold the table name as default?
Why do you need to know which table it's in? What are you going to use it for in the next step? I see you're passing it in: echo "<a href=\"index.php?table=$table_nr">page</a>"; but what are you going to do with it? I think if you explain what you're trying to achieve as an end result, people might be able to give you better options. Basically php can't give you extra information than the query itself does.. whatever the query does in mysql, is exactly what it will do when run through php. -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#243852) next »