Link to home
Start Free TrialLog in
Avatar of Pedro Chagas
Pedro ChagasFlag for Portugal

asked on

MySql and php - select all rows

Hi E's, I want to know how I select all rows in the table.
Usually I use this with php:
$info_result = mysql_query("SELECT * FROM tablex where id > 0 ", $db); 

Open in new window

That work, but I thing have a more correct way for select all rows in the table.
Can you show me please?

The best regards, JC
SOLUTION
Avatar of theGhost_k8
theGhost_k8
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Pedro Chagas

ASKER

Please, don't post more solutions.
I have to test this ones more later.
~JC