cotonti.com : PHP array in MySQL query?? https://www.cotonti.com Последние сообщения в теме Cotonti en Sun, 26 Apr 2026 02:26:06 -0000 GHengeveld сб, 31 окт 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 :)]]>
пт, 30 окт 2009 03:17:45 -0000
Kilandor

http://us.php.net/manual/en/function.serialize.php]]>
пт, 30 окт 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!]]>
пт, 30 окт 2009 01:28:36 -0000
GHengeveld чт, 29 окт 2009 15:18:52 -0000 Sean чт, 29 окт 2009 03:41:40 -0000