Search found 2 matches

by tinybit
Sun Feb 17, 2008 11:41 pm
Forum: Databases
Topic: how-to replace hard coded array with data from mysql?
Replies: 3
Views: 334

Re: how-to replace hard coded array with data from mysql?

Thanks a lot everyone - problem solved. Arborint's solution example worked right away. :D
by tinybit
Sun Feb 17, 2008 7:38 pm
Forum: Databases
Topic: how-to replace hard coded array with data from mysql?
Replies: 3
Views: 334

how-to replace hard coded array with data from mysql?

Hi everyone, I have a problem that I can't sort out. I'm trying to replace a hard coded piece of code with dynamic data. I have; $data=array( "PETER" => "Peter is nice", "JANE" => "Jane is nice too" ); I want to change this piece of the script so I can store t...