sorry!
the i set favVenue as varchar in the db, should I change that to text?
here's my processform.php:
<html>
<head>
<?php
include ('misc.inc');
include ('head.asp');
$name = $HTTP_POST_VARS['name'];
/ connect to server(mysql) with pconnect for persistent
connection, not to close then reconnect /
mysql_pconnect("$host","$user","$password")
or die ("Couldn't connect to the server.");
/ connect to db (seattlebands) /
mysql_select_db("seattlebands")
or die ("Couldn't connect to the database.");
/ add row to table 'bands' and insert input values /
$query = "INSERT INTO bands (
name,
members,
memberName,
genre,
wherePlayed,
whoWithLoc,
whoWithNat,
label,
labelName,
manager,
managerName,
whenFormed,
wouldPay,
favVenue,
favBooker,
siteLink,
origin,
sold,
disco,
favPromoCo,
howMuch,
favPlay,
draw)
VALUES (
'$name',
'$members',
'$memberName',
'$genre',
'$wherePlayed',
'$whoWithLoc',
'$whoWithNat',
'$label',
'$labelName',
'$manager',
'$managerName',
'$whenFormed',
'$wouldPay',
'$favVenue',
'$favBooker',
'$siteLink',
'$origin',
'$sold',
'$disco',
'$favPromoCo',
'$howMuch',
'$favPlay',
'$draw')";
$result = mysql_query($query)
or die (mysql_error());
echo "
Name:$name<br>
How many members:$members<br>
Member names:$memberName<br>
Genre:$genre<br>
Where you've played:$wherePlayed<br>
Who with loc.$whoWithLoc<br>
Who with nat.$whoWithNat<br>
Are you on a label?$label<br>
What's the label name?$labelName<br>
Do you have a manager?$manager<br>
What is the manager name?$managerName<br>
When did you form?$whenFormed<br>
Do you want to work w/ a promoter?$wouldPay<br>
What your favorite venues?$favVenue<br>
Who is your fav. promoter?$favBooker<br>
Link to site:$siteLink<br>
Where did you form?$origin<br>
Records sold:$sold<br>
Discography:$disco<br>
Fav Promotions Co.:$favPromoCo<br>
How much would you pay for promotion?$howMuch<br>
Where is your fav venue to play?$favPlay<br>
How many can you draw?$draw";
?>
</body>
</head>
</html>
i haven't gotten to the formatting of the echo statement yet, but it'll do for now...