Kleines Mathematisches Problem
Tag!
Ich hab hier eine echo-Anweisung in der simpler Text und eine Variable steht. Ich möchte die Variable um eins hochzählen.
ich hab mirr gedacht es könnte so funktionieren:
echo "<input type='text' name='hid' readonly value='".$row[0]+1."' size='5'>";
aber das funkt leider nicht!
Wie kann ich die Variable um eins hochzählen??
Die Daten in der Variable kommen aus einer DB (Integer).
lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
|