Jump to content

sabeti05

New Members
  • Posts

    1
  • Joined

  • Last visited

sabeti05's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, I'm new here and in php, I wrote this: <?php $var = array('<a href="3">a</a>', '<a href="1">b</a>', '<a href="2">c</a>'); sort($var); foreach($var as $value){ echo $value, '<br>'; } ?> the output is: b c a how can I change its output to: a b c thank you all!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.