I'm pretty sure I found no answer here or elsewhere or maybe because it's my fault not being able to ask the right question, but anyway, say I have a for-loop in my PHP that goes something like this:
for($i=0; $i<3; $i++){
echo "<a href=\"\">$i</a> | ";
}
How do I make the last call for " | " to not appear in order to have a nicely output:
<a href="">0</a> | <a href="">1</a> | <a href="">2</a>
INSTEAD OF
<a href="">0</a> | <a href="">1</a> | <a href="">2</a> | <-- remove this! :(
You guys are fabulous! Thanks!!!
What if $i < $undefinedNumber ?