|
Posted by cover on 10/02/05 17:05
On Fri, 30 Sep 2005 12:40:35 +0300, "Kimmo Laine"
<antaatulla.sikanautaa@gmail.com.NOSPAM.invalid> wrote:
>Use keyword DISTINCT for that. It reduces duplicates to a single entry.
Worked great - thanks. Also, thanks ALL for emailed & posted replies.
This little project leaves me with one remaining question... So far, I
have a page that when loaded reads a MySQL database column and
populates a dropdown (pulldown) menu. On that page there are input
options for a couple of other things such as the dog's age and owners
name so I end up with variables 'dogname', 'ownername', 'dogage'.
So I have the page loading fine and then I'll type into a text box,
ownername & dogage and click "enter" - for whatever reason, ownername
& dogage show up but the origninal 'dogname' variable apparently has
lost it's data or has not made it.
On my second page that shows what was input to the database, I'm using
$dogname = $_POST['dogname'];
$dogage = $_POST['dogage'];
$ownername = $_POST['ownername'];
with a print command to successfully echo the data entry results to
the screen but again, the original $dogname doesn't appear to make it
since the contents are blank.
After I've successfully queried the database for dogname, how do I
successfully pass along that data with dogage and ownername.
thanks very much for any help...
Navigation:
[Reply to this message]
|