Everything posted by garym
-
What does .= mean in PHP?
Thanks very much. So it's kind of like adding a bit more onto the end of the string then?
-
What does .= mean in PHP?
Hello, I've got what is probably a very simple question but, it has stumped me! Could someone please explain to me what .= means when coding php? Many thanks, Gary
-
What's wrong with this PHP code?
Thanks, I'll look into that.
-
What's wrong with this PHP code?
Haha, I'm bloody stupid sometimes! Thanks for helping me out.
-
What's wrong with this PHP code?
Yes, and looking in the source the statement "a is not 0,1 or 2" shows too.
-
What's wrong with this PHP code?
Ah, thanks. I'm using WAMP on my computer and accessing the file using: http://localhost/php_sandbox/logical2.php
-
What's wrong with this PHP code?
Thanks for your help. I am not sure how to check if I have parsing on? I did save the file with a .html extension too but nothing appeared to show.
-
What's wrong with this PHP code?
Hi, I'm currently learning php and am playing around with statements at the moment. I've typed some code but when it's accessed the page is blank. Would somebody mind taking a look at it for me please and let me know what i'm doing wrong? Here's the code: <html> <head> <title>Logical Expressions:Switch/title> </head> <body> <?php $a = 3; ?> <?php switch ($a) { case 0: echo "a equals 0"; break; case 1: echo "a equals 1"; break; case 2: echo "a equals 2"; break; default: echo "a is not 0,1 or 2"; break; } ?> </body> </html> Thanks for looking. Gary
-
An easy way to remember whether to 'echo'?
Thanks. I haven't got to exit or die yet but sure they'll crop up soon.
-
An easy way to remember whether to 'echo'?
Hello, I'm just learning php at the moment and probably have a stupidly easy question!!! I'm getting confused on when 'echo' should be typed into a string or left out? Is there an easy way to remember when it needs to be included/left out? Gary
-
Which web design course and, where to study it?
Hello. Sorry it's taken me so long to get back on here. Well, I decided I'd like to learn php, mysql and java. I've signed up to do a php course on Lynda.com and am enjoying it so far....even if I have the feeling i'm going to end up forgetting it all next week. Thanks again for taking the time out to reply.
-
Which web design course and, where to study it?
Hello everyone. I'm really interested in undertaking a course in web developing with the (hopeful!) eventual view of developing websites as a full time career. I thought asking a few questions on this forum would be a good starting point! I would like to take an official course to teach me everything step-by-step. I know there's a lot of resources online but I would prefer to do something more structured. I did see some courses run by the Open University but am not sure how well they would set me up for a career in web design? Also, should I take a course that specialises in html or are there some up-and-coming coding languages that would be better to focus on? Any ideas of where to find a good course would be much appreciated. Thanks again, Gary.