I want to write this sql query:
when i wanted to use php parameter for this query, i got syntax error.
My code:
[PHP]...
$count = 0;
...
mysql_query("Se lect * from table1 limit".$count." ,5");[/PHP]
So how can i fix the syntax problem for using the parameter in sql?
Code:
Select * from table1 limit 0,5
My code:
[PHP]...
$count = 0;
...
mysql_query("Se lect * from table1 limit".$count." ,5");[/PHP]
So how can i fix the syntax problem for using the parameter in sql?
Comment