----- Original message -----
From: "Adam Farid" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Mon, 10 May 2004 19:54:51 +0000
Subject: [PHP-DB] Need some HELP (not works)

Thanks pepole.

I've tried but still does not work.

when I put the varaibles name between ' '

I found this error:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or 
`T_NUM_STRING'.

I typed in this way

**** print "<INPUT TYPE='hidden' NAME='User_name' 
VALUE='$_POST[UserName]'>"; ****

but nothing  a new.

I have checked  "register_globals" is on.
in my first page I used session_start(); and   global $HTTP_SESSION_VARS;
I dont know if this cause the problem that I had.

Thanks again and more help please.
Adam

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Try using **** print "<INPUT TYPE='hidden' NAME='User_name' 
VALUE='".$_POST[UserName]."'>"; ****

Actually, if you're using 4.0.x, you can't use $_POST[UserName]. It was
implemented in 4.1.0.
http://ca.php.net/manual/en/reserved.variables.php#reserved.variables.post
Read about it here.
-- 
  Marcjon

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to