04.01.2013, 13:49
You should be using PDO so it's safer. Anyway replace the (.+?) with (.*?)
What are you testing this on? a webhost? or your local host? (own pc)
If you are doing it on a webhost (which i suspect your doing) you need to make a database in the cp and change the database settings to that.
What are you testing this on? a webhost? or your local host? (own pc)
If you are doing it on a webhost (which i suspect your doing) you need to make a database in the cp and change the database settings to that.