but when i do that, it displays nothing actually in the html page, but if i view source it has the full php code eching the variable that i want it to, inside the php tags??
yes the variable is dl_count, and the value of that variable is dl_count_show, which is correct, but its blank on the actual screen, and as above, if i view source it has the php tags displayed?
I managed to get it to print the value of variable dl_count, and the value is $dl_count_show, but i want $dl_count_show to display the count of an sql query that has been run and is sat in the variable.
but when it is diplayed dynamically it is not reading it as php, but as just normal text?