RE: [PHP] mysql_num_rows() error

2003-01-09 Thread Jay \(PHP List\)
You query is incorrect. Try doing the same query from the MySQL clent. |- -Original Message- |- From: Phil Powell [mailto:[EMAIL PROTECTED]] |- Sent: Thursday, January 09, 2003 7:46 PM |- To: [EMAIL PROTECTED]; [EMAIL PROTECTED] |- Subject: [PHP] mysql_num_rows() error |- |- |-

[PHP] Using fopen() to open a php file with variables.

2002-12-11 Thread Jay \(PHP List\)
Okay, I need to retrieve the output of a php file with variables being passed to it. Example: $calendar_file = make_calendar.php3?month=$monthyear=$year; $fp = $fp = fopen($calendar_file, r); while (!feof ($fp)) { $buffer = fgets($fp, 4096); $calendar_html .= $buffer; }