questions/web-development/php
Hey, In the HTML form, we add ...READ MORE
Hello @kartik, Use this: $sth = mysqli_query($conn, "SELECT ..."); $rows ...READ MORE
Hello @kartik, You can use basename() and $_SERVER['PHP_SELF'] to get current page ...READ MORE
Hello @kartik, You upgraded to PHP 7, and ...READ MORE
I want to get data from the ...READ MORE
Hii @kartik, Try to implement this: @if (env('APP_ENV')!='Production') Enviroment Test @endif Hope ...READ MORE
Hello @kartik, If this is just for debugging ...READ MORE
Hello kartik, Actually there are many functions that ...READ MORE
Hii @kartik, The $_REQUEST variable is used to read the ...READ MORE
Hello @kartik, Set the name in the form ...READ MORE
Hello @kartik, Try this: {% if var == constant('Namespace\\Entity::TYPE_PERSON') ...READ MORE
Hello @kartik, I don't think you can - ...READ MORE
I am trying to connect MySQL Database ...READ MORE
Hey @kartik, The first thing we will do ...READ MORE
I want to check if an element is ...READ MORE
Hello @kartik, Try this query: mysql_query(" SELECT * FROM `table` WHERE `column` ...READ MORE
Hello @kartik, You have to use br when ...READ MORE
Hello @kartik, Have a look at $_SERVER['REQUEST_URI'], i.e. $actual_link = ...READ MORE
dsihhidsvhhdi READ MORE
Hello @kartik, If empName is a VARCHAR(50) column: ALTER ...READ MORE
I am working on functionality that removes ...READ MORE
Hello, When the variable is passed as value ...READ MORE
Hii, The $_SERVER["PHP_SELF"] variable can be used by ...READ MORE
You can use Google dorks like "inurl:.php?id=" ...READ MORE
Hello @kartik, Try this code below: <?php if (has_post_thumbnail( $post->ID ...READ MORE
Hello @kartik, If only using IPv4: use ip2long() to convert the ...READ MORE
Hii @kartik, When an included file returns something, ...READ MORE
Hello @kartik, Try this way: $memcachedConfig = array("host" => ...READ MORE
Hello @kartik, go to this address : /app/Providers/AppServiceProvider.php and append ...READ MORE
I installed Fedora 14 and installed the ...READ MORE
Hello @kartik, The naming is not all that ...READ MORE
Use phpseclib, a pure PHP, SSH implementation. An example: <?php include('Net/SSH2.php'); $ssh ...READ MORE
Hello, Php has a function for this, just ...READ MORE
Hello @kartik, You could try the following: Route::controller('login','AuthController'); Then in ...READ MORE
I am having trouble sending mail through ...READ MORE
Hello @kartik, Try using batch file Open notepad type php -S ...READ MORE
Hello @kartik, For the URI query use urlencode/urldecode; for ...READ MORE
Hello @kartik, To install SOAP in PHP-7 run ...READ MORE
Hello @kartik, Try this: SELECT * INTO OUTFILE "c:/mydata.csv" FIELDS ...READ MORE
Hello @kartik, Use COALESCE: DECLARE @Names VARCHAR(8000) SELECT @Names = ...READ MORE
PHP is compiled to byte code before ...READ MORE
Hello, Either decode them using html_entity_decode or remove them using preg_replace: $Content ...READ MORE
I have a folder named project1 in ...READ MORE
Hello @kartik, For 'long-lived connection' , you can ...READ MORE
Hello, Considering that you have $replaced = array('1' => ...READ MORE
Hello @kartik, CURL-less method with PHP5: $url = 'http://server.com/path'; $data ...READ MORE
Hello @kartik, Try this: ALTER TABLE document MODIFY COLUMN ...READ MORE
Hello @kartik, You have to modify the php.ini ...READ MORE
Hello @kartik, You can use this function: function str_lreplace($search, ...READ MORE
Hello, Try this: if ($thing->trashed()) { ... } 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.