Searching for explode function
Search
Search Code
using php parse_url function to remove the query string from a url
I recently had to remove the query string from a url, the bit after the ?key=1 or whatever is after the actual url. I initially thought i could just use a explode function on the ? which would ..
split a string into links using the comma
this is a common function for some field data, lets say you have a string like this. category one, category two, another category in one field or string but i want it to display like this category ..
explode a string into an array
This uses the php explode function to split a string into an array based on a delimiter character. I always forget which order this goes in.