39,316 Topics

Member Avatar for
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
846
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
613
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
798
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
134
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
310
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
383
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
42
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
296
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
290
Member Avatar for ayushsingh
Member Avatar for feehoy

I have a snippet that inserts data in a row in a MySql database. If that data already exists the existing row should be updated. In my case, I continue to get insert only. What is wrong with this snippet? $page = basename($_SERVER['SCRIPT_NAME']); $ip_address = $_SERVER['REMOTE_ADDR']; include_once("includes/connection.php"); $sql=mysqli_query($con, "SELECT visits …

Member Avatar for feehoy
0
114
Member Avatar for domandidomandi

I am new for PHP. I tried to display text box value based on drop down selection. it seems code working. no error display here. But when i change the drop down, text box value shows empty. Even print the data it will display only null. HTML:- <select name="cat" id="cat"> …

0
58
Member Avatar for feehoy

I have a script that calls image files through a database. It all works well but the image list is too long and loading is slow.I need to implement lazy loading after the third image. How do I implement this? <?php $query = mysqli_query($con, "SELECT * FROM image_uploads WHERE filename …

Member Avatar for rproffitt
0
37
Member Avatar for showman13

Hi, This might be a simple question, but I have an affiliate site that I want to drive traffic to, and the traffic will be coming from various sources. All I want to know is that I got the traffic count that is being contracted for from each source... My …

Member Avatar for showman13
0
455
Member Avatar for Chua_1

I am trying to create a quiz whereby user will key in their answer in a textfield. If the answer the user keys in matches with the answer in the array, the score will increase. However my $answer only returns the last value the user entered which does not allow …

Member Avatar for fearless359
0
236
Member Avatar for cosmo13

> Hey there! I don't know why "Your Password is Incorrect!" is printed before I fillin the form. I've started learning php two weeks ago <!DOCTYPE html> <html> <head> </head> <body> <form action = "" method="POST"> <label id="first"> Name: </label><br/> <input type="text" name="username" placeholder= "Name" required><br/> <label id="first">Password: </label><br/> <input …

Member Avatar for Biiim
0
174

The End.