Re: ADDITIONAL INFORMATION PLEASE ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



yea .
 thank you for those who help ..




________________________________
From: Evlin Marcelline <evlin.marcelline@xxxxxxxxx>
To: php-objects@xxxxxxxxxxxxxxx
Sent: Monday, June 22, 2009 5:15:14 PM
Subject: Re:  ADDITIONAL INFORMATION PLEASE ??





ADDITIONAL INFORMATION PLEASE ??

` 1. Write the symbols used to start PHP codes inside an HTML document?
--> <?php
<?php echo $what ?>
?>
or
*<?
*<?=$what ?>
*?>*
2. What are the rules regarding single quotes and double quotes when using
the
echo commnand?

--> its regarding the concpet before ( if you use for sql sometimes need
single or double quote
example ;
*$query = ("select * from table where field = ' $input ' ");*

3. Name some guidelines in naming variables in PHP.

--> i think there are no special guide .. but try not to use number or any
symbol --> try name it with something that relation with the value

4. Write 3 lines of codes showing how HTML tags can be used inside PHP tags.
--> *<? if($a ==1)
{?>
<table border = 1></table>
<? } ?>
or for suggestion tags you can use ctrl + space on your keyboard*

trying use php_manual.chm :)
hope help you :)

sorry for ad --> are there someone need job as php developer who live in
bandung indonesia ??

thanks ^^

On Sun, Jun 21, 2009 at 4:40 PM, ellamae.luyun <ellamae.luyun@ yahoo.com>wrote:

>
>
> ADDITIONAL INFORMATION PLEASE ??
>
> ` 1. Write the symbols used to start PHP codes inside an HTML document?
>
> 2. What are the rules regarding single quotes and double quotes when using
> the
> echo commnand?
>
> 3. Name some guidelines in naming variables in PHP.
>
> 4. Write 3 lines of codes showing how HTML tags can be used inside PHP
> tags.
>
> 5. Define:
> -Local variables
> -register_global
>
> MY ANSWERS:
> Q1:
> - SYMBOLS:
> <?
> ?>
> $
>
> Q2:
> - RULES IN:
> -> SINGLE QUOTE
> 1.USING QUOTE WILL PRING THE VARIABLE NAME, NOT THE VALUE
> 2.MULTIPLE PARAMETERS TO ECHO OVER CONCATINATION
> 3.USE SINGLE QUOTE FOR QUOTES INSIDE THE STRING
>
> -> DOUBLE QUOTES
> 1.YOU CAN USE VARIABLE INSIDE OF AN ECHO STATEMENT
> 2.OUTPUT A VARIABLE
> 3. DISPLAY THE STRING
>
> Q3:
> - GUIDELINES IN NAMING VARIABLES:
> 1.A variable name must begin with a letter, underscore, or Unicode currency
> symbol.
> 2.The initial character can by followed by any number of letters, numbers,
> underscore characters, and Unicode currency symbols.
> 3.A variable name cannot contain spaces.
> 4.A query result is a type of variable, so it cannot have the same name as
> another local variable in the current ColdFusion application page.
> 5.ColdFusion variables are not case-sensitive. However, consistent
> capitalization makes the code easier to read.
> 6.When creating a form with fields that are used in a query, match form
> field
> names with the corresponding database field names.
>
> ADDITIONAL INFORMATION PLS???
>
> 
>

-- 
Best Regards,

Evlin Marcelline
decall29@yahoo. com
evlin.marcelline@ lenmarc.com

[Non-text portions of this message have been removed]





      

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux