Search Tutorials
The Tutorials in this series are created in XAMPP 5.5.19 on Ubuntu 14.04. PHP: Hypertext Preprocessor" is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. Read more
1.Arrays
Foss : PHP and MySQL - Punjabi
Outline: Arrays An array stores multiple values in one single variable. Numeric array - An array with a numeric index. Associative array - An array where each ID key is associated with a..
Basic

Foss : PHP and MySQL - Punjabi
Outline: Multi-Dimensional Arrays In a multidimensional array, each element in the main array can also be an array. And each element in the sub-array can be an array, and so on.
Basic

Foss : PHP and MySQL - Punjabi
Outline: Loops - While Statement The while loop executes a block of code while a condition is true. while (condition) code to be executed;
Basic

Foss : PHP and MySQL - Punjabi
Outline: Loops - Do-While Statement The do...while statement will always execute the block of code once, it will then check the condition, and repeat the loop while the condition is true..
Basic

Foss : PHP and MySQL - Punjabi
Outline: Loops - For Statement The for loop is used when you know in advance how many times the script should run. Syntax: for (init; condition; increment) code to be executed;
Basic

Foss : PHP and MySQL - Punjabi
Outline: Loops ( ਲੂਪਸ ) - Foreach Statement foreach ( ਫਾਰਇਚ ) ਲੂਪ, ਐਰੇ ਦੇ ਮਾਧਿਅਮ ਰਾਹੀਂ ਲੂਪ ਕਰਨ ਲਈ ਪ੍ਰਯੋਗ ਕੀਤੀ ਜਾਂਦੀ ਹੈ । ਫਾਰਇਚ ( $ array as $ value ) ਕੋਡ ਜਿਸ ਨੂੰ ਚਲਾਇਆ..
Basic

Foss : PHP and MySQL - Punjabi
Outline: ਫੰਕਸ਼ੰਸ ( ਬੇਸਿਕ ) ਜਦੋਂ ਪੇਜ ਲੋਡ ਹੁੰਦਾ ਹੈ ਤਾਂ ਸਕਰਿਪਟ ਨੂੰ ਚਲਾਉਣ ਲਈ ਤੁਸੀ ਇਸਨੂੰ ਫੰਕਸ਼ਨ ਵਿੱਚ ਰੱਖ ਸੱਕਦੇ ਹੋ । ਫੰਕਸ਼ਨ , ਫੰਕਸ਼ਨ ਨੂੰ ਕਾਲ ਕਰਕੇ ਚਲਾਇਆ ਜਾਵੇਗਾ । ਤੁਸੀ ਪੇਜ ਵਿੱਚ ਕਿਤੋਂ ਵ..
Basic

Foss : PHP and MySQL - Punjabi
Outline: ਫੰਕਸ਼ੰਸ ( ਏਡਵਾਂਸਡ ) ਅਸੀ ਘੋਸ਼ਣਾ ਅਤੇ ਕਾਲਿੰਗ ਦੋਨਾਂ ਦੇ ਦੌਰਾਨ ਵੀ ਫੰਕਸ਼ੰਸ ਪੈਰਾਮੀਟਰਸ ਕਾਲ ਕਰ ਸੱਕਦੇ ਹਾਂ । ਫੰਕਸ਼ਨ ਫੰਕਸ਼ਨਨੇਮ ( $ param1 , $ param2 ) ; / / ਫੰਕਸ਼ਨ ਕਾਲ ਦੇ ਦੌਰਾਨ ਫੰਕਸ਼..
Basic

Foss : PHP and MySQL - Punjabi
Outline: POST Variable Built-in $_POST ਫ਼ੰਕਸ੍ਹਨ method="post" ਰਾਹੀਂ ਫਾਰਮ ਵਿਚੋਂ ਮਾਨ ਪ੍ਰਾਪਤ ਕਰਨ ਲਈ ਵਰਤੇ ਜਾਂਦੇ ਹਨ POST ਮੈਥਡ ਰਹਿਣ ਭੇਜੀ ਸੂਚਨਾ ਦੂਜਿਆਂ ਨੂੰ ਦਿਖਾਈ ਨਹੀਂ ਦਿੰਦੀ ਅਤੇ ਭੇਜੀ ਜਾਣ ਵਾਲੀ ..
Basic

Foss : PHP and MySQL - Punjabi
Outline: Embedding PHP ( ਐਮਬੇਡਿੰਗ PHP ) HTML ( ਏਚ ਟੀ ਏਮ ਏਲ ) ਕੋਡ ਵਿੱਚ Php ( ਪੀਏਚਪੀ ) ਕੋਡ ਨੂੰ ਕਿਵੇਂ ਲਾਗੂ ਕੀਤਾ ਜਾਵੇ । ਇਸ ਉੱਤੇ ਇਹ ਇੱਕ ਛੋਟਾ ਟਿਊਟੋਰਿਅਲ ਹੈ ।
Basic

Foss : PHP and MySQL - Punjabi
Outline: Common Ways to Display HTML ( HTML ਨੂੰ ਦਿਖਾਉਣ ਦੇ ਤਰੀਕੇ ) ਅਸੀ HTML ਕੋਡ ਦਾ ਪ੍ਰਯੋਗ PHP ਸਕਰਿਪਟ ਦੇ ਅੰਦਰ ਵੀ ਕਰ ਸਕਦੇ ਹਾਂ। ਲਗਭਗ ਹਰ ਇੱਕ HTML tags ਨੂੰ PHP ਸਕਰਿਪਟ ਦੇ ਅੰਦਰ ਵਰਤਿਆ ਜਾ ਸ..
Basic

