> Fatal error: Call to undefined function: dayname() in
> /home/ccrb/ccrb-www/index.html on line 8
>
> This indicates that I'm missing most all of the functions. Is there a
> standard include that I need, or is my php installation not complete?
>
> Here is the line of code in question:
>
> <?php
> printf("test for jon... dayname is %s",dayname("2001-06-17"));
They're mysql functions, not php functions...
<?
$dblink = mysql_pconnect("localhost", "user", "pass");
$res = mysql_query("SELECT dayname('2001-06-17')");
list($dayname) = mysql_fetch_row($res);
echo($dayname);
?>
http://www.php.net:8000/manual/en/html/ref.mysql.html
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php