I need some help !!!

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Raptor
New php-forum User
New php-forum User
Posts: 3
Joined: Sun Jan 19, 2003 11:46 pm

I need some help !!!

Postby Raptor » Sun Jan 19, 2003 11:49 pm

I want to make a Form In php , So when a User Puts all the info in the form it will go and post it on a website so it can be Automated , i want to post scores of a Hockey league , can anyone tell me the scrit i need otr code ?

Raptor
New php-forum User
New php-forum User
Posts: 3
Joined: Sun Jan 19, 2003 11:46 pm

Postby Raptor » Mon Jan 20, 2003 12:07 am

I have tryed this but every time i go to post a nother score it takes the other one out and replaces ? help

<form name="form1" method="post" action="enviar.php">
<p>Name :
<input type="text" size=40 name="name">
</p>
<input type="submit" name="submit" value="Test122323">
</form>

<?
$name=$_POST['name'];
printf("the name is". $name);
?>

User avatar
WiZARD
Moderator
Moderator
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Postby WiZARD » Mon Jan 20, 2003 8:29 am

register_globals = on
At you place i'm be changed variable name at some else.....

User avatar
Redcircle
Moderator
Moderator
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Postby Redcircle » Wed Jan 22, 2003 12:27 am

are you going to store the information in a database or a flatfile?


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 2 guests