Soldato
- Joined
- 24 Nov 2002
- Posts
- 16,378
- Location
- 38.744281°N 104.846806°W
stupid me.
Please ignore.
Please ignore.
Dj_Jestar said:ok.. *clicks ignore user*
e.g. htmlit():
$i=0;
while ($i < $num){
$field1=mysql_result($result,$i,"field1");
etc...
// output as html
shine said:If you move your sql into a function you will need to connect to the db inside the function.
Not true, but you do have to ensure the function 'knows' which MySQL connection you're referring to.shine said:If you move your sql into a function you will need to connect to the db inside the function.