Board index   FAQ   Search  
Register  Login
Board index PHP PHP Jobs

ULTIMATE PAGINATION CHALLENGE

Forum to require and offer php jobs. Are you searching for php developers to make or complete your php script ? This place is for you.

Moderators: macek, egami, gesf

ULTIMATE PAGINATION CHALLENGE

Postby cmarti » Thu Aug 05, 2004 8:00 pm

I've got a challenge for everyone. The are a lot of pagination scripts out there, but none that do what I am looking for. I've got a MySQL database with two tables (User_Info and GradeBook). User_Info includes StuID and Password. GradeBook includes StuId, Assignment, and Grade. Each student has multiple grades. I'm willing to pay $20 dollars (sorry, that's all I have), to anyone who can help.

On one page (body) I have a form:
Code: Select all
<form action="StuGetIn.php" method="POST">
Student ID: <input type="text" name="StuUserID" size="14">
Password: <input type="password" name="StudPassword" size="14">
<input type="image" src="../Images/Go.gif"></form>


The query for the StuGetIn.php page that I would like to use is:
Code: Select all
$username = $_POST["StuUserID"];
$password = $_POST["StudPassword"];
select * from User_Info, GradeBook
where User_Info.stuID=GradeBook.stuID
AND User_Info.StuID='$username'and User_Info.Password='$password'
ORDER BY DatePosted DESC, ClassName DESC


With that said, I would like a simple working pagination (previous/next) script that checks the values from the form against the database and displays 5 results per page.

Please help.
Casey
casey@martincreations.com
cmarti
New php-forum User
New php-forum User
 
Posts: 7
Joined: Sun Jul 25, 2004 3:24 pm

problem solved

Postby cmarti » Fri Aug 06, 2004 11:26 am

problem solved
cmarti
New php-forum User
New php-forum User
 
Posts: 7
Joined: Sun Jul 25, 2004 3:24 pm


Return to PHP Jobs

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.