Crazy database design. You need to separate the the questions in to multiple tables. Or, if you don't want a crazy amount of joins, don't use...
Hey, I keep getting dicked around by designers. The latest one has left me high and dry whilst there outstanding changes required to be performed...
You need to close your PHP code with ?> before you start outputting HTML directly. Also, you should never, ever output user input to the page...
Hm, DateTime is a good solution, though I'm not too sure if d/m/Y is a valid format you can pass through to the class constructor. I suspect it...
Have you tried using PHP's PDO interface? The following link may be of use to you:...
As was mentioned, if it's a quick grab you're probably better off using curl and regular expressions. If you're going to be doing a lot of...
And of course, if you don't have cPanel, use crontab.
You can absolutely extend multiple classes! Quick demo: <?php class Animal { // some stuff } class Mammal extends Animal { public...
I'm not sure what you mean in your first question. As for your second question, you could try using something like MySQL's Replace function in...
Lol. Just from looking at your code, I can see that: You're matching your pattern against the wrong string! (you save to $contents and try to...
As I said, the returned output of the Pinterest API by itself isn't a valid json encoded string. You have to do a bit of parsing first.
That's not true at all. Even if you store a salt in the database, they: 1. Have to somehow fetch it (depending on the type of exploit this may...
Separate names with a comma.