craiger9er Posted June 16, 2010 Share Posted June 16, 2010 Hey guys, I'm really new to PHP and am learning a little each day. However, I'm stuck on some code I need to modify. Basically, I need to make it an IF type of scenario. ' ' . $item->durations_drop_down('duration[' . $item_details['auction_id'] . ']', $item_details['duration']) . '</td>'. That's the code....and I need to basically do this <?php if ($item_details['listing_type'] == 'buy_out') echo $buynow_duration_drop_down; else echo $duration_drop_down; ?> If you need to see more of the code associated with the top line I can post that too. Thanks for any and all help, Craig Link to comment https://forums.phpfreaks.com/topic/204922-need-help-with-some-code/ Share on other sites More sharing options...
craiger9er Posted June 16, 2010 Author Share Posted June 16, 2010 Sorry, this should probably be in Third Party PHP script/help section. Link to comment https://forums.phpfreaks.com/topic/204922-need-help-with-some-code/#findComment-1072832 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.