if I use Post only space is write
if I use Get it write what i've put in the form action command
Assign a textarea value to a variable
Moderator: General Moderators
- Peuplarchie
- Forum Contributor
- Posts: 148
- Joined: Sat Feb 04, 2006 10:49 pm
- andym01480
- Forum Contributor
- Posts: 390
- Joined: Wed Apr 19, 2006 5:01 pm
The problem is that your form is using 'codesource'
and the php is using 'codes'
The PHP should be
to match the form and look for it "posted" from the form
Code: Select all
<textarea cols="80" rows="20" wrap="off" name="codesource" >Code: Select all
$new_line = "\r". $_GET['codes']."\n\r";Code: Select all
$new_line = "\r". $_POST['codesource']."\n\r";- Peuplarchie
- Forum Contributor
- Posts: 148
- Joined: Sat Feb 04, 2006 10:49 pm
- aerodromoi
- Forum Contributor
- Posts: 230
- Joined: Sun May 07, 2006 5:21 am