questions/web-development/php
Hey @kartik, It's quite simple to have php ...READ MORE
Hello @kartik, Use the toSql() method on a QueryBuilder instance. DB::table('users')->toSql() would return: select * ...READ MORE
Hello @kartik, From your description of being redirected ...READ MORE
Hello kartik, MySQL is the most popular database ...READ MORE
Hello @kartik, The proper way would be to ...READ MORE
Hello, To turn the actual display of errors ...READ MORE
Hello @kartik, You access the property in the ...READ MORE
Hello @kartik, This removes duplicates in place, without ...READ MORE
Hello @kartik, It is not working because you have to ...READ MORE
Hello @kartik 1.) Download PHPMailer, open the zip file ...READ MORE
Hello @kartik, You just have to include the safestring.class.php before ...READ MORE
Hello @kartik, Try this: SELECT * INTO OUTFILE "c:/mydata.csv" FIELDS ...READ MORE
Hello @kartik, You can use this function: function str_lreplace($search, ...READ MORE
Hello @kartik, pathinfo() $path_info = pathinfo('/foo/bar/baz.bill'); echo $path_info['extension']; // "bill" Hope ...READ MORE
Hello @kartik, You don't appear to have write ...READ MORE
Hii, Add this line inside the main index.php of codeigniter ...READ MORE
Hello @kartik, You could use the copy() function : // Will ...READ MORE
Hello @kartik, CURL-less method with PHP5: $url = 'http://server.com/path'; $data ...READ MORE
Hello @kartik, Since the page that is sending ...READ MORE
Hello @kartik, There is a very simple solution: http_build_query(). ...READ MORE
Hello @kartik, Go to Tools->Plugins. In the Settings tab ensure that the ...READ MORE
Hello, Considering that you have $replaced = array('1' => ...READ MORE
Hello @kartik, To see the index for a ...READ MORE
Hii, Use the --no-scripts flag to prevent artisan from executing ...READ MORE
Hello @kartik, There is now a php artisan view:clear command ...READ MORE
Hello @kartik, Try using batch file Open notepad type php -S ...READ MORE
Hello, To convert a date retrieved from MySQL ...READ MORE
Hello @kartik, This code does the trick // Name ...READ MORE
Hello @kartik, You have to modify the php.ini ...READ MORE
Hello @kartik, You can use the following approach. $data ...READ MORE
Hii @kartik, Use the session_set_cookie_params funciton to set the session. If necessary call this function ...READ MORE
Hii, You can pass an associative array to http_build_query() and ...READ MORE
Hello @kartik, If you put an Iframe in ...READ MORE
Hello @kartik, The problem is that the package ...READ MORE
Hello @kartik, Try this: class MySimpleXMLElement extends SimpleXMLElement{ ...READ MORE
Hii, Here is an approach I have used, it's ...READ MORE
Hello @kartik, PHPMailer has the ability to automatically ...READ MORE
Hello @kartik, $_GET is not a function or language ...READ MORE
Hello @kartik, The PHP and the HTML should ...READ MORE
Hello, PHPMailer uses Exceptions. Try the following code: require_once '../class.phpmailer.php'; $mail = new ...READ MORE
Hello @kartik, You have to use br when ...READ MORE
Hello @kartik, If you're using PDO, use PDO::lastInsertId. If you're ...READ MORE
Hello, niroj. Here is my idea session_start(); $_SESSION['USERNAME'] ...READ MORE
Hey @kartik, You have to provide MySQL hostname, ...READ MORE
Hello @kartik, Setting the bind-address to the server's network IP ...READ MORE
Hello @kartik, You need to capture the stderr too. Redirecting stderr to stdout should do ...READ MORE
Hello @kartik, You can use basename() and $_SERVER['PHP_SELF'] to get current page ...READ MORE
Hello @kartik, Create a new file in your ...READ MORE
Hello @kartik, Use this code: function post_without_wait($url, $params) { ...READ MORE
Hello @kartik, It should be $_COOKIE['name'], not $_COOKIE('name') $_COOKIE is an array, ...READ MORE
OR
Already have an account? Sign in.