questions/web-development/php
Hello @kartik, Try this: preg_replace('/\\?.*/', '', $str) Hope ...READ MORE
I am getting this error: Parse error: syntax ...READ MORE
I want to retrieve data from multiple ...READ MORE
Using Google Maps API, I'm attempting to ...READ MORE
I have a users table with this ...READ MORE
Hello @kartik, Use PHP's date() function. Example: echo date('m/d/Y', 1299446702); Hope it helps!! Thank ...READ MORE
I tried this, but it didn't work: <input ...READ MORE
Hello, Try the following code : $username='ABC'; $password='XYZ'; $URL='<URL>'; $ch = curl_init(); curl_setopt($ch, ...READ MORE
I am getting this error when I ...READ MORE
I was trying to install Laravel in ...READ MORE
Hello @kartik, Laravel 5.7 introduced the following functionality: Auth::routes(['register' ...READ MORE
Hello @kartik, Try this: div.image { width:100px; ...READ MORE
Hello @kartik, You can create a new group ...READ MORE
In my patient table, I want to ...READ MORE
Hello @kartik, Using array_search() and unset, try the following: if (($key = ...READ MORE
Hello @kartik, Try this: UPDATE business AS b INNER JOIN ...READ MORE
Hello @kartik, Use the reference operator to get ...READ MORE
Hello @kartik, You access the property in the ...READ MORE
I want to make a PHP downloader ...READ MORE
Hello @kartik, From your description of being redirected ...READ MORE
Can a row ID be passed to ...READ MORE
Hello @kartik, To directly login to a remote ...READ MORE
I know that PHP is a server-side ...READ MORE
Hello @kartik, You are looking for the extends keyword: Interface IFoo ...READ MORE
Hello @kartik, This is possible in HTML5. Example (PHP ...READ MORE
I want to use cURL for a GET request ...READ MORE
I want to use Baloo2 Google Font ...READ MORE
Hello @kartik, If you put an Iframe in ...READ MORE
Hello @kartik, Use spl_object_hash() for that. It returns an unique identifier ...READ MORE
Hello @kartik, You can use instanceof: if ($pdo instanceof PDO) ...READ MORE
Hello @kartik, the php command offers two switches to ...READ MORE
I am using Codeigniter and its validation ...READ MORE
After updating my PHP version to 5.4.0-3, ...READ MORE
I want to create and save a file ...READ MORE
I'm working on an AngularJS site and ...READ MORE
Simply, $source = 'Source_file_location' ...READ MORE
Hello @kartik, The PHP and the HTML should ...READ MORE
I've been trying to use cURL to ...READ MORE
Hello @kartik, Works with both POST and GET ...READ MORE
This Code: <?php include("class.phpmailer.php"); include("class.smtp.php"); $mail = new PHPMailer(); $mail->IsSMTP(); // ...READ MORE
The route is created in appConfigRoutes.php, and ...READ MORE
Hello @kartik, Add this to the page that ...READ MORE
What is the distinction between $_ENV and ...READ MORE
On one of my website pages, there ...READ MORE
Hello @kartik, You can use the following approach. $data ...READ MORE
Hii, If you don't have access to php.ini, adding ...READ MORE
Hello @kartik, It is actually a permission issue. ...READ MORE
Can anyone tell me why this bit ...READ MORE
To create a service that wraps browser ...READ MORE
Hello @kartik, Try this php code. <?PHP function getUserIP() { ...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.