Form validation with PHP. Help!

Posted in on 16 December 2010 | Comments

I was recoding a form the other day and I needed a different form validation method (using PHP). We all know that JavaScript validation provides a neat user experience but it doesn’t work if someone wants to circumvent it or has JavaScript turned off for another reason. That’s why server-side validation is important. In my case, I’ve used a variety of different methods but I wanted to write something new that could be developed further and that was suited to my requirements rather than something off-the-shelf.

After hunting round on the web and browsing my own library of methods, I realised that I didn’t know quite as much about this as I thought. After several hours beating myself up (metaphorically speaking), I remembered this PHP User System Form Validation video tutorial from Think Vitamin. It’s an excellent tutorial that provides a useful starting point for validating forms with PHP.

Anyway, the tutorial helped me recode my particular form. Great work from the presenter Jim Hoskins and the Think Vitamin guys and gals!

Easy ways for clients to edit image galleries/slideshows

Posted in on 13 April 2010 | Comments [1]

I have been working on a website where one of the requirements is a JavaScript slideshow and/or an image gallery that the website owner or client could update. It is possible to do this via content management systems like Wordpress or Perch (and many others) but in this case, for various reasons, we had an HTML website, without database, to work with. At the same time, the system had to be really simple. So simple in fact, that all the client has to do is upload images (via FTP perhaps) into the correct folder on the server.

Read more ...

SAMS Teach Yourself SQL

Posted in on 5 February 2008 | Comments

SAMS Teach Yourself SQLOne book that I pick up on a regular basis when I am in database development mode is SAMS Teach Yourself SQL. It claims to be able to give you all the SQL skills you need in 10 minutes. Whilst that may not be quite true, I find that the book is really useful as a quick refresher when I have not been database querying for some time.

OK. It's a beginners book but the simplicity and readability of the book means that is is easy to find information about SQL syntax just when you need it, whether it is a simple table join or working with database views.

I have other, perhaps more comprehensive, books about databases and SQL, but for usability and getting the job done, SAMS Teach Yourself SQL is tough to beat in my opinion.

Build a database website with PHP and MySQL

Posted in on 22 August 2005 | Comments

This book was one of the books that inspired me to learn PHP and MySQL and it’s a great resource for learning how to build a database-driven website.

Read more ...

Dreamweaver for PHP/MySQL applications

Posted in on 29 January 2005 | Comments

Macromedia Dreamweaver is used by many people to edit their standard HTML websites but it can also be used to develop PHP websites where information is pulled from a MySQL database….

Read more ...


Stop looking at my bottom