Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help for a simple code

Status
Not open for further replies.

derketa

Programmer
May 13, 2002
43
0
0
TR
Hi there,

i have a php+mysql dbase and i have been using it for a year.

I added a new page but i can not make this simple code work:

$result=@mysql_query("SELECT all FROM workers ");
while ($row=mysql_fetch_array($result)){
.....
}
just a simple output for screen but i can not find the problem.

Can you look at it please...
 
It is easier to troubleshoot errors by isolating your queries outside of your PHP scripting. Consider using a MySQL client to make direct queries outside of PHP. MySQL-Front is good for Windows: Cocoa MySQL is good for Mac. Both are free.

- - picklefish - -
Why is everyone in this forum responding to me as picklefish?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top