I can’t remember for the life of me where I got this code from, but if I could, I’d give the author the credit. I didn’t write this code, but it’s something I wanted to share because it’s pretty cool. There are HUNDREDS of image rotating scripts out there, but I like this one in [...]
Maruf scribbled this post.
Here’s an extremely useful snippet of code that will properly format sentences with capitalization. Actually, what the code really does is capitialize every letter AFTER a full-stop (period). Here’s an example of what the code will do… Before: Hello This Is An Example Of A Sentence Which Has Odd Capitalization Which You May Want Fixing. [...]
Maruf scribbled this post.
This is another one of those quite specific pieces of code, so I doubt many people will need it. I think the code is quite useful, so I thought i’d make a post about it. Anyways, I’m going to show you how you can pull just images out of a field in a MySQL table. [...]
Maruf scribbled this post.
Ok, i’m going to quickly jot down some PHP code, which dynamically populates date fields (dd/mm/yyyy) for HTML forms. I’m always using this code, but I never write it down, so i’m forever retyping it! To generate the date dropdown fields shown above, you could hardcode the values, like this…. View Code HTML1 2 3 [...]
Maruf scribbled this post.
Ok, this is a quick note to myself, because I always seem to forget this code, and I have no idea why, because it’s so simple. So, the scenario is that when I’m writing AJAX code, a lot of the times I use a hyperlink to trigger an action. For example, look at the following [...]
Maruf scribbled this post.
I just implemented a new feature on Property Investment for the Landlord, which shows a box rotating through various text blocks. Just for clarification, this code doesn’t just apply to rotating “text”, you can put images or anything you want in there. This is just a flat image example: I used the excellent Jquery Innerfade [...]
Maruf scribbled this post.
I’ve recently installed Sagepay Form on a clients shopping cart, which is powered by osCommerce Version 2.2. The installation was pretty simple. I had to install the osCommerce SagePay Form Module and then do various other things to get the account live. Once the account was live I stumbled upon quite a serious problem. The [...]
Maruf scribbled this post.
I’ve had a few people asking me how to refresh a table (not the entire page) when inserting rows into a MySQL database, so I thought I’d quickly put together a small demo. Here’s a basic demo of what I’m talking about. If you populate the form and press “Submit” you’ll notice the table updates [...]
Maruf scribbled this post.