Thanks for that and ive got it working almost 100%, there is just one small issue im having.
The code in the above hyper is shows as $postthreadid = '4473'; but I want to replace 4473 with a figure from a DB field named threadnum, the query is named $ticketreply, so I have the code $postthreadid = $ticketreply['threadnum'];
This doesnt seem to work, if I enter a value it works, if I dont it wont work.
Any ideas? Thanks, Paul.
--------------- Added [DATE]1209320385[/DATE] at [TIME]1209320385[/TIME] ---------------
Why is it you spend all day trying to get it to work, and then you post for help then 5 minutes later you get it working?
I was trying to use the sql query without fetching the array.
Thanks, Paul.
|