473,543 Members | 2,405 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP Forum

PHP web programming language - Ask questions about php scripting, databases, mysql, templates, PEAR, php functions, PHP-GTK, setup and installation, object oriented programming, classes, files, security, sessions, arrays and more.
1
2,739
thread by: vikpro2020 | last post Jun 11 '20 by: Banfa
Hi.I created a website but the only error that keeps me down is that when i go on the website the website starts refreshing every secound.i asked some guys and they told me that i need to change the socket version to 1.7.3 but i dont know how.pls help
1
2,327
thread by: Alexanderr | last post May 10 '20 by: dev7060
How can I make a like button, that show who has liked my post, on a social network?
2
3,714
thread by: Gabriel9999 | last post May 15 '20 by: AjayGohil
I have an applications developed with PHP. I have a big text file where I want to match for a word but this can be change in the feature. How can I match a word in PHP?
1
1,720
thread by: maryreejo | last post Apr 30 '20 by: lewish95
i have a php code like while($row1 =mysqli_fetch_assoc($check1)) { $leadsl=$row1; $CheckSql2 = "SELECT * FROM leadservices,services WHERE leadservices.leadslno='$leadsl' "; $check2=mysqli_query($con,$CheckSql2); while($row2 =mysqli_fetch_assoc($check2)) { $output1 = array("service_id" => $row2,"service_name"...
0
2,441
thread by: zhair | last post Apr 13 '20 by: zhair
When I try to add in a * into a $... Statement it throws errors. This is going to be a search function for mysql. <?php $page = *; >? So, basically there is a PHP form which will search my SQL with the values entered. I got it working so that it searches from the https://100001.onl/ values entered but I just can't have it search all fields if...
0
1,717
thread by: hdnasir | last post Apr 8 '20 by: hdnasir
<?php if(isset($_POST)) { require_once("connection.php"); $query= "insert into order1 (`total`,`quantity`,`firstname`,`date_createdAt`,`email`,`address`,`city`,`state`,`telephone`,`mobile2`,`comments`) values ('".$total."','".$quantity."','".$_POST."','".date("Y-m-d...
1
3,548
thread by: hamzashafique11 | last post Apr 15 '20 by: AjayGohil
I am a beginner programer. And i creating a website.I have a problem, i want a code that help me to make the web. I want when user complete the ContactUs form and click on submit button.It show msg whether the user Login or not.If user Login,the form will successfully submitted.If not it tell the user to register or login first and directly move...
2
7,623
thread by: testLearn | last post Feb 16 '23 by: Vanisha
I have a php variable where the html contents are read as a string in php and I want to remove just the contents of the href and be the other intact. $string = '<a href="javascript:#one">String</a>'; now I want to make this as given below. <a href="https://bytes.com/">String</a>. Please note that javascript#one is not constant, It is dynamic
1
1,968
thread by: Alexanderrrr | last post Feb 18 '20 by: gits
<?php class Post { private $user_obj; private $con; public function __construct($con, $user){ $this->con = $con; $this->user_obj = new User($con, $user); }
1
2,195
thread by: danielb123 | last post Feb 14 '20 by: rollerbladegirl
hello, i'm trying to make a sum of the values find in " total3$id" but i'm sure how to do id.... <?php $query="SELECT * from photo"; $result = mysql_query($query) or die(mysql_error()); $calcTotal = array(); while($row = mysql_fetch_array($result)) {
0
2,062
aveeva
thread by: aveeva | last post Feb 4 '20 by: aveeva
I am using Magento (Ver 1.9.x) If i try with my localhost success url like, http://192.168.1.65/magento/index.php/checkout/onepage/success/ and return success message with order id. if i try with live, success url like, https://abc.in/payubiz/redirect/success/ success page like blank page.
1
2,089
thread by: clovis | last post Feb 5 '20 by: Ishan Shah
how can i insert multiple option selected on a select box? how can insert them in the database ?
0
1,722
thread by: DanielAlexander | last post Jan 20 '20 by: DanielAlexander
Hello Guys, I hope this is the right place to ask something like this. i have Linux server connected to the Internet, can anyone explain how to install php with the connection to DB extensions? (MSSQL,Oracle,Mysql) I've tried to install XAMP and LAMP but it didnt had all those DB connection extensions. Best Regards,
4
4,551
Maneyd
thread by: Maneyd | last post Apr 14 '20 by: YuliaSh
Hello Friends, I own this small website. Is there any way to speed up my website any further?
3
1,967
thread by: merera lemessa | last post Jan 3 '20 by: gits
i am graduated student in ethiopian and iam developing web based final project allocation and management for graduated students of my college and how can i avoid duplicated titles while students submit titles for their final project
1
1,821
thread by: George Chomba | last post Dec 22 '19 by: gits
Am creating a user profile and i would like to display image and details from database
1
1,475
thread by: wolfkinara | last post Dec 11 '19 by: gits
Let's start with saying I'm a PHP . My goal is to process some data created by a PHP script, using JS. Imagine my PHP script produces an array . I would like to use this array for making a chart. But somehow I don't understand how to make this data accessible for a JS script. Should I store it in a variable? If yes, how can I access it? Thanks...
1
1,896
thread by: jdadwilson | last post Dec 2 '19 by: gits
My site (www.txfannin.org) has a back-end Admin area used by volunteers to add content to the Db which contains over 60 table. When each volunteer logs into the Admin area I store their Username and access lever in the $_SESSION associative array. This information is used in a log record when a record is updated. At the beginning of each Admin...
1
2,760
aveeva
thread by: aveeva | last post Dec 4 '19 by: aveeva
I need like, http://www.trackcourier.in/ The customer chooses selected courier service and enters tracking id then clicks its redirect to the appropriate courier service website. eg: If tracking id 12345 the redirect link should be https://www.fedex.com/apps/fedextrack/index.html?tracknumbers=12345&cntry_code=in How to do for India...
0
1,853
thread by: Kofi123 | last post Nov 8 '19 by: Kofi123
I have two combo/pull down select input fields on my html/php form. The first selection if for states and the second one is for counties. The selected state in the first one should select counties in that selected state for the second comb/pull down. i am having problems getting this done. the first one works well but i am unable to populate...
1
1,884
thread by: belberg | last post Oct 24 '19 by: belberg
this is driving me nuts.... I have a stored procedure with two variables. I want to pass those variables ($name, $ID) from PHP code but when I use the method bind_param i get an error saying that it is an invalid method. I am using mysqli. what is wrong? Thanks in advnce
0
1,237
thread by: MayBee | last post Oct 10 '19 by: MayBee
<? $instituto=$_POST; $carrera=$_POST; $materia=$_POST; $titulo=$_POST; $paginas=$_POST; $formato=".pdf"; $direccion=$instituto."/".$carrera."/".$materia."/".$titulo.$formato; if(isset($_FILES) && $_FILES=='application/pdf'){
0
1,580
thread by: mayday | last post Sep 30 '19 by: mayday
this code runs a para type multi choice question.there is 3 question with 4 options each. if we select all three uestion's answer then there is no error. if select only one question's answer Undefined offset: 1 error occurs. if we select any two question's answer Undefined offset: 2 error occurs.
0
1,354
aveeva
thread by: aveeva | last post Sep 28 '19 by: aveeva
I dont want unset onclick=“this.disabled=true” if page refresh, code : <button type="button" class="addb btn btn-primary rounded-pill py-2 btn-block" type="submit" data-voice_sku="'.$row.'" data-voice_name="'.$row.'" onclick="this.disabled=true">Add to Playlist</button> If page refresh onclick event unset. how to prevent?
0
1,331
thread by: nxfra | last post Sep 24 '19 by: nxfra
if username or password is match then go to next page otherwise not

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.