Not Solved Database queries.
#17
Not Solved
(2017-05-02, 01:03 AM).m. Wrote: ^ echo should not be used. you have to use code like $housingvar .= ____________ for the table code also.
basically table code should have rows & cells  

if you look again at earlier suggested attachment file then you should be able to get it
(table code is not used in that file - it has some different code ..)
yes I do understand that. I tried with echo. 

while($result = $db->fetch_array($query))
{


$housingvar .= "<td>". $result['username']. "</td>";
$price .= "<td>". $result['Price']. "</td>";


    }

And I called the variables inside a <tr> in the template.


However that didn't help.

Still need help on this. Anyone?

Thread can be closed. Figured it out. Thanks for the help.
Reply


Messages In This Thread
Database queries. - by Freakout14 - 2017-05-01, 10:52 AM
RE: Database queries. - by .m. - 2017-05-01, 11:06 AM
RE: Database queries. - by Freakout14 - 2017-05-01, 11:12 AM
RE: Database queries. - by .m. - 2017-05-01, 11:31 AM
RE: Database queries. - by Freakout14 - 2017-05-01, 11:34 AM
RE: Database queries. - by .m. - 2017-05-01, 11:53 AM
RE: Database queries. - by Freakout14 - 2017-05-01, 12:02 PM
RE: Database queries. - by .m. - 2017-05-01, 12:41 PM
RE: Database queries. - by Freakout14 - 2017-05-01, 03:41 PM
RE: Database queries. - by broatcast - 2017-05-01, 04:13 PM
RE: Database queries. - by Freakout14 - 2017-05-01, 04:14 PM
RE: Database queries. - by broatcast - 2017-05-01, 06:08 PM
RE: Database queries. - by Freakout14 - 2017-05-01, 09:54 PM
RE: Database queries. - by .m. - 2017-05-02, 12:15 AM
RE: Database queries. - by Freakout14 - 2017-05-02, 12:27 AM
RE: Database queries. - by .m. - 2017-05-02, 01:03 AM
RE: Database queries. - by Freakout14 - 2017-05-02, 01:08 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)