Hello,
I have a little problem (again).
On my site i have a FAQ section. I store the questions in a mysql db, the table contains an id, question, answer_url field.
Now on my mainpage (index.php3) I include a page faq_overview.php3, that page contains the code that prints all questions on the screen. When you click a questions it the page faq_answer.php3 gets included in index.php3 (instead of faq_overview.php3)
In faq_answer.php3 i do a SELECT * FROM faq WHERE id=$fid (and $fid is the id of the question of course).
Then i do a fetch_array (only once, because there is only 1 unique record with that id)
and i do an include $db_record[faq_url] and in the beginning that worked great, but now i noticed it includes this file twice 🙁
I tested it on my own machine running php4 and on my webhost (php3) and it both returns 2x the question...
anybody has an idea what might be wrong ?
Nick