$isset = isset($_POST['industry']); foreach ($industries as $industry) { if (isset($isset) && $industry['industry_id'] == $isset) { echo "<option value=\"{$industry['industry_id'] }\" selected=\"selected\">${industry['industry']}</option>\n"; } else { echo "<option value=\"{$industry['industry_id'] }\">${industry['industry']}</option>\n"; } }
Echo Posted Value
-
- Posts: 165
- Joined: Fri May 06, 2011 5:02 pm
Echo Posted Value
After I post the industry value I want it to be echoed back out to the user that that is what they selected. Any way to do this without storing the data?
-
- Posts: 165
- Joined: Fri May 06, 2011 5:02 pm
Re: Echo Posted Value
Fixed. I was using GET not POST
Re: Echo Posted Value
ahunemployment wrote:Fixed. I was using GET not POST
Well at least its working