Within IP.Board 4.x there is an option to increase the amount of topics shown in the recent topic block. The issue I've had with it is this, it extends the…
Read More
I need to grab the data from the "enclosure" tag from the following feed: https://queryfeed.net/twitter?q=%40CabosNews&title-type=user-name-both&geocode= In the example, you can modify the "enclosure" field to any of the fields you…
Read More
I have a column within my MySQL table that holds city and states for records. The dataset looks like the following: Clay County, AL Cleburne County, AL Coffee County, AL…
Read More
Sometimes you may have form elements that you need to changed based on other input. For example I have two selects on my page. The first one if the primary…
Read More
This is a basic example of how to dynamically add new options to your select drop down without reloading the page. I'm not saving these in the database, but it's…
Read More
With PHP 5 they introduced the DateTime class. Prior to that everyone used strtotime, date, etc...commands to achieve the same results. I was a late adopter and continued to use…
Read More
The PHP function strtok splits a string one by one. In the example below I'm trying to split off everything after the ? in the URL. https://www.facebook.com/LiquidWebInc?fref=ts https://www.facebook.com/CocaColaUnitedStates?brand_redir=1 In PHP…
Read More
This will be a walk-through on how to create a submit form that checks the database to make sure the username is not taken. If it is taken it will…
Read More
Quick example of how to use PHP's parse_str command. Here is an example of my data: $source = "access_token=CAAWhyYsjaWsBAOCwjZCs&expires=5180531"; What I'm trying to do is just grab the string of…
Read More
These are two different commands with different outputs when added to a SQL query. MySQL "in" command for example: select * from assets a left outer join assetInterests ai on…
Read More