[PHP] Compile on Mac OS X --with-java?

2003-11-06 Thread Karl Nelson
Has anyone managed to get PHP to compile on Mac OS X with the --with-java flag in the configure command? I've tried it with PHP 4.3.2, 4.3.3, and 4.3.4, all without any luck. I'm using Mac OS X Server 10.2.8, with Java 1.4.1. I've tried ./configure --with-mysql --with-apxs --with-xml --with-jav

Re: [PHP] looping through database results

2001-09-30 Thread Karl Nelson
Thanks for your help, Andrew, but it didn't seem to work. As I read the manual (http://www.php.net/manual/en/function.mysql-fetch-array.php), mysql_fetch_array is much like mysql_fetch_row, except that it uses the field names instead of numbers as the array key. Somebody correct me if I'm wrong

[PHP] looping through database results

2001-09-30 Thread Karl Nelson
I'm working on a basic calendar app in PHP, but I've hit a snag. The events are stored in a MySQL database, and the goal is to have the events displayed on the correct day on the calendar. The calendar is generated through a couple of while() statements that loop through the weeks and days. I'm