Can someone tell me what's wrong with this code?
$nhandle = fopen("upload/" . $_POST['docname'], a+");
$nstring = $_POST["uploaddoc"]; *Specifically, this line*
fwrite($nhandle, $nstring);
fclose($nhandle);
The error is
Parse error: syntax error, unexpected T_VARIABLE
and
how do I move the pointer down instead of just to the right? Fseek only moves the pointer to the right on the same line of code, I want to be able to move up and down rows, how can i do that?
thanks in advance
PHP Help Variables
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact: