cotonti.com : PHP array in MySQL query?? https://www.cotonti.com Neueste Themenbeiträge Cotonti en Sun, 13 Sep 2026 18:13:45 -0000 GHengeveld Sa, 31 Okt 2009 01:26:32 -0000 Sean
EDIT:
I think ive found out what is causing the 905 error. After the second SQL query theres a line
sed_die(mysql_num_rows($sql_pff)==0);
which is causing it to die. should have seen this earlier. So this means that the SQL queries are failing and not finding anything....

Added 16 minutes later:

Ahh stupid me. I figured it out. The sed_import for $f was wrong, 2|3|5 is not a int. I set it to txt and now it works :)]]>
Fr, 30 Okt 2009 03:17:45 -0000
Kilandor

http://us.php.net/manual/en/function.serialize.php]]>
Fr, 30 Okt 2009 02:47:56 -0000
Sean

I should probably explain what im trying to do first. Im trying to modify the Seditio gallery plugin to display multiple galleries on the same page. So for example, /plug.php?e=gallery&f=2|4|1 will display pictures from gallery 2, 4 and 1. So what ive done is imported $f, exploded it, then looped through each gallery.

Heres the code:


Does it have something to do with sed_import do you think?
Thanks a lot for your help!]]>
Fr, 30 Okt 2009 01:28:36 -0000
GHengeveld Do, 29 Okt 2009 15:18:52 -0000 Sean Do, 29 Okt 2009 03:41:40 -0000