No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi, I am currently using the follwing IF statement: if ($daybooked == 1){ print sprintf('<td align="center" bgcolor="%s"> %d </td>',$opts['today_color'],$day); } else{ print sprintf('<td align="center"><font color="#999999"> %d </font></td>',$day); } I would like for this statement to loop. Any ideas? Thanks, Steve | |
Hi, I need to calculate the number of working days between 2 dates entered in a page using PHP. The dates and the calculated number then need to be put into a MySQL database. I am new to PHP, but understand the linking to the database and basic fnctions within … |