Jump to content

Blu23

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Everything posted by Blu23

  1. Okay so I've been going over the PHP manual doing test applications as I go along and I came across this issue that honestly totally threw me. I figured it out (after 20 minutes of thinking the world was about to end) so thought I'd post the code and although some experts will simply shake their head others will hopefully see the funny side. So I'm running a simple script iterating through two arrays and outputting some text. Code is below. <?php for($i = 0;$i < 100;$i++){ for($k =0; $k < 100;$k++){ echo "$i and $k"; } } ?> I'd have expect to get something along the lines of 00 and 01 and 02 and 03 etc... but as you have probably guessed that's not what I was getting. Instead I was getting 0 and 00 and 10 and 20 and 30. Anyway figured it all out now and I'm hanging my head in shame.
  2. Blu23

    Hello all

    Just thought I'd say hello to everyone. I was programming in PHP a few years back while at Uni and that saw me developing a php application which was great fun. Unfortunately after University stuff happened and now I find myself programming in .Net C# most days. Now I'm coming back to do PHP and I'm hoping to get a career out of it and moving away from .NET. I know this in an introduction section but I did have one small question (gasp). I'm looking at what IDE to develop PHP in and I've come across VIM. Looks pretty clever to me and being a complete geek I love the look of it. Does anyone else use this and can you recommend that it will get easier to use? If not then what do you use for developing? Thanks
×
×
  • 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.