Ruby: Embedded Ruby (ERb)
Time.now is a ruby function to display the current time. The
Time.now is a ruby function to display the current time. The
This is extremely helpful when trying to figure out what is going on in your page. When troubleshooting or just trying to figure out what data is in that mysteriously finicky array, this is a charmer: Var_Dump the contents of an Array <?php $arr = array(); //start the array empty $arr[] = 1; // these [...]
Is there an echo echo echo…in here? Echo, if you don’t know, is how you output stuff to the screen. Like this: <?php echo ‘Hello, how are you?’; ?> Echo is used heavily in any php program, and you can do goofy crazy things, like: <?php $firstname = ‘Ryan’; $lastname = ‘Coder’; echo ‘Hello ‘.$firstname.’ [...]
Response.Write("this is the message");