Jump to content

[SOLVED] LIMIT SQL QUERY How would I do this?


Dethman

Recommended Posts

 

 

Ok I need to make this work I get the error:

 

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ASC LIMIT 4' at line 1

 

this is the Query I am using:

 

$QUERY = "SELECT * FROM `Gallery` ASC LIMIT 4";

 

 

Any help would be awesome!

 

Thank You,

Brian Flores CEO,

NimbusGames,llc

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.