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.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.