Archive for the 'php' Category
Wednesday, May 7th, 2008
When posting data from a form to a page, the $_POST variable gets set to an array similar to this:
Array ([name] => “daniel”, [state] => “illinois”, [phone] => “630-618-9588″)
Now, one way to process this is to know in advance (which, normally you will), what the values will be, and set them to more usable variables. [...]
2 Comments » | Posted in development, php
Saturday, January 5th, 2008
Here is a nice, simple way to add pagination to a site with many items using PHP. This code will allow you to display your content normally, or automatically create pagination if the content exceeds a set number of items. This code is provided as is, with no warranty, but can be modified to your [...]
2 Comments » | Posted in development, php
Friday, January 4th, 2008
I did some searching online for a quick and easy AJAX contact form… There isn’t one. The free ones are two years old and don’t work, and the other ones I saw cost money. So I fixed the problem.
Unzip to your directory, modify the two variables in “config.php” to your liking and voila.
Download (ver 1.01): [...]
Leave Comment » | Posted in design, development, php, web 2.0
Monday, October 8th, 2007
Time management is key in any business position, whether you are a receptionist for a law firm, or a sole-proprietor in a web development company. I’m going to assume that as a constant in any business discussion. There have been hundreds (thousands?) of books written on the topic, and I won’t try to reinvent the [...]
Leave Comment » | Posted in css, development, php, web 2.0
Monday, September 24th, 2007
In the process of developing an e commerce shopping cart, I had the need to make sure an image was displayed at all times… even if the link is broken for some reason. This easy solution will make sure that your large detail view image is loaded last… thus making your site appear that it [...]
Leave Comment » | Posted in css, development, php