Re: Decide witch table within a union

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux