-
Will you learn PHP in 2017? Or is it considered to be the bad language ?
I am a web developer with plenty of experience with PHP and knowledgeable on OO PHP. PHP is NOT a bad language, it is a bad language when it is done badly! People need to learn the fundamentals before even deciding to work with PHP, Good knowledge of how to use PHP effectively and correctly will go a long way.
- Greetings!
-
PHP Query MySQL with POST variable
PHP.net does warn against using mysql_...this will be phased out in the upcoming year so you need to learn mysqli or PDO as your site will cease to work afterward.
- How to learn PHP?
- Update Facebook business page with PHP?
-
-
Error connecting to database
to see if a script is assigning variables use this: var_dump($username); var_dump($password); obviously the $username and $password can be replaced with any variable name you are trying to assign.
-
php runs both codes :S
put session_start at beggining of the script <?php session_start(); ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PHP Explode > Friends Function
Thanks man
- PHP Explode > Friends Function
-
New Website Help Needed!
Hey Germaholic, I show interest in something such as this. I am a coder. I will add you to my MSN.
-
What are you working on - Sneak Peek?
Hey Guys. Well I have been working on a video website which would house tutorials. The website itself is complete now I just need to produce technical and userguide documentation. Here is a photo of the end-product.
-
Test out my ajax search please :)
Good Work Webdesigner93, I like it; Could be the next search engine but I would get rid of them 'ads' on the homepage...it spoils it
-
Getting weird error with php return
function random(){ $path = check($foo, $bar); } function check($foo, $bar){ $q = "SELECT bar,path FROM `Table` WHERE foo = '".$foo."'"; $result = DbConnect->query($q); $dbarray = DbConnector->fetchArray($result); if($bar == $dbarray['bar']){ $randVar = $dbarray['path']; return $randVar; } else{ return false; } } That should work. Remember when working in classes with php you should always define the particular 'task' you want to do a typical calling class would be $dbconnect->query("SELECT * FROM member"); This would run the query where-as at the moment you arent defining what it is you want to return.
-
Drupal: how to add a field of content to the sidebar(a block)
Yes you can. Login as administrator then go to 'administer' and then 'blocks' and from there you can control where blocks appear on your website.
-
Back from the dead
Welcome to the forum Miami You know the drill