Buccaneer Posted July 12, 2012 Share Posted July 12, 2012 if current_bid < reserve the "bid too low" Else current_bid = high_bid AND ***auction ends*** ***the following is from the file I am trying to edit. $c = $Data['ends']; Thanks for any help Link to comment https://forums.phpfreaks.com/topic/265565-please-convert-this-to-php-code/ Share on other sites More sharing options...
ManiacDan Posted July 12, 2012 Share Posted July 12, 2012 What is the problem here? Converting this to PHP is as easy as adding punctuation: if ( $current_bid < $reserve ) { //bids too low } else { $current_bid = $high_bid; $c = $Data['ends']; } Of course, this assumes a LOT about your structure and code layout. If your question was "write an auction house script for me," then we're not going to do that. Link to comment https://forums.phpfreaks.com/topic/265565-please-convert-this-to-php-code/#findComment-1361051 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.