Uhg, I'm going to have to explain my whole problem. I need a function that will replace all spaces in a string with " AND " unless there is an odd number of quotation marks before the specific space and also after it. This might take some serious coding and I'm kind of new to PHP so...
I use an if statement to check if a variable has been defined, but the stinkin' thing blurts out an error on my page. My if looks like this:
if (!$submit)
And on my page it blurts out this:
Warning: Undefined variable submit in http://dabsoft/webdir/index.php on line 32.
What do I do to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.