PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I’m trying to make a small program for a text based game. When you enter in a persons ID it will scan the page for his/her "commander" and then it should open that commanders link and do the same intill there is no commander.
My problem occurs when you enter a ID with a commander the program will get the commanders id but it wont put it back into the preg_match(). How would I go about doing this? My problem is resetting the variable $id.
Once I this working I will develop it better.
Thanks A lot.
-anthony
Last edited by anthony88guy on Sun Nov 20, 2005 9:31 pm, edited 1 time in total.