Php help
Posted: Tue Jul 22, 2014 6:13 am
Ok, so I've been watching tutorials, following them, doing what callan s. , vint and halls have said but I've stumbled onto a question and now I have to ask
Can a variable be any name ? for example $anything $ok $cheese213.
My next question is, if statements, I'm trying my best to completely understand the concept of if statements so for what I'm seeing in if statements, is this viably ok? or is this completely wrong to think it this way
And taking into consideration of what Halls, and Callan S. said, I've been timing myself on very very simple basic operations of php, and been improving my speed on those, and moving forth from their to more complex codes, or "bigger" Variables/arrays :p Slowly working my way up.
Can a variable be any name ? for example $anything $ok $cheese213.
My next question is, if statements, I'm trying my best to completely understand the concept of if statements so for what I'm seeing in if statements, is this viably ok? or is this completely wrong to think it this way
Code: Select all
if (this is correct) {
echo 'Yes it'll run like that';
}
else {
echo 'No your answer to this is not correct or is half right';
}