Jump to content

Passing variable - why is it empty?


marukochan

Recommended Posts

Please help me!

 

Is my code correct or wrong because the variable id is empty.

 

My code

<form action = "admin_editprocess.php?id="<? echo $project_id; ?>"" method="post">

 

I echo id there is a value there, but when admin_editprocess is called the id is empty. Please help.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/42599-passing-variable-why-is-it-empty/
Share on other sites

How are you retrieving the value in the script "admin_editprocess.php"? Also, you have two too many double quotes in the "<form>" line. It should be:

<form action = "admin_editprocess.php?id=<?php echo $project_id; ?>" method="post">

 

Ken

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.