Nate Fowler writes:

> Okay, I'm trying to make a form talk to a SELECT query using PHP. How do I 
> make input from a form become a PHP variable?

This is explained in great detail in the PHP manual at
http://www.php.net

>              <form name="form1" method="post" action="<?php echo 
> "$PHP_SELF?action=list_records&title=$formtitle"; ?>">
>                <input type="text" name="$formtitle"><input type="submit" 
> name="Submit" value="GO">

This looks very very broken. Head over to the php manual
and look at the examples there.

-- 
 Carl Troein - Círdan / Istari-PixelMagic - UIN 16353280
 [EMAIL PROTECTED] | http://pixelmagic.dyndns.org/~cirdan/
 Amiga user since '89, and damned proud of it too.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to