Re: php pager-close but not no cigar!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ross wrote:
I have almost got my pager working here (just hit submit to return the full db)


http://scottishsocialnetworks.org/editor2.php

http://scottishsocialnetworks.org/editor2.phps

The pager works fine until you hit any of the other links at the bottom then I get a blank page.

I get a login page because the pages links refer to editor.php.

Any ideas?

1. your using $_GET['page'] and $_POST['pageNum'] - that might be related to the problem.
2. check your error log and/or turn on display_errors.
3. getting a blank page often happens if a 'require' statement fails.
4. (not part of the problem:) put your class(es) and function(s) in
seperate files and try to layout your code so that your not intermingling
php and html too much - it saves on headaches down the road.



Ross

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux