it works,
thanks,
Alain
"John Nichel" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> alain dhaene wrote:
> > Hi,
> >
> > I will write a function that returns the result of a recordset.
> > I tried this:
> >
> > Function getPersonen()
> > {
> >openDB(); //function th
alain dhaene wrote:
Hi,
I will write a function that returns the result of a recordset.
I tried this:
Function getPersonen()
{
openDB(); //function that I implements in another file
$query = "SELECT * FROM Cursisten";
$result = mysql_query($query)
or die("Fout bij uitvoe
Gregory Kornblum wrote:
$result = mysql_query($query)
You need to pass the connection resource returned from your mysql_connect
call as a second parameter. Regards.
-Gregory
While it is a good practice to do this, it is not necessary...
"If link_identifier isn't specified, the last opened link
>$result = mysql_query($query)
You need to pass the connection resource returned from your mysql_connect
call as a second parameter. Regards.
-Gregory
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4 matches
Mail list logo