[PHP] Best way to handle PREVIOUS and NEXT processing of database records retrieved

2006-01-26 Thread Sue
I am retrieving records from a MySQL database and need to just display each 
record one after the other on a page.  I only want to display a maximum of 
25 records per page though, and am wondering if there is a way to handle 
this easily within PHP?  I'd like to use something like NEXT and PREVIOUS as 
links to go back and forth from each of the pages if there is more than 1 
page of data to display.  Any examples/ideas would be greatly appreciated.

Thanks in advance! 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] date processing needed in form

2006-01-03 Thread Sue
Hello -

I need to create a form that allows the user to select a Month, Day and 
Year.  I am also new to PHP and am wondering if there is a way for me to 
display the contents of the Select list box (for the Day) based on the Month 
that is selected (and Year), so that the valid number of days for the month 
( year?) displays.  For all of our other forms, we use CGI to handle our 
standard forms validation, and was hoping to handle more complex validation 
within PHP prior to sending the entire contents of my form to our standard 
CGI validation routine.  I know that I could use the Checkdate function once 
the entire date is selected, but thought there might be an easier/more 
efficient way of handling this and also not sure how to reference Checkdate 
prior to Submitting my form to the CGI routine.  I also was not sure if this 
was something that is handled easier using Javascript?  Any help/examples, 
etc. would be greatly appreciated!

Thanks!!
Sue 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] connecting to oracle 9i

2005-12-30 Thread Sue Errico
I am running php 5.0
apache 2.0
oracle 9i on a windows platform
 
receiving the following error:
 
Fatal error: Call to undefined function oci_connect() in C:\Program 
Files\Apache Group\Apache2\htdocs\Sue\testoci.php on line 3

I edited the php.ini
I uncommenting the extension=php_oci8.dll (removed ;)
and changed the 
extension_dir = C:/php/ext
 
I stopped and stopped apache and it still get the same error
can you please help or direct me to someone that can?
Thanks!
Happy New Year!



[PHP] GetImageSize problem

2001-01-21 Thread Sue Bailey

I have a bunch of images living on one ISP's server which I want to use
on another page on another ISP's server, with GetImageSize. I RTFM, and
see "The filename needs to be either relative to the current document,
or an absolute filesystem path. Thus absolute URL paths will not work."
which is absolutely correct - I get an error msg "cannot open file".
$DOCUMENT_ROOT  is obviously no use to me - does anyone know any way
round this?

TIA, 

Sue

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]