D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] PHP and recordsets

 

On Sun, 2008-09-14 at 15:41 +0100, Tom Potts wrote:
> I'm trying to do some dynamic database stuff - ie I will have unknown data in 
> multiple recordsets. Does anyone know how to do the following in php:
> Get the next recordset in a result set.
> Get field data - name,type etc from a recordset

http://www.codehelp.co.uk/php/mysql3.php

then a foreach $key => $value

see http://uk3.php.net/foreach so that you get the unknown key as well
as the value.



-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


Attachment: signature.asc
Description: This is a digitally signed message part

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html