Im kinda new to both WordPress and PHP, so this is kinda uphill right now. I managed to do a if-elseif-else that works perfectly, but now im stuck with some more advanced stuff.
What I would like is a function to do at check and make the outcome a valid url starting with http://www. regardless how it starts
How do I do that?
- The topic ‘If/else is killing me, something smarter?’ is closed to new replies.