PHP Variables Tutorial – Learn PHP Programming

********************New Video*********************
Responsive Navbar with Bootstrap 4
https://youtu.be/L0uNai3XyKQ
****************************************************
PHP variables naming convention and rules, referencing PHP variables. Variable scope, local and global, PHP variable types. Using functions and ternary expressions as variable values. PHP Variable variable, using the variable value as a new variable name. Deleting variables and checking if the variables exist with constructs.

*********************************************

( New Video! ) How to Create Transparent Drop Down Navigation Menu with CSS and HTML

*********************************************
“““““““““““““““““““““““““““““““““““““““““““““““

( Website ) https://clevertechie.com – PHP, JavaScript, WordPress, CSS, and HTML tutorials in video and text format with cool looking graphics and diagrams.

( YouTube Channel ) https://www.youtube.com/c/CleverTechieTube

( Google Plus ) https://goo.gl/J71p6f – clever techie video tutorials.

( Facebook ) https://www.facebook.com/CleverTechie/

( Twitter ) https://twitter.com/theclevertechie

“““““““““““““““““““““““““““““““““““““““““““““““

Comments

zdrljp says:

Thanks, keep up the good work. Subscribed

Andre Morency says:

I like your video, keep it up!

Abhinav Singh says:

please tell me the editor that u using ☺

Rowena Belinskaya says:

I couldn’t get the program to recognize $Mars as a variable. I could get it to work if I used $planets[2] for output and just directly changing the value by $planets[2] = ‘Roman god of war’; But otherwise it threw errors about array to string conversion and unknown variable. Anyone got any insight on this?

Isaac Misheal says:

hello please Clever Techie what software do you use for your php programs. like me i use visual studio code please love your own software can give me?

Nur Naafizah Mohammad Rapi says:

< ?php $username = "root"; $password = "test123"; $hostname = "localhost"; $dbhandle = mysql_connect($hostname, $username, $password) or die ("Could not connect to database"); $selected = mysql_select_db("login", $dbhandle); if (isset($_POST['user']) && isset ($_POST['pass'])) { $user = $_POST['user']; $pass = $_POST['pass']; $query = mysql_query("SELECT * FROM users WHERE Username ='$user'"); if(mysql_num_rows($query) > 0) {
echo ‘Username already exists!’;
}else{
mysql_query(“INSERT INTO users (Username, Password) VALUES (‘$user’, ‘$pass’)”);
header (“Location: index.php”)
}

}
mysql_close();
?>


SIgnup!

Username:

Password:




Alex says:

Thank you very much for your tutorials!
1) I see how it works with the “Variable variables” 03:33 , but i don’t understand, where it is usefull to use theme in my scripts…?!
2) Is it a problem to unset an numeric array, because the index [3] is missing in the array?

praveen sharma says:

v good

Muhammad Yusup says:

what text editor do you use?

Tricks Funda Pk says:

Nice video, keep it up dear..
Also watch full PHP developer course here!!!

PHP & MSQLi Complete Course In Urdu/Hindi: https://www.youtube.com/playlist?list=PLn1lUYPlZemjT7PP6f4Pp0z_BGoyb65kv

Cody Boelens says:

8:52

Asher Silver says:

DO MORE PHP

Robyn Bieber says:

OMG I love your diagrams. This help so much. Thank you.

Nur Naafizah Mohammad Rapi says:

hye , would you mind to help me , to fix my coding.

Asher Silver says:

i saw that. i hope theyre family 😛

 Write a comment

*

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!