39,321 Topics
| |
<?php $sql = "Select * From offices"; $result = mysqli_query($conn,$sql); while ($row = mysqli_fetch_array(result)){ echo $row['name']; } ?> // while ($row = mysqli_fetch_array(result)){ is line 188 | |
This is an api signing key maker.I want to convert this into php code as this is not able to integrate into my php project. public static String signingkey(String apiAccessKey, String hmacSecretKey, String apiMethod, String clientip, String jsonInput) { String retval = ""; final String HMAC_SHA_512_ALGORITHM = "HmacSHA512"; final String … | |
I want to run PHP files without .php extension. For eg:- If i open myhost/docs/default it should run "default.php". Please tell me how to implement it. | |
If I submit the form I want register.php to fetch the proxy and name which I'm submitting from client.php if I don't use action='register.php' then it's printing the proxy I have submitted but not printing the name. But if I use action='register.php' to post my form to register.php then it's … | |
There is a PHP login code but I don't know how to show the error message when the user types wrong datas into the input fields. I used to have a `echo"Wrong username or password!";` But I want to display a DOM element. I don't know how to make it. … | |
I have a page that list all of the users from mysql database. I put a **delete** button in it so you can delete the profile instantly. But I didn't want to delete the user instantly so I put a code that create a modal box when you click onto … | |
Hi, I am a amateur here. My web developer went awol and I have an issue; my website wont load at all. **Error: PHP Fatal error: Uncaught Error: Call to undefined function mysql_pconnect** <?php if(!session_id() || session_id() == '') session_start(); # FileName="Connection_php_mysql.htm" # Type="MYSQL" # HTTP="true" //$hostname_quantum = "xxxxx.co.za"; //$hostname_quantum … | |
Need web hosting which one to choose? GoDaddy, Bluehost, JaguarPC or else? Is there any cost effective cloud hosting option available? | |
[code=php] while($row = mysql_fetch_assoc($resultParam_pp)) { $lblParameter_pp = $row['ParameterName']; $lblParameterSeq_pp = $row['Parameter_seq']; echo "<tr>"; echo "<form action = 'http://10.237.102.158/SPC_Stations/Grinding/spc_grd_02.php' method = 'post'>"; echo "<td align = left>"; echo "<input type = 'radio' name = 'paramSelect' value = '$lblParameter_pp' checked><font face = Arial size = 2>" . $lblParameter_pp; echo "<input type = … | |
**please help me** Warning: Cannot modify header information - headers already sent in C:\xampp\htdocs\gauto-preview\gauto-preview\login(1).php on line 19 <?php ob_start(); session_start(); require_once('connexion.php'); error_reporting(E_ALL | E_WARNING | E_NOTICE); ini_set('display_errors', TRUE); if(isset($_POST['login'])){ $username=$_POST['username']; $motpasse=$_POST['motpasse']; if($username&&$motpasse){ $query="SELECT*from user where username='$username' AND motpasse='$motpasse'"; $query_run=mysqli_query($conn,$query); $rep = mysqli_fetch_assoc($query_run); if($rep!=''){ $_SESSION['id_user'] = $rep['id_user'];} $row=mysqli_num_rows($query_run); if($row==1){ flush(); header('Location: … | |
I've been working in various companies and I've seen different reasons for using PHP interfaces. I would like to hear your opinion, what do you think **in which cases** should we use PHP interfaces, the reason behind using interface? | |
Hello Fam Am a newbie am trying to get each input box seperately with js pls i need help <!doctype html> <html> <head> <title> test </title> </head> <body> <!-- <input type="number" value="1" id="demo"> --> <?php for ($i=0; $i <= 5 ; $i++) { ?> Number <?php echo $i;?>: <input type="number" … | |
Hi guys, this is my first post on the forum and I am in need of some help. I am a PHP beginner and I have been trying to come up with a solution to my issue for a while now. I am trying to make a system where a … | |
Any one there had work with erp or crm development in php ? How to start for that? Do you know any web link for text or video tutorial for that? Or any one there will guide me please step by step 'How to develop erp and/or crm in php' … | |
Hi All Can anyone help me, if user inactivity and update my datbase row automaticlly ( I mean time set if user inactivity or browser close ) Before login $sql = "UPDATE register set logged_in='1' WHERE (matri_id='" . $username . "' OR email='" . $username . "')"; $DatabaseCo->dbLink->query($sql); After login … | |
Has anyone started working with PHP 8 yet? Any big backwards compatibility issues? I finally got around to upgrading to php 7! Lol better late than never. | |
i have created messaging service, also created php file from this file i send push notification. issue is in case user is offline and comes after some time , in this case my push notification not hold. how to hold push notification. | |
how to edit and update from tinymce editor from php mysql | |
i have start to convert by hand a python script to php its an example how to mine in python but i want implement a kind of same in my php project **That its what i did until now** $MAX_NONCE = 100000000000; $prefix_zeros = need convertion; //execute sql statement and … | |
Hi there, I am trying to get images onto an HTML5 canvas. The images are on the same page in a sidebar panel getting loaded in through php. If you click on an image on the sidebar, I want it to appear on the canvas. I am learning jquery, but … | |
How to hide this "This page is safe <#FullProductName#> Antiphishing Filter Blocks pages that contain phishing. Antimalware Filter Blocks pages that contain malware." since it appear at my admin/index.php ![7a5871ecab85b355a8aac0ddbad66343](/attachments/small/4/7a5871ecab85b355a8aac0ddbad66343.png "align-left") its possible to hide it? | |
Can anyone suggest me which one is a better platform for e commerce website development? | |
hai all, i want to convert indian rupees into words, is there any function in php or any useful links are appreciated.. how to convert indian rupees to words for ex 458=>four hundred fifty eight this want for any number upto billions.. | |
Hello Daniweb Community, I have been talking on a couple [Facebook](http://www.facebook.com) groups such as sale pages where you post your own stuff for people to buy. Most groups like this have rules about bumping like once per day, every 12 hours etc... So it got to the point where it … | |
Hi I am a beginner, I need help to make a search bar on the page and when anyone searching, its will get from the investing.com or Yahoo specific number about the company. For example, when searching for any company, like AAPL, it will get the total debt and the … | |
foreach ($_SESSION["cart_item"] as $item ){ $name=$item['name']; $a=$item['p1']; $b=$item['img1']; $pname=$item['pname']; $email=$item['email']; $size=$_POST['sizea']; $ddate=date('Y/m/d'); $p="insert into orders(order_id,ddate,customer,product,pname,p_img,size,email) values('$last','$ddate','$name','$a','$pname','$b','$size','$email')"; mysql_query($p) or die(mysql_error()); } <select name="sizea[]" id="planida" > <option>Select Plan</option> <option value="XL">XL</option> <option value="M" >M</option> </select> Output: Size: Array // not work | |
Is it possible in PHP? I have a website with form + captcha on domain A -> there the captcha worked well. It generates 1 session with the captcha code. explanation -> https://postimg.cc/Wdzcw8vB -> no problem so far Now the server on which the domain A is hosted disabled sendmail … | |
i want to store 2 column value in multi rows like if i paste a value in textarea like (12.50,25.100,5.30,78.500,98.2000) and this value insert in my table with 2 column like col1 col2 12 50 25 100 05 30 78 500 98 2000 so sir can you please help | |
Hi guys I'm having a bit of a problem with php and linux. I'm using the following function, to find files with specific file extensions within a given folder and all subfolders : function FindVideoFiles($startfolder,$specificextensions){ $it = new RecursiveDirectoryIterator($startfolder); foreach( new RecursiveIteratorIterator($it) as $file) { if (in_array(strtoupper(substr($file, strrpos($file, '.') + … | |
My php is regularly stopping so I need some idea of database. Can you provide? |
The End.