Date: 11/30/99
- Next message: Steven T. Sigourney: "RE: [PHP3] easiest way to search a mysql database?"
- Previous message: Mark Nold: "Re: [PHP3] Array-question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Andrew
Send some code and ill have a look if you like,
but basically make your query return all the data you want and do _one_ odbc_exec then while through the dataset formatting as you go...
mn
Mark Nold
markn <email protected>
Systems Consultant
"Change is inevitable - except from vending machines"
>>> "Andrew Hill" <ahill <email protected>> 12/01 12:13 am >>>
Hey folks,
I'm starting my foray down the path of programming php, instead of just
performing odbc connections with it :)
I have a table with a set of name:value pairs, that I want to pull into an
array and then generate the text file for a Java Applet.
Bascially, the Applet wants to see something like this for every line:
<param name="textcolor" value="000000">
I've poplulated a database with all the values, and I've managed to pull
them into the appropriate places by performing an odbc_exec, but it seems
rather silly to do this for both values over 20 lines.
Is there a better way to create a list of these variables by stepping
through my table and populating a set of variables or an array?
Thanks in advance,
Andrew Hill
Openlink Technical Support
http://www.openlinksw.com
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Steven T. Sigourney: "RE: [PHP3] easiest way to search a mysql database?"
- Previous message: Mark Nold: "Re: [PHP3] Array-question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

