Re: from mysql in associative array [message #183973 is a reply to message #183972] |
Fri, 29 November 2013 22:36 |
Thomas 'PointedEars'
Messages: 701 Registered: October 2010
Karma:
|
Senior Member |
|
|
Ben Bacarisse wrote:
> Thomas 'PointedEars' Lahn <PointedEars(at)web(dot)de> writes:
>> Tony Mountifield wrote:
>>> I wrote:
> <snip>
>>>> $sh = mysql_query("SELECT id,value FROM mytable", $db);
>>
>> Unwise, see below.
>>
>>>> if ($sh) {
>>
>> Insufficient, RTFM.
>
> Can you say why?
Yes.
PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7(at)news(dot)demon(dot)co(dot)uk>
|
|
|