its either php or asp
[CODE]
public static int add(int a, int b) {
return a+b;
}
[CODE]
function add($a, $b) {
return $a+$b;
}
tag doesn't do highlighting, so I used [php] for both.
For starters you need to learn the basic stuff, forget objects for now. Check the tizag.com PHP tutorial to get started.