Jump to content

QueenZ

Members
  • Posts

    13
  • Joined

  • Last visited

    Never

Everything posted by QueenZ

  1. I'm not that good with this kind of stuff so i don't know how to do this..
  2. Well there is not really a "story" behind my username.. I just want to note that it has nothing to do with "Queen". it's just a username i go in chats/forums.. that's all.. :D
  3. I'm almost 18 (1 month to go). I'm a high school student, i learn programming at school. I do like playing basketball and i also like riding a quad bike.
  4. FileZilla is my favorite FTP Client. But i just hate that sometimes connection lost and i have to connect all over again...
  5. Well in my opinions Notepad++ project is the best php/html/css and other (more than 50 languages) code editor! http://notepad-plus.sourceforge.net/
  6. Hi guys, Let's say that i have a string like this... $string = "word word word"; or like this $string = "word------word-----word"; I need them to be. $string = "word word word"; $string= "word-word-word" I'm wondering what function removes odd characters from the string. Characters that repeats... As far as i know trim() only removes repeated chars before or after the string only..
  7. of course it's working... =)
  8. right... but i think it's without "" as it's string... $number = 0 . $number
  9. i don't want to remove then and then put them back.. these are 2 different arrays i'm working with.. from one i need to remove them and to another one i need to add them...
  10. that worked great and i also need the reverse version... from.... 1 2 3 10 11 12 to.... 01 02 03 10 11 12
  11. Hi guys! I have numbers like $number = 06; $number2 = 07; $number3 = 03; $number4 = 23; and i need to remove these zeros before numbers... but i don't know how.. please help..
  12. yes it worked when i removed zero oh, never mind..
  13. Hi guys! I don't know why but this php code outputs me the array wrong... <?php $options = array ( 01 => 'adam', 02 => 'betty', 03 => 'charles', 04 => 'denise', 05 => 'eric', 06 => 'adam', 07 => 'betty', 08 => 'charles', 09 => 'denise', 10 => 'eric' ); foreach ($options as $index => $value) { echo $index . "<br>"; } ?> It outputs... But why?? What does it mean?? First of all there are 9 numbers not 10 and second of all it shows 0 after 7 not 8 and 9 is missing as well..? What have i made wrong?? Please help!!
×
×
  • 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.