PHP error
#3

The script looks fine, except from this piece on top "?php" which should obviously be "<?php".

Furthermore, MySQL_* is deprecated and shouldn't be used anymore, I recommend you to use PDO or MySQLi. MySQL can't be used anymore from PHP 6.0 I believe, meaning your scripts won't run when this version becomes the standard. MySQLi has an excellent way of procedural programming, just like MySQL has, but I personally recommend PDO because it supports more database engines and in my opinion it's better overall.
Reply


Messages In This Thread
PHP error - by Iverso - 25.12.2015, 15:48
Re: PHP error - by FreAkeD - 25.12.2015, 16:08
Re: PHP error - by JasperM - 25.12.2015, 16:21
Re: PHP error - by Iverso - 26.12.2015, 17:05
Re: PHP error - by SaltySandy - 26.12.2015, 19:03
Re: PHP error - by Iverso - 26.12.2015, 19:14
Re: PHP error - by SaltySandy - 26.12.2015, 19:19
Re: PHP error - by J4Rr3x - 27.12.2015, 19:16

Forum Jump:


Users browsing this thread: 1 Guest(s)