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 build up a function that will return substring patterns (or a pattern once) and i don't understand why i get the following for output when i load the page:
your input was:
parsing found....
Warning: Invalid argument supplied for foreach() in /usr/users/m3rajk/WWW/JMT/randomTest/patternsplitbuild/longPREGway.php on line 17
after replacing...
Warning: Invalid argument supplied for foreach() in /usr/users/m3rajk/WWW/JMT/randomTest/patternsplitbuild/longPREGway.php on line 24
can someone help me get that so i can input text into the text box and continue building to the function?
i do NOT want to be given the code that works. i wont learn a thing if i'm given that. i want to be given WHY it's going wrong so i know how to fix it. that way i WILL learn and wont have this issue in the future