Preparation
3 lectures 20:41
0 Download & Setup WAMP Server
WAMP Acronym For:
- Windows.
- Apache.
- MySQL.
- PHP.
Download WAMP :
1 Basic Concepts
Meaning of Scripting Language & server side scripting languages.
2 Connect Dreamweaver with WAMP server
Basics
Preparation
3 lectures 20:41
0 Download & Setup WAMP Server
WAMP Acronym For:
- Windows.
- Apache.
- MySQL.
- PHP.
Download WAMP :
1 Basic Concepts
Meaning of Scripting Language & server side scripting languages.
2 Connect Dreamweaver with WAMP server
Basics
0 Download & Setup WAMP Server
WAMP Acronym For:
- Windows.
- Apache.
- MySQL.
- PHP.
Download WAMP :
0 Download & Setup WAMP Server
WAMP Acronym For:
- Windows.
- Apache.
- MySQL.
- PHP.
Download WAMP :
0 Download & Setup WAMP Server
WAMP Acronym For:
- Windows.
- Apache.
- MySQL.
- PHP.
Download WAMP :
0 Download & Setup WAMP Server
WAMP Acronym For:
- Windows.
- Apache.
- MySQL.
- PHP.
Download WAMP : Acronym For:
- Windows.
- Apache.
- MySQL.
- PHP.
Download WAMP : Acronym For:
- Windows.
- Apache.
- MySQL.
- PHP.
Download WAMP :
1 Basic Concepts
Meaning of Scripting Language & server side scripting languages.
1 Basic Concepts
Meaning of Scripting Language & server side scripting languages.
1 Basic Concepts
Meaning of Scripting Language & server side scripting languages.
1 Basic Concepts
Meaning of Scripting Language & server side scripting languages.
Meaning of Scripting Language & server side scripting languages.
Meaning of Scripting Language & server side scripting languages.
2 Connect Dreamweaver with WAMP server
2 Connect Dreamweaver with WAMP server
2 Connect Dreamweaver with WAMP server
2 Connect Dreamweaver with WAMP server
Basics
Basics
Basics
Basics
Step Into PHP
3 lectures 17:07
3 Variables
4 PHP Internal Functions A
5 PHP Internal Functions B
Step Into PHP
3 lectures 17:07
3 Variables
4 PHP Internal Functions A
5 PHP Internal Functions B
3 Variables
3 Variables
3 Variables
3 Variables
4 PHP Internal Functions A
4 PHP Internal Functions A
4 PHP Internal Functions A
4 PHP Internal Functions A
5 PHP Internal Functions B
5 PHP Internal Functions B
5 PHP Internal Functions B
5 PHP Internal Functions B
PHP Arrays
3 lectures 17:02
6 Indexed Array
7 Associative Array
<?php
//indexed array
$user=array("aly",
"saad",
array (
"php",
"js"
,"jq"
)
);
?>
<pre>
<?php print_r($user);?>
</pre>
<hr />
<?php
//associative array
$x=array(
"Name"=>"Saad",
"Address"=>"Nacer City",
"Email"=>""
);
?>
<pre>
<?php print_r($x);?>
</pre>
<?php echo $x["Address"];?>
8 Array Functions
<!DOCTYPE html>
<html ><head>
<title>Array Functions</title>
</head><body><?php $associative=array(
"C-name"=>"A-aly",
"A-phone"=>"C-234423",
"B-Address"=>"d-nacer city",
"d-Address"=>"B-nacer city"
);
?>
<p>count() - return the number of elements of an array.</p>
<?php
$elements= count($associative);
echo $elements;
?>
<table border="1">
<tr>
<td><p>sort() - sort arrays in ascending order.</p>
<?php sort($associative);?>
<pre>
<?php print_r($associative);?>
</pre></td>
<td><p>rsort() - sort arrays in descending order.
</p>
<?php rsort($associative);?>
<pre>
<?php print_r($associative);?>
</pre></td>
</tr>
<tr>
<td><p>asort() - sort associative arrays in ascending order, according to the value.</p>
<?php asort($associative);?>
<pre>
<?php print_r($associative);?>
</pre></td>
<td><p>ksort() - sort associative arrays in ascending order, according </p>
<?php ksort($associative);?>
<pre>
<?php print_r($associative);?>
</pre></td>
</tr>
<tr>
<td><p>arsort() - sort associative arrays in descending order, according to the value.
</p>
<?php arsort($associative);?>
<pre>
<?php print_r($associative);?>
</pre></td>
<td><p>krsort() - sort associative arrays in descending order, according to the key.
</p>
<?php krsort($associative);?>
<pre>
<?php print_r($associative);?>
</pre></td>
</tr>
</table>
</body>
</html>
PHP Arrays.
3 lectures 17:02
6 Indexed Array
7 Associative Array
<?php
//indexed array
$user=array("aly",
"saad",
array (
"php",
"js"
,"jq"
)
);
?>
<pre>
<?php print_r($user);?>
</pre>
<hr />
<?php
//associative array
$x=array(
"Name"=>"Saad",
"Address"=>"Nacer City",
"Email"=>""
);
?>
<pre>
<?php print_r($x);?>
</pre>
<?php echo $x["Address"];?>
8 Array Functions
<!DOCTYPE html>
<html ><head>
<title>Array Functions</title>
</head><body><?php $associative=array(
"C-name"=>"A-aly",
"A-phone"=>"C-234423",
"B-Address"=>"d-nacer city",
"d-Address"=>"B-nacer city"
);
?>
<p>count() - return the number of elements of an array.</p>
<?php
$elements= count($associative);
echo $elements;
?>
<table border="1">
<tr>
<td><p>sort() - sort arrays in ascending order.</p>
<?php sort($associative);?>
<pre>
<?php print_r($associative);?>
</pre></td>
<td><p>rsort() - sort arrays in descending order.
</p>
<?php rsort($associative);?>
<pre>
<?php print_r($associative);?>
</pre></td>
</tr>
<tr>
<td><p>asort() - sort associative arrays in ascending order, according to the value.</p>
<?php asort($associative);?>
<pre>
<?php print_r($associative);?>
</pre></td>
<td><p>ksort() - sort associative arrays in ascending order, according </p>
<?php ksort($associative);?>
<pre>
<?php print_r($associative);?>
</pre></td>
</tr>
<tr>
<td><p>arsort() - sort associative arrays in descending order, according to the value.
</p>
<?php arsort($associative);?>
<pre>
<?php print_r($associative);?>
</pre></td>
<td><p>krsort() - sort associative arrays in descending order, according to the key.
</p>
<?php krsort($associative);?>
<pre>
<?php print_r($associative);?>
</pre></td>
</tr>
</table>
</body>
</html>
6 Indexed Array
6 Indexed Array
6 Indexed Array
6 Indexed Array
7 Associative Array
<?php
//indexed array
$user=array("aly",
"saad",
array (
"php",
"js"
,"jq"
)
);
?>
<pre>
<?php print_r($user);?>
</pre>
<hr />
<?php
//associative array
$x=array(
"Name"=>"Saad",
"Address"=>"Nacer City",
"Email"=>""
);
?>
<pre>
<?php print_r($x);?>
</pre>
<?php echo $x["Address"];?>
7 Associative Array
<?php
//indexed array
$user=array("aly",
"saad",
array (
"php",
"js"
,"jq"
)
);
?>
<pre>
<?php print_r($user);?>
</pre>
<hr />
<?php
//associative array
$x=array(
"Name"=>"Saad",
"Address"=>"Nacer City",
"Email"=>""
);
?>
<pre>
<?php print_r($x);?>
</pre>
<?php echo $x["Address"];?>
7 Associative Array
<?php
//indexed array
$user=array("aly",
"saad",
array (
"php",
"js"
,"jq"
)
);
?>
<pre>
<?php print_r($user);?>
</pre>
<hr />
<?php
//associative array
$x=array(
"Name"=>"Saad",
"Address"=>"Nacer City",
"Email"=>""
);
?>
<pre>
<?php print_r($x);?>
</pre>
<?php echo $x["Address"];?>
7 Associative Array
<?php
//indexed array
$user=array("aly",
"saad",
array (
"php",
"js"
,"jq"
)
);
?>
<pre>
<?php print_r($user);?>
</pre>
<hr />
<?php
//associative array
$x=array(
"Name"=>"Saad",
"Address"=>"Nacer City",
"Email"=>""
);
?>
<pre>
<?php print_r($x);?>
</pre>
<?php echo $x["Address"];?>
<?php
//indexed array
$user=array("aly",
"saad",
array (
"php",
"js"
,"jq"
)
);
?>
<pre>
<?php print_r($user);?>
</pre>
<hr />
<?php
//associative array
$x=array(
"Name"=>"Saad",
"Address"=>"Nacer City",
"Email"=>""
);
?>
<pre>
<?php print_r($x);?>
</pre>
<?php echo $x["Address"];?>
<?php
//indexed array
$user=array("aly",
"saad",
array (
"php",
"js"
,"jq"
)
);
?>
<pre>
<?php print_r($user);?>
</pre>
<hr />
<?php
//associative array
$x=array(
"Name"=>"Saad",
"Address"=>"Nacer City",
"Email"=>""
);
?>
<pre>
<?php print_r($x);?>
</pre>
<?php echo $x["Address"];?>
8 Array Functions
<!DOCTYPE html>
<html ><head>
<title>Array Functions</title>
</head><body><?php $associative=array(
"C-name"=>"A-aly",
"A-phone"=>"C-234423",
"B-Address"=>"d-nacer city",
"d-Address"=>"B-nacer city"
);
?>
<p>count() - return the number of elements of an array.</p>
<?php
$elements= count($associative);
echo $elements;
?>
<table border="1">
<tr>
<td><p>sort() - sort arrays in ascending order.</p>
<?php sort($associative);?>
<pre>
<?php print_r($associative);?>
</pre></td>
<td><p>rsort() - sort arrays in descending order.
</p>
<?php rsort($associative);?>
<pre>
<?php print_r($associative);?>
</pre></td>
</tr>
<tr>
<td><p>asort() - sort associative arrays in ascending order, according to the value ;!DOCTYPE html>
<html ><head>
<title>Array Functions</title>
</head><body><?php $associative=array(
"C-name"=>"A-aly",
"A-phone"=>"C-234423",
"B-Address"=>"d-nacer city",
"d-Address"=>"B-nacer city"
);
?>
<p>count() - return the number of elements of an...