questions/web-development/php/page/16
Hello @kartik, The $GLOBALS array can be used instead: $GLOBALS['a'] = ...READ MORE
Hello @kartik, Try this: select * from information_schema.columns where table_schema ...READ MORE
Hello @kartik, You can do with the --no-data option with ...READ MORE
Hello @kartik, you can do SELECT STR_TO_DATE(yourdatefield, '%m/%d/%Y') FROM ...READ MORE
Hello @kartik, You could use the copy() function : // Will ...READ MORE
Hello @kartik, Each YouTube video has four generated ...READ MORE
Hello @kartik, Using this command columns names will ...READ MORE
Hello @kartik, Use this: $files = glob('path/to/temp/*'); // get ...READ MORE
I'm having sql query as $login = mysql_real_escape_string(GetFromPost('login')); $password ...READ MORE
Hello @kartik, Try var_export You may want to check out var_export — ...READ MORE
Hello @kartik, Laravel 5.7 introduced the following functionality: Auth::routes(['register' ...READ MORE
Hello, if you are going to store the ...READ MORE
Hello @kartik, pathinfo() $path_info = pathinfo('/foo/bar/baz.bill'); echo $path_info['extension']; // "bill" Hope ...READ MORE
Hello, Use the admin_enqueue_scripts action and the wp_enqueue_script method to add custom ...READ MORE
Hello @kartik, If you're hosting on someone else's ...READ MORE
Hello @kartik, you can use http_response_code() for get and set ...READ MORE
Hello @kartik, Try this: UPDATE business AS b INNER JOIN ...READ MORE
Hello @kartik, Make sure they are running Latest ...READ MORE
Hello @kartik, Add a limit to the delete query delete from orders where ...READ MORE
Hello @kartik, To directly login to a remote ...READ MORE
Hello @kartik, Set posts_per_page parameter in args to ...READ MORE
Hello @kartik, Use the header() function to send an HTTP Location header: header('Location: '.$newURL); Contrary to ...READ MORE
Hii @kartik, Working with different servers with various ...READ MORE
Hello @kartik, If all your dates are posterior ...READ MORE
Hello @kartik, The following should help realpath — Returns canonicalized ...READ MORE
Hello @kartik, Use COALESCE: DECLARE @Names VARCHAR(8000) SELECT @Names = ...READ MORE
Hello @kartik, The following enables all errors: ini_set('display_startup_errors', 1); ini_set('display_errors', ...READ MORE
Hello @kartik, You need to change some setting ...READ MORE
Hello @kartik, Try: mysql -u username -p database_name < ...READ MORE
Hello @kartik, You can use the following approach. $data ...READ MORE
Hello @kartik, Running php -m will give you all the ...READ MORE
Hello @kartik, Use the following code: ini_set("log_errors", 1); ini_set("error_log", "/tmp/php-error.log"); error_log( ...READ MORE
Hello, It's the "null coalescing operator", added in ...READ MORE
Hello @kartik, Try: cat filename.sql | mysql -u username ...READ MORE
Hello @kartik, This removes duplicates in place, without ...READ MORE
Hello @kartik, CREATE TABLE your_table (some_id int, your_column ...READ MORE
Hello @kartik, Use this query: SELECT User FROM mysql.user; Which ...READ MORE
Hello @kartik, Try adding this line .htaccess: php_flag display_startup_errors ...READ MORE
Hello @kartik, A MySQL MyISAM table is the ...READ MORE
Hello @kartik, If you pass the JSON in ...READ MORE
Hello @kartik, I use Privoxy and cURL to scrape Tor ...READ MORE
Hello @kartik, Try-Username: root Password: (No password set). Sometimes it doesn't ...READ MORE
Hello @kartik, The user-contributed section in the manual ...READ MORE
Hello @kartik, Change your syntax because it was invalid. Updated syntax: $purchaseOrder = ...READ MORE
Hello @kartik, Don't pass the files into the ...READ MORE
Hello @kartik, The checked property of a checkbox DOM element ...READ MORE
Hello, Here is a code sample of a good ...READ MORE
Hello @kartik, Setting the bind-address to the server's network IP ...READ MORE
Hello @kartik, A lesser known trick is that ...READ MORE
Hello @kartik, Use this: DESCRIBE table; You can also use SHOW ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.