LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2005, 11:41 PM   #1
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Rep: Reputation: 15
PHP paging problem


ANYBODY can help me in PHP cause i have a problem in paging a search results. eg When i search in my database for a person from country of Malaysia, it will display the paging results in page B all the person that is from Malaysia ONLY.

I have three pages A, B and C

Page A is the search form.
Page B is the paging for the search results. Inside page B there's a link to page C

Page C display the person personal data.

does anyone have a solution on this...........HELP!!!!!!!!
 
Old 02-23-2005, 12:24 AM   #2
Ravo
Member
 
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 41

Rep: Reputation: 15
Well, I happen to be a skript kiddie myself. Can you give us the source or at least tell us what it's doing wrong now?

Code:
If(empty($search) && empty($person)){
    Show_search_stuff();
    }
elseif(!empty($search) && empty($person)){
    show_search_results();
    }
elseif(empty($search) && !empty($person)){
    show_info_on_person();
    }
else{
    error();
    }
There are a million ways of doing it.

EDIT: I did a layered forum in a similar fashion to that, and it worked wonders.

Last edited by Ravo; 02-23-2005 at 12:25 AM.
 
Old 02-23-2005, 12:49 AM   #3
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Original Poster
Rep: Reputation: 15
PHP paging problem

Can u give me your email Ravo so that i can attach the files to you.............
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Paging data from XML with PHP Boby Programming 1 03-23-2005 10:57 AM
PHP paging problem jojojo Linux - Newbie 1 02-24-2005 01:13 PM
New to PHP and Postgressql. Is this a PHP problem or a sql problem. Please help sendas4 Linux - General 2 11-05-2004 02:54 PM
Apache php index.php problem neurotic Linux - Software 3 11-18-2003 07:02 PM
virtual memory paging problem on install j_hart Linux - Software 0 10-13-2003 02:52 AM


All times are GMT -5. The time now is 10:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration