Jump to content

Calling last 99 rows in database, echo them to user.


jordankab

Recommended Posts

Hey guys, I am having trouble coming up with a way to do this:

 

I have two pages. One is an html page, which code looks like this:

<html>

<head>

<link rel="stylesheet" type="text/css" href="style.css">

</head>

<form action="abc123.php" method="POST">

Say it:&nbsp&nbsp<input type="text" name="talk" class="style1" />&nbsp&nbsp<input type="submit" value="Go!" class="input"/>

</form>

</html>

 

So pretty much, its just asking for a string.

Here's the roadblock. I want my PHP file called abc123 to do these things:

- get what you said (I know how to do this).

- enter it into a database (I have created).

- echo back last 99 rows in the database of UNIQUE messages.

 

So, this site will be a public message board, but I'm having a little trouble. Thanks, Jordan.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.