You are here: Re: Query Question « PHP Programming Language « IT news, forums, messages
Re: Query Question

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация