Welcome visitor
* Login
* Register
It is currently January 22nd, 2019, 8:51 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Server Side » PHP



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  search query on mysql
PostPosted: February 18th, 2009, 8:35 pm 
User avatar

Posts: 63
Hello,

I think my question is very related to a previous one, lets suppose that on my table I have something like this:

copy-file1
copy-file2
original-file1
original-file2

so, how would I do to retrieve all the copy files or only the originals?

Thanks in advanced for any help.
--it worked, thanks!


Last edited by luigi-82 on February 18th, 2009, 8:51 pm, edited 2 times in total.

Top
 Profile  
 
  Re: search query on mysql
PostPosted: February 18th, 2009, 8:38 pm 
User avatar

Posts: 63
use this
$row= mysql_query("SELECT * FROM urtable WHERE name LIKE '%copy%' ORDER BY name DESC ");


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Server Side » PHP


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron