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 Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.