K I did my reseach got all the required stuff, installed apache2, mysql and php made sure they all start up each timei boot up fromt he runlevel in yast. and it sucessfully parses php scripts heres where the headache comes in, i'm unable to use myql functions, for example here a script that i use to create a connection to a dbase and return the connection.
PHP Code:
function connectToDatabase() {
$conn=mysql_connect("localhost", "root", "");
if(!mysql_select_db("minimailer", $conn)) {
return FALSE;
}
return $conn;
}
this returns the error
Code:
Fatal error: Call to undefined function: mysql_connect() in /srv/www/htdocs/minimailer/functions.php on line 3
now the funny thingi realizes is i have phpMyAdmin installed and it is able to access he mysql dbase fine and create new tables etc [ the usual stuff you would do with MyAdmn ] now what I'm thinking is if phpMyAdmin can do it why cant I. what would be the reason that i can do normal phpfuncctions but as long as it has to do with mysql functions it doesnt work.
i thought about the mysql packages so i installed the one that i saw related directly to php which in yast was php-mysql. so what could be ma problem. i've been slaving over this all day. Help will certainly be appreiciated.