use php functions round() to round up or floor() to round down. generic code, based on examples to round to nearest nickel (5c), dime (10c) and quarter (25c):$x = 100 / $cents_to_round_to;$round_up = number_format(round($number * $x) / $x, 2);$… more »
a case that works in IE but not firefox.
supposed there’s form with a few fields. a button to manually adding more fields to the form. these fields are grouped under the same <div> tag. when the fields are added to the form, the original field va… more »
just follow this documentation. it’s written for symfony 1.1, but it works on V1.2.
templates
a few notes that's not explicitly written in the doc.
for every template file you need an iphone version. or it will break - depends on your server setting… more »
notes and references on web development and various things.
disclaimers
this site does not guarantee accuracy of information provided. codes are provided as is and are free to to use. use at your own risk. limited or no support will be provided.
under no circumstances shall this site be responsible or liable for any damages or consequences as a result of direct or indirect usage of any information provided.