PDA

View Full Version : How could I print a table from an array in VB


PlymWS
04-14-2008, 04:01 PM
I am trying to achieve the following :

I want perform

$db->query_read("SELECT value1, value2, value3 FROM table ORDER BY value1 ASC");

and then output the results on a VB formatted page in a table. The code works fine in a php script but I can't figure out how to create the table and then get the data from the array to display in the table.

I have created a template with the html for the table structure but I can't get the data from the DB to display in the table.

How could I pass the data from the php script to VB to display ?

EDIT : Nevermind. I figured it out.