Now i want to put some php scripts like counters, downloads script , etc.
Im a n00b @ php , all i know how to do is installing php/sql scripts, like blogs , gallery scripts , etc.
What i want to know is , how can i inset php code in .html pages? I was loking for some tuts here @ P2L , all i was able to learn is how to connect my website to a mysql database, but the code itself it apeas on the website as plain text
I was reading a bit and a php code is inserted like this :
<HTML> <HEAD> <TITLE>example</TITLE> </HEAD> <BODY> <?PHP insert your PHP code here ?> </BODY> </HTML>
all the code , all the sql conecting is to be inserted in that spot between <?PHP and ?> , as i presume, right? so it wasnt supost to appear as simple text...?
What's step should i be doing to make sure everithing is ok?
Sory for my bad english
Edited by Prim3r, 18 July 2005 - 10:27 AM.
