Page 1 of 1

Reading specified lines of html code from a link.

Posted: Wed Mar 01, 2006 7:29 pm
by CRazzym3x
Hello, I am trying to make a character searcher for a game called tibia. I did the redericting so that you put a character's name and it sends you to that characters page. But I would like it so that when i ente rthe character it posts lets say the table that the character is showed in. (Example: lines 270-290 of the html code).. these lines never change.

I was wondering where to start i have basic knowladge of php. Thanks in advanzed.

btw the character page is like

http://www.tibia.com/community/?subtopi ... &name=CHAR NAME HERE

for spaces it uses + so
(example)
http://www.tibia.com/community/?subtopi ... Crazzy+m3x

a real link to a character page would be
http://www.tibia.com/community/?subtopi ... ame=Bubble

Posted: Wed Mar 01, 2006 10:51 pm
by feyd
regex appears to work the best for this.

We've got a board specifically for regex, check it out.

viewforum.php?f=38

Posted: Thu Mar 02, 2006 4:48 pm
by feyd
Cross posting is not cool nor allowed. Do some research on how to work with regex. If you have questions, post them, don't expect us to do all the work for you..