Jump to content
  • 0

[request] php expert


Question

Posted

i need little help with my query... i need to select npcs with limit of levels 1-10.. (and no i dont wana use (WHERE level='1' AND level='2' AND level='3' ....etc))

 

$result = mysql_query("SELECT * FROM npc WHERE type='L2Monster' ORDER BY level LIMIT ((level='1'),(level='10'))");

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...