Meaning of Curly Braces in PHP
What is the meaning of curly braces in PHP? In PHP curly braces are used to explicitly indicate the end of a string. for example let’s say you have this: $computer = ‘computer’; if i … Read more
Programming
What is the meaning of curly braces in PHP? In PHP curly braces are used to explicitly indicate the end of a string. for example let’s say you have this: $computer = ‘computer’; if i … Read more
Here is how to do a confirm box just in case you forget it <span> <a href=”delete.php” <strong>OnClick</strong> OnClick=”return confirm(\’Are you sure you want to delete?\’);”> delete everything </a> </span>
Getting the last inserted ID in PHP(Mysql) is not too bad. I am assuming that you already have a connection to the database; echo mysql_insert_id(); or $result = mysql_query (‘SELECT LAST_INSERT_ID()’); $row = mysql_fetch_array($result); echo … Read more
Here step my step how to solve the issue First Verify the status of your get_magic_quotes_gpc directive if (get_magic_quotes_gpc()) echo ‘Magic Quotes is enabled’; else echo ‘Magic Quotes is disabled’; or check your php.ini via … Read more
PHP extensions are either compiled into PHP or simply loaded as Shared modules. Compiled into PHP example ./configure –with-mysql or Shared Module example php_mysql.dll http://php.net/manual/en/install.windows.extensions.php php_mysql.so or you can use yum or apt-get depending on … Read more