Populating table rows

From: Date: Tue, 16 Jan 2001 09:47:31 +0000
Subject: Populating table rows
Groups: php.general 
Request: Send a blank email to php-general+get-34785@lists.php.net to get a copy of this message
Hi Ive selected some details from a database and now want to loop through the result and populate a row in a table each time. $sqlCurrentTraces = sqlExecute( "Select * from Sky where No = '$Name'" ); $result = sqlFetchObject( $sqlCurrentTraces ); $SkyDateAss = $result ->DATEASSIGNED; $SkyDateResult = $result ->DATEAOFRESULT; $SkyAccNo = $result ->ACCNO; I want to do the stuff below: <tr><td> <? echo $SkyAccNo ?></td><td> <? echo $SkyDateAss ?></td><td> <? echo $SkyDateResult ?></td><td><input type="submit" name="UpdateDiary" value ="Update Diary"></td></tr> The sql qorks and the table is populated once. Help someone? Thanks Wade WHalsey@rph.co.za

« previous php.general (#34785) next »