Oi,

I cannot get my head around that.
I got a QS that worked fine, then I edited the PHP-script, not the part 
which is now causing errors, and it does not work anymore. That is strange, 
if there was a mistake in my query qhy should it work on my PC but not on 
the web? Well maybe different versions of mysql and PHP but then it should 
not work with the phpMyAdmin neither. This toll is using exactly the same 
programs as php does, in fact phpmyAdmin uses php for its communication to 
mysql.

$sql = "SELECT DISTINCT region_2,stadt_2 FROM inserate ORDER BY 
region_2,stadt_2 ASC";
$select_ = mysql_query($sql,$db->CONN);
^^^^^^^^^^
^Cannot be the mistake, cause some lines before it works perfectly well.

while($temp_array = mysql_fetch_object($select_,MYSQL_ASSOC))
^^^^^^^^^
This is causing the following

Warning:  Supplied argument is not a valid MySQL result resource in...

Any suggestions?

Regards,

Sven


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to