You are here: How do you specify a field in a table join that has the same name as another field? « PHP Programming Language « IT news, forums, messages
How do you specify a field in a table join that has the same name as another field?

Posted by gentleJuggernaut on 08/07/07 14:08

I have joined two tables in a SQL statement and retrieved the
recordset using mysql_fetch_assoc. Now how do I refer to a field
called time_stamp from table A when there is a field called
time_stamp in table B. I have tried things like
$row['A.time_stamp']; but it does not seem to work. Can anyone direct
me to the appropriate documentation?

Thanks,

NSM

 

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

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