abs0lut Posted May 8, 2008 Share Posted May 8, 2008 in order to post, users need to click a link or button (fast reply) the input form cost is under while loop... please help me.. Link to comment https://forums.phpfreaks.com/topic/104652-solved-link-to-view-the-form/ Share on other sites More sharing options...
pocobueno1388 Posted May 8, 2008 Share Posted May 8, 2008 Your going to have to give a lot more detail than that. I don't even see a question. Link to comment https://forums.phpfreaks.com/topic/104652-solved-link-to-view-the-form/#findComment-535685 Share on other sites More sharing options...
abs0lut Posted May 8, 2008 Author Share Posted May 8, 2008 this input form is under while loop echo "<input type=\"text\" name=\"cost[]\" /><br>"; the input form will not display unless he click the link/button -fast reply Link to comment https://forums.phpfreaks.com/topic/104652-solved-link-to-view-the-form/#findComment-535687 Share on other sites More sharing options...
abs0lut Posted May 8, 2008 Author Share Posted May 8, 2008 <?php $query = mysql_query("SELECT iqid, qty, name FROM iqtable WHERE postid=$post"); while($row = mysql_fetch_array($query)) { $iqid=$row['iqid']; $qty = $row['qty']; $name = $row['name']; if($_SESSION['group']=='vmember'){ echo "<input type=\"text\" name=\"qty[]\" value=".$qty." />"; echo "<input type=\"text\" name=\"iqid[]\" value=".$iqid." />"; } echo $name; if($_SESSION['group']=='vmember'){ $results = mysql_query("SELECT cost FROM ctable WHERE userid=$_SESSION[userid] AND postid=$post") or die (mysql_error()); $values = mysql_fetch_array($results); if($values['cost'] == ''){ echo "<input type=\"text\" name=\"cost[]\" /><br>"; } } ?> here's my code, the input form will not display unless he click the link/button -fast reply any help would be appreciated.. Link to comment https://forums.phpfreaks.com/topic/104652-solved-link-to-view-the-form/#findComment-536289 Share on other sites More sharing options...
DarkWater Posted May 8, 2008 Share Posted May 8, 2008 Okay, it's really hard to even begin to understand your problem. Show us the "link/button" code please. =/ Link to comment https://forums.phpfreaks.com/topic/104652-solved-link-to-view-the-form/#findComment-536291 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.