39,321 Topics

Member Avatar for
Member Avatar for anelethuku88

<?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

Member Avatar for anelethuku88
0
34
Member Avatar for Arunshree

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 …

Member Avatar for rproffitt
0
192
Member Avatar for nishant52

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.

Member Avatar for shalini_8
0
4K
Member Avatar for Sourav05

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 …

Member Avatar for rproffitt
0
71
Member Avatar for scrummy

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. …

0
3K
Member Avatar for scrummy

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 …

0
281
Member Avatar for kumi2021

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 …

Member Avatar for pritaeas
0
859
Member Avatar for tun712

Need web hosting which one to choose? GoDaddy, Bluehost, JaguarPC or else? Is there any cost effective cloud hosting option available?

Member Avatar for Dani
0
76
Member Avatar for xuexue

[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 = …

Member Avatar for David_190
0
2K
Member Avatar for IbtiSsam

**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: …

Member Avatar for rproffitt
0
101
Member Avatar for dado.d

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?

Member Avatar for pritaeas
0
133
Member Avatar for ICE Boss

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" …

Member Avatar for pritaeas
0
34
Member Avatar for Mannan_3

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 …

Member Avatar for rproffitt
0
626
Member Avatar for amanu092

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' …

Member Avatar for Rajesh_48
0
802
Member Avatar for soniyabis

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 …

Member Avatar for AndrisP
0
135
Member Avatar for Dani

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.

Member Avatar for Joyce Sullivan
3
311
Member Avatar for MAYUR_11

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.

Member Avatar for rproffitt
0
30
Member Avatar for Ravindra_9
Member Avatar for Helder_3

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 …

Member Avatar for wwwalker
0
390
Member Avatar for osaita

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 …

0
43
Member Avatar for aquilina

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?

Member Avatar for JIJU_1
0
239
Member Avatar for Varnisha Kalra

Can anyone suggest me which one is a better platform for e commerce website development?

Member Avatar for marry.sinkovsky
11
4K
Member Avatar for php2sheik

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..

Member Avatar for Vinoth_7
0
4K
Member Avatar for joshl_1995

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 …

Member Avatar for Mark_109
4
3K
Member Avatar for Real_3

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 …

Member Avatar for rproffitt
0
26
Member Avatar for madantwo

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

Member Avatar for madantwo
0
87
Member Avatar for Coderunner

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 …

Member Avatar for rproffitt
0
302
Member Avatar for TechnoJarvis

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

0
41
Member Avatar for Paulo_9

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, '.') + …

Member Avatar for AndrisP
1
293
Member Avatar for ayushsingh

The End.