Foss : PHP and MySQL - Punjabi
Outline: Common Errors ( ਸਧਾਰਨ ਗਲਤੀਆਂ ) ( Part 1 ) ਸਿੱਖਣਾ ਕਿ ਏਰਰਸ ( ਗਲਤੀਆਂ ) ਨੂੰ ਕਿਵੇਂ ਲਭਣਾ ਹੈ ਅਤੇ ਉਨ੍ਹਾਂਨੂੰ ਕਿਵੇਂ ਠੀਕ ਕਰਨਾ ਹੈ । ਇੱਕੋ ਜਿਹੇ ਪਾਰਸ ਏਰਰਸ ( ਗਲਤੀਆਂ ) । comma ਜਾਂ s..
Basic

Foss : PHP and MySQL - Punjabi
Outline: Common Errors ( ਆਮ ਗਲਤੀਆਂ ) ( Part 2 ) ਲਾਪਤਾ ਜਾਂ ਫਾਲਤੂ ਬਰੈਕੇਟਸ (brackets) ਦੇ ਕਾਰਨ ਪਾਰਸ ਏਰਰ ( ਗਲਤੀ ) ਮੁਸ਼ਕਿਲ ਗਣਿਤ operations ਦੇ ਦੌਰਾਨ ਬਰੈਕੇਟਸ ਦੀ ਤੁਲਣਾ ਕਰਨਾ ਸਹੀ indentati..
Basic

Foss : PHP and MySQL - Punjabi
Outline: Common Errors (ਆਮ ਗਲਤੀਆਂ) Part 3 "Cannot modify header information - headers already sent by..." ਏਰੇਰਸ ਜਦੋਂ header() function ਦੀ ਵਰਤੋਂ ਕਰਦੇ ਹਾਂ output buffering (ਆਉਟਪੁੱਟ ਬਫਰਿੰ..
Basic

15.MySQL Part 1
Foss : PHP and MySQL - Punjabi
Outline: MySQL ( Part 1 ) PHPMyAdmin ਇੰਟਰਫ਼ੇਸ ਦੀ ਜਾਣ ਪਹਿਚਾਣ । ਇੱਕ ਨਵਾਂ ਡਾਟਾਬੇਸ ਬਣਾਉਣਾ , ਇੱਕ ਨਵਾਂ ਟੇਬਲ ਬਣਾਉਣਾ ਅਤੇ ਜ਼ਰੂਰੀ ਡਾਟਾਟਾਇਪ ਦੇ ਨਾਲ ਖੇਤਰ ਦੀ ਵੈਲਿਊ ਐਂਟਰ ਕਰਣਾ । PHPMyAdmin ਵਿ..
Intermediate

16.MySQL Part 2
Foss : PHP and MySQL - Punjabi
Outline: MySQL ( Part 2 ) ਡਾਟਾਬੇਸ ਨਾਲ ਜੋੜਨਾ ਅਤੇ ਡਾਟਾਬੇਸ ਵਿੱਚ ਡਮੀ ਡਾਟਾ ਸ਼ਾਮਲ ਕਰਨਾ । mysql_connect ( server_addr , username , password ) - authorized ਯੂਜ਼ਰ ਅਤੇ ਪਾਸਵਰਡ ਨਾਲ ਡਾਟਾਬੇਸ ..
Intermediate

17.MySQL Part 3
Foss : PHP and MySQL - Punjabi
Outline: MySQL ( Part 3 ) ਡਾਟਾਬੇਸ ਵਿੱਚ ਕੁੱਝ ਡਾਟਾ ਲਿਖਣਾ ( INSERT ਅਤੇ UPDATE queries ) mysql_query ( TYPE_HERE_YOUR_MYSQL_QUERY ) - ਆਪਣੇ ਡਾਟਾਬੇਸ ਉੱਤੇ ਵਿਸ਼ੇਸ਼ query ਰਨ ਕਰਨ ਲਈ ਇਸ ਫੰਕਸ਼..
Intermediate

18.MySQL Part 4
Foss : PHP and MySQL - Punjabi
Outline: MySQL ( Part 4 ) ਡਾਟਾਬੇਸ ਟੇਬਲ ਵਿਚੋਂ ਡਾਟਾ ਪ੍ਰਾਪਤ ਕਰਨਾ ਅਤੇ ਇਸਨੂੰ ਦਿਖਾਉਣਾ । SELECT QUERY - SELECT * FROM table_name WHERE att1 = abc / / ਕਵੇਰੀ ਡਾਟਾਬੇਸ ਵਿਚ ਵੈਲਿਊ ਰਿਟਰਨ ਕ..
Intermediate

19.MySQL Part 5
Foss : PHP and MySQL - Punjabi
Outline: MySQL ( Part 5 ) mysql_fetch_assoc — ਸੰਬੰਧਿਤ ARRAY ਦੀ ਤਰਾਂ ਇੱਕ RESULT ROW ਕੱਢਣਾ । array mysql_fetch_assoc ( resource $ result ) / / ਸੰਬੰਧਿਤ ARRAY ਨੂੰ ਰਿਟਰਨ ਕਰਦਾ ਹੈ ਜ..
Intermediate

20.MySQL Part 7
Foss : PHP and MySQL - Punjabi
Outline: MySQL ( Part 7 ) HTML ਫਾਰਮਸ ਪ੍ਰਯੋਗ ਕਰਕੇ ਡਾਟਾਬੇਸ ਟੇਬਲ ਦੀ ਮੌਜੂਦਾ ਵੈਲਿਊਜ਼ ਨੂੰ ਬਦਲਨਾ । ਵਿਅਕਤੀਗਤ ਵੈਲਿਊਜ਼ ਦੀ id ਪ੍ਰਯੋਗ ਕਰਕੇ ਖਾਸ ਰੇਕਾਰਡਸ ਅਪਡੇਟ ਕਰਨਾ ।
Intermediate
