آی پی شما :

نویسندگان وبلاگ

بهترین ها

لینک دوستان

» پرتال دانشگاه جامع علمی کاربردی
» پایگاه اطلاع رسانی شهرستان قوچان
» آموزش شبکه
» خودروهای 2014
» هواشناسی قوچان
» آموزش عالی اترک قوچان
» شهرداری قوچان
» داده کاوی و پردازش داده های بورس
» علمی کاربردی یکدانه شرق قوچان
» جی پی اس موتور
» جی پی اس مخفی خودرو

تبادل لینک هوشمند
برای تبادل لینک  ابتدا ما را با عنوان فناوری اطلاعات یکدانه شرق و آدرس it.quchan.LXB.ir لینک نمایید سپس مشخصات لینک خود را در زیر نوشته . در صورت وجود لینک ما در سایت شما لینکتان به طور خودکار در سایت ما قرار میگیرد.





درباره ما


دانشجویان مرکز آموزش علمی کاربردی یکدانه شرق قوچان
ایجاد کننده وبلاگ : رمضانزاده

ابزارها


رمضانزاده
پنج شنبه 10 ارديبهشت 1394برچسب:, - 9:27

PHP 5 Arrays


An array stores multiple values in one single variable:

Example

<?php

$cars = array("Volvo", "BMW", "Toyota");

echo "I like " . $cars[0] . ", " . $cars[1] . " and " . $cars[2] . ".";

?>

 

رمضانزاده
پنج شنبه 10 ارديبهشت 1394برچسب:, - 9:24

PHP 5 Functions


The real power of PHP comes from its functions; it has more than 1000 built-in functions.


PHP User Defined Functions

Besides the built-in PHP functions, we can create our own functions.

A function is a block of statements that can be used repeatedly in a program.

A function will not execute immediately when a page loads.

A function will be executed by a call to the function.

رمضانزاده
پنج شنبه 10 ارديبهشت 1394برچسب:, - 9:20

PHP 5 for Loops


PHP for loops execute a block of code a specified number of times.


The PHP for Loop

The for loop is used when you know in advance how many times the script should run.

Syntax

for (init counter; test counter; increment counter) {

    code to be executed;

}

Parameters:

  • init counter: Initialize the loop counter value
  • test counter: Evaluated for each loop iteration. If it evaluates to TRUE, the loop continues. If it evaluates to FALSE, the loop ends.
  • increment counter: Increases the loop counter value

رمضانزاده
پنج شنبه 10 ارديبهشت 1394برچسب:, - 9:17

PHP 5 while Loops


PHP while loops execute a block of code while the specified condition is true.


PHP Loops

Often when you write code, you want the same block of code to run over and over again in a row. Instead of adding several almost equal code-lines in a script, we can use loops to perform a task like this.

In PHP, we have the following looping statements:

  • while - loops through a block of code as long as the specified condition is true
  • do...while - loops through a block of code once, and then repeats the loop as long as the specified condition is true
  • for - loops through a block of code a specified number of times
  • foreach - loops through a block of code for each element in an array

رمضانزاده
پنج شنبه 10 ارديبهشت 1394برچسب:, - 9:5

PHP 5 switch Statement


The switch statement is used to perform different actions based on different conditions.


The PHP switch Statement

Use the switch statement to select one of many blocks of code to be executed.

رمضانزاده
پنج شنبه 10 ارديبهشت 1394برچسب:, - 9:0

PHP 5 if...else...elseif Statements


Conditional statements are used to perform different actions based on different conditions.


PHP Conditional Statements

Very often when you write code, you want to perform different actions for different decisions. You can use conditional statements in your code to do this.

In PHP we have the following conditional statements:

  • if statement - executes some code only if a specified condition is true
  • if...else statement - executes some code if a condition is true and another code if the condition is false
  • if...elseif....else statement - specifies a new condition to test, if the first condition is false
  • switch statement - selects one of many blocks of code to be executed

رمضانزاده
پنج شنبه 10 ارديبهشت 1394برچسب:, - 8:45

PHP 5 Operators


PHP Operators

Operators are used to perform operations on variables and values.

PHP divides the operators in the following groups:

  • Arithmetic operators
  • Assignment operators
  • Comparison operators
  • Increment/Decrement operators
  • Logical operators
  • String operators
  • Array operators

رمضانزاده
پنج شنبه 10 ارديبهشت 1394برچسب:, - 8:41

PHP 5 Constants


Constants are like variables except that once they are defined they cannot be changed or undefined.


PHP Constants

A constant is an identifier (name) for a simple value. The value cannot be changed during the script.

A valid constant name starts with a letter or underscore (no $ sign before the constant name).

Note: Unlike variables, constants are automatically global across the entire script.

صفحه قبل 1 2 3 4 5 ... 10 صفحه بعد

آرشیو

پیوندهای روزانه

Online User » وبلاگ دانشجویان روابط عمومی یکدانه شرق قوچان
» شارژ آنلاین سیم کارت
» ساختن وبلاگ
» شماره پیمان کارها
» حمل ته لنجی با ضمانت از دبی
» خرید از چین
» قلاده اموزشی ضد پارس سگ

[ همه لینک ها ]

ورود اعضا:

نام :
وب :
پیام :
2+2=:
(Refresh)

خبرنامه وب سایت:





آمار وب سایت:  

بازدید امروز :
بازدید دیروز :
بازدید هفته :
بازدید ماه :
بازدید کل :
تعداد مطالب : 75
تعداد نظرات : 4
تعداد آنلاین : 1