Status
Not open for further replies.
9 comments
What he said, except you should use processURL() on the title to put it in a URL.

e.g. <a href="somewhere.php?q=<?=$core->processURL($dl['title'])?>"><?=$dl['title']?></a>
 
^ hey JmZ, I have asked this on the warezcoders forum, but no reply from anyone..
http://warezcoders.com/forum/*******************3941#p3941

How can I replace all numbers, periods and brackets?
So when you search for mirrors, it will result in more mirrors found.

i.e. this: Nero Premium 9.00.283 (2009)
will be turned into this: Nero Premium

I tried using str_replace but I did something wrong and failed hard since I dunno php.


@gill: add this to a new column in your ddl table
<a href="/index.php?q=<?=$dl['title']?>">Search for Mirrors</a>
 
plz help me here

when there is download in database it is working
<a href="somewhere.php?q=<?=$core->processURL($dl['title'])?>"><?=$dl['title']?></a>

How to use when query searched didn't find something
plz help
 
Have a look at the form on the page , look for
Code:
input type="text" name="q"

That q will then be the variable representing the word you are searching for. Depending on the post method you either have to $_GET['q'] or $_POST['q'] , don't forget to 'clean' it afterwards though.
 
Status
Not open for further replies.
Back
Top