You are here: Re: populate a dinamic table with two different querys. « PHP Programming Language « IT news, forums, messages
Re: populate a dinamic table with two different querys.

Posted by Rik on 11/16/93 11:47

Chifo wrote:
> hello.
> i have a problem with a populate html table with data from table here
> it's the problem
>
> two querys retrieving data from table, one of querys show me a
> colletion of data from 6:00 am to 15:30 pm timestampz, i put this on a
> part of html table. when time on my if condition es great than 15:31,
> showme data from 15:31 to 23:59 timestamp and populate another part of
> html table.
> but, data in html first part,it's gone away.
> how can i put on html table data from two querys in same table?

By running the first query, fetch the data, display it, run the second
query, fetch the data, and display it? Just don't close the table an open
another in between....

Without code, it's difficult to see what you're doing wrong.
This should be absolutely no problem at all

Keep in mind that you might have to choose different names for variables
you're used to call a certain name, to prevent overwriting them. Also: you
don't really put something into a table, you just return your results
surrounded by echoing some markup, so it's not that much different then just
spitting out raw data.

Grtz,
--
Rik Wasmus

 

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

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