How to check a folder doesn’t already exist using PHP
In this tutorial we will create a new folder using mkdir command and check if condition folder exist and not exist using is_dir command below code available so check.. PHP Code
In this tutorial we will create a new folder using mkdir command and check if condition folder exist and not exist using is_dir command below code available so check.. PHP Code
Before you can get content out of your MySQL database, you must know how to establish a connection to MySQL in a PHP script. To run basic queries from within MySQL is very easy. This post will show you how to get up and running. Example
The sizeof() function is used to count the elements of an array or the properties of an object. This function is an alias of count(). The sizeof() function is an alias of the count() function. Returns the number of elements in the array Parameter Description array Required. Specifies the array mode Optional. Specifies the mode. […]
Today I’m going to share about multiple file upload in PHP. We’ll be using jQuery to add or remove new file fields. This one is useful when your system has multiple image upload or document management feature. You may also like How to Create Dynamic Add/Remove rows with input fields in HTML table using JavaScript and How to […]
In this article we learn how to convert HTML code With CSS to PDF using PHP ,For HTML code to PDF conversion we use TC PDF library. HTML to PDF conversion is always a problem for PHP Programmers and all the time they search for suitable solutions so after reviewing this article you will not […]
.hide() is similar to CSS property display:none {Also, I just saw xiaocui included that in his example. In the second example you can use ‘hidden’ as the value if you don’t want your layout to be affected. Check condition in jQuery hide
PHP Code
We can insert the record using the DB facade with execute an insert statement. This method takes the raw SQL query as its first argument and bindings as its second argument. Let’s create an insert Statement in laravel 5
When creating scripts and web applications, error handling is an important part. If your code lacks error checking code, your program may look very unprofessional and you may be open to security risks. Try − A function using an exception should be in a “try” block. If the exception does not trigger, the code will continue […]
First create an array with some numeric value. Now create a temporary variable $temp in which stored array’s first index’s value i.e 100 and follow below example. Example