logo
Tags down

shadow
Home » php

php

set textarea value using php
I use codeigniter and I'm title value attribute, I have the value from the database clearly displayed in the form on screen. However, the body value attribute
TAG :php
Date : May 05 2020, 10:30 AM , By : I Putu Agus Sri Kresna
php merge two arrays into one
I have following code array like : $foo = [ a =gt; 0, b =gt; 0, c =gt; 0, d =gt; 0 ]; $bar = [ c =gt; 3, ] How can I merge $foo and $bar in such a way that the
TAG :php
Date : May 05 2020, 10:22 AM , By : Dr-Turner
php form with google captcha
I try using Google reCAPTCHA and it was working very nice. but because of some issues I started to use php image CAPTCHA. CAPTCHA image rendered correctly but
TAG :php
Date : May 05 2020, 10:15 AM , By : navdeep singh
update current row in php
I'm looping contacts, pulling out specific data then want to update a particular column on the current row. How can I do that? The line is at the very bottom,
TAG :php
Date : May 05 2020, 10:12 AM , By : MrEventual
php date format mysql
I try to store php date in sql but it store 1970-01-01 05:00: instead of input datetime This is code html form lt;input type=quot;datetimequot; id=quot;eventst
TAG :php
Date : May 05 2020, 10:08 AM , By : S.Stefanov
mysql pdo select query
I write this code like : lt;?php$id=$_GET['category_id']; echo $id; $products=$db-gt;prepare('SELECT * FROM `products` WHERE category_id=4'); $products-gt;exec
TAG :php
Date : May 05 2020, 10:04 AM , By : Yi-Fan Wu
php function return an array
I have issue about return value, now i can return back with variable but it automatic separate it become 4 array. Below is my data when i used json_decode $jso
TAG :php
Date : May 05 2020, 10:00 AM , By : user8014169
PHP mysqldump database to sql file
I need to export data (only the data, not the tables nor database) from the database to a mySQL file and save it. How to write a PHP function that does that? I
TAG :php
Date : May 05 2020, 09:55 AM , By : Pedro Patusco
display image query
I'm working on a website in PHP. Trying to load an image from a query string like so =gt; lt;img src=quot;load_image.php?name=Profile_Photo_Smallquot; /gt; how
TAG :php
Date : May 05 2020, 09:21 AM , By : marco.cardoso
php create array using foreach loop
I'm usingnbsp; foreach loop and I'd like to add multiple values to an arraycode I use like : $allcustomers = array(); foreach ($customers as $entry) { $allcust
TAG :php
Date : May 05 2020, 09:17 AM , By : Gman
associative array php
I 'm trying to doing a back-end validation and I wonder if there is a better way to do this instead of typing all the variables of each data, here's my code li
TAG :php
Date : May 05 2020, 09:07 AM , By : Ken Brown
group_concat in mysql laravel
Here is code query in mySQL. i want to convert into Laravel query. becuase query is not effected on Laravel blade. so I need to convert in Laravel query. can a
TAG :php
Date : May 05 2020, 09:02 AM , By : SpiderMan
php array_push empty
I'm need to push data to an array inside a foreach loop. Empty values get pushed into the array. I 'm trying logging out the values to see if they were empty b
TAG :php
Date : May 05 2020, 08:46 AM , By : Roger Gutiérrez
pdo insert prepared statement
On my idea through the jungles of PHP: Data Objects I've encountered a problem with executing MySQL queries through prepared statements. Observe the following
TAG :php
Date : May 05 2020, 08:28 AM , By : Mailson Queiroz
mysql insert into existing row
I trying to add the suffixes to the older (existing) value(s) in the table. Hence I would have this result: And if I need to insert dude again, the trigger will
TAG :php
Date : May 05 2020, 08:16 AM , By : Sameer Bhagyawant
mysql group by show all rows
I have a MySQL db with names and medical prescriptions. What I what to do is loop through all prescriptions belonging to a specific name and show them in a tab
TAG :php
Date : May 04 2020, 05:15 PM , By : Gazet
php change profile image
I have code to change user profile image. But after changing it I have to press control+shift+R to see changes. I changed File::delete() to unlink(). But it di
TAG :php
Date : May 04 2020, 05:09 PM , By : Dezmund Jaxx
combine multiple arrays into one array php
I have multiple arrays like arraysnbsp; below code : $in = array(array(quot;quot;,quot;quot;,quot;111quot;,quot;1552quot;),array(quot;102quot;,quot;quot;,quot;
TAG :php
Date : May 04 2020, 05:01 PM , By : memory-alpha
how to sum values in an array
I have array of the followingnbsp; integer and a total value. $total = 20; $array = [1,2,3...]; can I add a $total value on array $array[0] to create a new val
TAG :php
Date : May 04 2020, 04:58 PM , By : TangQiangCS
how to get sum of the total time
Currently I'm work on with the attendance management system.i calculate how many hours work done in employees.i already calculate the how much hours working in
TAG :php
Date : May 04 2020, 04:53 PM , By : Piotr Poprawski
Find two longest strings separated by dash
I want to define two new variables as the longest strings from a given string. if the string does not contain any dashes, just choose it for both. Example: $or
TAG :php
Date : May 03 2020, 10:04 AM , By : Jim_A
php simplexmlelement object to string
I’m try simply iterating through nodes and adding the name of the node to an array but it is creating it as multidimensional array instead of one dimensional
TAG :php
Date : May 03 2020, 09:58 AM , By : Apa
php create array from database
I trying to create exactly same array from database data which I am getting from while loop which will be passed to some other function and it does not accept
TAG :php
Date : May 03 2020, 09:32 AM , By : Toren
Sort array by time only on image echos
I need to sort these echo results by using time, and I can't seen to find a way to read when was the image placed on the folder (to sort them by the specific t
TAG :php
Date : May 03 2020, 09:29 AM , By : JDWalker
how to convert pdo to mysqli
I'm usenbsp; this tutorial, but my issue is that everything is written for PDO, but the my website is MySQLi. I've been trying to just search for conversions o
TAG :php
Date : May 03 2020, 09:04 AM , By : K.Fu
image in navigation bar css
I have file navbar.php that is included in the index.php. The navbar looks and works fine but in one of the tabs I just have the word Logo and I wanted to repl
TAG :php
Date : May 03 2020, 08:59 AM , By : Vojdan Karapetkovski
scraping src dom with xpath
There are images I want to scrapting, by using DOM xPath as scraping tool. But xPath can't find the src attributes although I can see the attributes in the sou
TAG :php
Date : May 03 2020, 08:53 AM , By : AlexG
search array for specific value php
I try to get all the information of an array element if the searched specificnbsp; value is found. The input array is composed from the italian players data, I
TAG :php
Date : May 03 2020, 08:42 AM , By : AndreyM
How to perform insert with an argument and a query to database ?
In my db I have a table likenbsp; TABLE(user, match). I'm trying to insert values in this table but I get a syntax error, I think I'm writing the query bad. $q
TAG :php
Date : May 03 2020, 08:19 AM , By : Caroline
How to Sum values in array by key indexes in loop
I trynbsp; sum some values from the array from certain ranges provided by another array. I've tried with the following function : function sumArray($array, $mi
TAG :php
Date : May 03 2020, 08:17 AM , By : Leapepe
I want to pass two parameters to the URL
How to pass two parameters with the route helper One is the thread ID and the other is less so I want to pass two parameters index.blade.php @foreach($works as
TAG :php
Date : May 03 2020, 08:16 AM , By : OldE
How to console the PHP echo in my javascript?
I try to get PHP echo in my ajax function. This is my page1.html code: In my HTML code, I quote the jQuery, and I bind the event in my quot;sub01quot; button,
TAG :php
Date : May 03 2020, 08:12 AM , By : Suman
PHP telegram API
I need to use the Telegram API to make an online advertising app with PHP, but the issue I have is that I can not even understand making request to telegram we
TAG :php
Date : May 03 2020, 07:54 AM , By : ahmedelkhateeb
php update query not working
I want to change status_data_user to be nonactive from active but it cannot works fine.. on my other delete codes is working without any problems . I've been c
TAG :php
Date : May 03 2020, 07:47 AM , By : marc571a
duplicate insert into mysql ?
I'm using code and testing it using xampp on my localhost. It works fine and inserts the data however for some reason it creates duplicate row in to my databas
TAG :php
Date : May 03 2020, 07:39 AM , By : Maria Eduarda duda
php curl gives different result than from command line
I'm try to downloading ZIP from URL, and I have a issue with this. First step of my algorithm is to check what is the Content-Type and Content-Length of given
TAG :php
Date : April 29 2020, 06:44 AM , By : Ganess Adicary
shadow
Privacy Policy - Terms - Contact Us © bighow.org