Tag Archives: query string

  • Using query strings in CodeIgniter

    View Comments
    CodeIgniter logo

    CodeIgniter is a great framework for PHP development, and part of it’s greatness is in it’s URL scheme. However, the URL scheme take a lot of getting used to, especially when you want to accomplish things that, while trivial before, become more difficult using CodeIgniter. One of these things is the use of query strings. By default, CodeIgniter may ignore your query strings, causing your $_GET superglobal array to be empty. Luckily, there is a fix.

    Read More »
    Did you like this? Share it:
  • How to use delimiters other than ampersands in URLs

    View Comments

    I recently came across the idea of using different formatting for URLs. By this, I mean doing things such as omitting the question mark before the query string or using a character other than the ampersand to delimit the variables in the query string. This idea is potentially golden. I understand that there are programmers who feel that the standards should be upheld at all times, including when building URLs. However, I also understand that short, readable URLs are ideal and being able to build the URL as you please can help you towards that goal.

    Read More »
    Did you like this? Share it: