Results 1 to 2 of 2
Thread: Search/Replace in PHP. HELP!
Dec 21, 2001, 11:28 #1
- Join Date
- Jan 2001
- Exeter, Devon, UK
- 0 Post(s)
- 0 Thread(s)
Search/Replace in PHP. HELP!
I'm trying to make a script that'll pull the latest Amazon.co.uk Top 10 videogames into a variabl (got that bit done) and then format to remove the extra gubbins.
Basically, I'm trying to get a table with the top ten listed in it.
My problem is, that the extra gubbins (reviews, add to basket etc) take up a good portion of the page. I need to pull the URL and Title of the item from the data that I have.
I could do it if I could work out how to find a string that has TWO bits of unknown information in it.
Each string will have a product code (ASIN) and game title. If it was just the ASIN that I needed, it would be no problem.
The string is formatted like this:-
<a href=http://www.amazon.co.uk/exec/obidos/ASIN/UNKNOWNPRODUCTCODE/ref=br_lf_li_1_2/><font face="verdana, arial, helvetica"><b>UNKNOWN GAME TITLE</b></font><br></a>
Help appreciated!Ken Barnes,
KINECTaku.com - Kinect News, Kinect Reviews and more...
Dec 23, 2001, 00:07 #2How can I pull this string from a variable that is about 29k in size using PHP?