questions/web-development/php/page/12
Hello @kartik, Follow these steps to reset password ...READ MORE
Hello @kartik, Try this: class MySimpleXMLElement extends SimpleXMLElement{ ...READ MORE
Hello @kartik, In Ubuntu for install imap use sudo ...READ MORE
Hello, Try mysql_fetch_object(). It returns an object, not an ...READ MORE
Hii, You can pass an associative array to http_build_query() and ...READ MORE
Hello @kartik, This is what I'm doing now: protected ...READ MORE
Hello @kartik, Do the following: foreach ($fields as $key ...READ MORE
Hello @kartik, You can use STR_TO_DATE() to convert your strings ...READ MORE
Hii, You can look at phpinfo() or check ...READ MORE
Hello @kartik, Try: if (isset($_POST['remove'])) { ...READ MORE
Hello @kartik, Use this: foreach($array as $elementKey => $element) ...READ MORE
Hello @kartik, Using property_exists( mixed $class , string $property ...READ MORE
Hello @kartik, You can do the following using array_map: $new_arr ...READ MORE
Hello @kartik, it seems that your JSON is ...READ MORE
Hello @kartik, You don't appear to have write ...READ MORE
Hello, use this code echo '<script language="javascript">'; echo 'alert("message successfully ...READ MORE
Hello, PHPMailer uses Exceptions. Try the following code: require_once '../class.phpmailer.php'; $mail = new ...READ MORE
Hello @kartik, In version 5.6.5, it is possible ...READ MORE
Hello @kartik, You could have a single key ...READ MORE
Hello @kartik, Try this: DATE_FORMAT(FROM_UNIXTIME(`user.registration`), '%e %b %Y') AS ...READ MORE
Hello @kartik, The warnings about foregoing enclosures are ...READ MORE
Hello @kartik, This is not possible in PHP. All ...READ MORE
Hello @kartik, Test different ports: $wait = 1; // ...READ MORE
Hello @kartik, If you only have 2 keys ...READ MORE
Hello @kartik, Use the strpos function: $haystack = "foo bar baz"; $needle ...READ MORE
Hello @kartik, file_put_contents() does not create the directory structure. ...READ MORE
Hello, Try this code: function rrmdir($dir) { if (is_dir($dir)) { ...READ MORE
Hii, Just unset the node: $str = <<<STR <a> ...READ MORE
Hello @kartik, You upgraded to PHP 7, and ...READ MORE
Hello @kartik, There is a very simple solution: http_build_query(). ...READ MORE
Hello @kartik, Include has the scope of the ...READ MORE
Hello @kartik, You can fetch the value of ...READ MORE
Hello @kartik, Sending an HTTP POST request using file_get_contents is ...READ MORE
Hello, You have to use CURL function does_url_exists($url) { ...READ MORE
Hello, Try this without regular expressions: <?php ...READ MORE
Hii, Use mysqli_error() As in: $sql = "Your SQL statement ...READ MORE
Hello @kartik, You could try the following: Route::controller('login','AuthController'); Then in ...READ MORE
Hello @kartik, I don't think you can - ...READ MORE
Hii @kartik, Try to implement this: @if (env('APP_ENV')!='Production') Enviroment Test @endif Hope ...READ MORE
Hello, Try this: if ($thing->trashed()) { ... } READ MORE
Hello @kartik, Go to Tools->Plugins. In the Settings tab ensure that the ...READ MORE
Hello @kartik, If this is just for debugging ...READ MORE
Hello @kartik, addslashes() isn't fully adequate, but PHP's mssql ...READ MORE
You can use isset function: if(isset($_GET['id'])) { ...READ MORE
Hello @kartik, The proper way would be to ...READ MORE
Hello @kartik, To evaporate the warning, you can ...READ MORE
Hii, Add this line inside the main index.php of codeigniter ...READ MORE
Hello, Try this code: if (!function_exists('getallheaders')) { ...READ MORE
Hello @kartik, The problem is that the package ...READ MORE
Hello @kartik, It should be $_COOKIE['name'], not $_COOKIE('name') $_COOKIE is an array, ...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.