No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
how to connect mysql databse into html and must display the rows and columns of the database to html template |
|
Re:
Hi guys, It is working fine, and only allowing letters and numbers. I want to a feature, so that it has to be between 3-20 charachters/numbers long. [CODE] if (!preg_match("/^[A-Za-z0-9]+$/i", $_POST['brugernavn'])){ $dosomething = ''; } [/CODE] This is not working: [CODE] if (!preg_match("/^[A-Za-z0-9]{3-20}+$/i", $_POST['brugernavn'])) [/CODE] |
|
Re:
I am trying to figure out how to do tables in php. I am working on this.. [CODE]$balance=55.75; $newShirtCost=15.75; $earns=20.00; $bar=.55; echo "Starting balance:$balance"; $balance= $balance -$newShirtCost; echo "<p>Purchase: Clothing Store:".sprintf("$%.2f",$balance)."</p>"; $balance=$balance+$earn; echo "<p>ATM Deposit:".sprintf("$%.2f",$balance)."</p>"; $balance=$balance/2; echo "<p>Balance after split with wife:".sprintf("$%.2f",$balance)."</p>" [/CODE] This is suppose to be display in … |