Jump to content

using hidden filelds


Larryz

Recommended Posts

Here, you can try this code. I've assumed from my quick read through of the file that you are posting from a different page and that this is not a self-posting page  :P

 

The problem seems to be that you aren't actually storing the error value inside a PHP variable

 

The way I code it anyway is:

$err = $_POST['error'] ."hello";

 

Also, when making the variable a value inside a html tag, you just need to open and close PHP tags with the variable placed in between

 

See the attached code

 

[attachment deleted by admin]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.