help displaying results from a mysql query with php

2002-10-29 Thread Andrea Forghieri
Instead of echo htmlspecialchars( stripslashes($row[$i])); use echo htmlspecialchars( stripslashes($row[0])); In fact , if you increase $i you increase the column thus , in the first cycle you see col 0 , in the second col 1 for more information visit

help displaying results from a mysql query with php

2002-10-23 Thread Hammons Randy G SSgt 612 ACOMS/SCXX
Can someone please tell me what's wrong with the following code? This info is inside a function that I defined. One of the arguments that I pass the function is the actual query. Based on the info that I know is loaded in the database (it's a development database...there are only 2 rows of