Posts Tagged ‘php code’

PHP Tutorial: A Quick Way to Break up a URL into usable Pieces

PHP has a built in function which allows for the quick breaking up of a well formed URL into usable pieces, namely parse_url. This function parses a URL and returns an associative array containing any of the various components of the URL that are present. It is important to note that parse_url does not validate [...]

Camel Case to Spaces or Underscore – PHP Code

Most of the php development project, I need to convert camelcase strings to space-separated strings. Recently while working on a project, I found I needed to convert camelcase strings to underscore separation. Camel case is frequently used in programming and data storage. Here are a couple of ways to convert it. As usual, feel free [...]

Powered by WordPress | Designed by: best suv | Thanks to trucks, infiniti suv and toyota suv