39,402 Topics
![]() | |
Hi guys you might know this about qr code im just a newbie here, my problem is that i can't produce simple qrcode that will fetch the data through the database , i wanted to create a single row of database and display it as a qrcode, can you help … | |
Hello, I am new to Jquery and task is given to me to "make a progress bar for task completion " . For example: there are 4 Sections and all those 4 section have different youtube videos . After the user clicks the section and watch the video of that … ![]() | |
hello my dear Friends, for a long time i was not here. I hope u all are geting well. again i have problem in login form anyone can guide me plz, code is below <?php include "conn.php"; if($_SERVER["REQUEST_METHOD"] == "POST"){ $username = filter_input(INPUT_POST, 'username', FILTER_SANITIZE_SPECIAL_CHARS); $password = filter_input(INPUT_POST, 'password', FILTER_SANITIZE_SPECIAL_CHARS); … | |
Sir I have these codes <script> function myCall() { var data = $("#datepicker-13").val(); alert(data) var request = $.ajax({ url: "ajax_arrival.php", type: "Get", data: { "date": data }, dataType: "html" }); request.done(function(msg) { msg = data.split("##"); $("#wh_bg1").val(msg[0]); $("#wh_jt1").val(msg[1]); $("#wh_wt1").val(msg[2]); // alert(msg); }); request.fail(function(jqXHR, textStatus) { alert("Request failed: " + textStatus); }); … ![]() | |
I've been using an .htacccess file to define a rewrite rule for extracting the username from the end of a url for years. The username has always been a combination of letters and numbers following a forward / and that is all, and it has been working just fine. Here … | |
Hi everyone. When I deployed my site I got this error: Fatal error: Uncaught Exception: FPDF error: Some data has already been output, can't send PDF file (output started at /srv/disk6/blablasite/rel_funcionario.php:1). I'm using fpdf v. 1.81 and I am developing in PHP (using XAMPP and Notepad ++), in that platform … | |
I'm tyring to figure out a way to compare the information in 2 different tables from 2 different databases. If they are in the same database it's easy enough but I haven't found a way to do it from 2 different databases. | |
Can anyone give example for this? I have user dashboard with graphs and tables, maps. It takes sometime to load after successful login. For that , I need a loader which waits till the page loads all the data. ![]() | |
file read and compare with array values and remove the row values from file fopen("sample.txt",'rb'); read the first column content from file and compare with array value,if it matches then remove the entire row from file. | |
below is json format , please help me how to do in php using json_encode [ { "test": "1", "ex": { "ex1": {}, "ex2": {} } } ] | |
In php we all know file_get_contents("https://xxxxx/p.php); is there any similar function like in Lua programming language | |
I get this error when ever i try to upload a file. Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0 Does anybody knows what … | |
is it possible to run php page from lua programing code? | |
My Error info isnt being clear enough for me to understand the problemIs there anything worng here so i can continue on lookng for the probelm: $sql = "INSERT INTO boards ( title, genre, creator, tagline, intro, remessage, visability, recruitment, reqsheet, reqdice, reqgroup, ppweek) VALUES ( $title, $genre, $creator, ". … ![]() | |
hello i want to upload an audio file. i specified the location but the file doesnt go there. it stores the path in the row in the table on database but it doesnt store the file on the folder. i define the upload path on my config file define("UPLOAD_PATH_AUDIO", "uploads_audio/"); … ![]() | |
Hello, I have two tables in mysql using php> 1) Consumers 2) Monthly Billing In Consumers that table contains about 100s of Consumers , and it increase monthly. 2) Monthly Billing for Billing. What i want to do ? Is there are any way that i can generate monthly billing … ![]() | |
Dear Developers, This is the part of my blog.While adding new post to my blog the category option not updating to database add_post.php <h2>Add Post</h2> <?php //if form has been submitted process it if(isset($_POST['submit'])){ $_POST = array_map( 'stripslashes', $_POST ); //collect form data extract($_POST); //very basic validation if($postTitle ==''){ $error[] … | |
I found myself starting to answer a question that I have answered many times , so I thought why not making a code snippet and just reference this. This is a short code snippet only to demonstrate how this thing work (with apache and rewrite engine on) , in real … | |
Hi. I have tried to save the Json data retrieved below in vain. When I connect the database and try to insert the post data, the script no longer retrieves or decodes the data. When I leave it, the API tells me the data was reconciled or decoded. How can … | |
I am simply trying to compare a value entered into a form, to ensure it begins with a ? mark. I have tried suggestions I could find online but can't seem to get it to see when the ? is missing Any suggestions or direction would be greatly appreciated. if(!preg_match("/[\s]*(?)/i", … | |
Hi , I want to create one product page , on nav-bar when user clicks on product before showing all product it should show one form and after filling form then and then only all products will be shown to the customer. I am trying to do this in php … ![]() | |
every 5 minutes i need to execute a php page..is it possible through php code ? | |
Hi, I added the "dayOverview" dropdown list that needs to assign to the database, but when I test it, it is uneditable. How? Please check lines 51 and 164 - 176. Download the attendance form zip file: https://drive.google.com/file/d/0B07_pOHhTox3bS1mVXpiTUN3RVk/view?usp=sharing Inside there is the database table called attendance.sql. You need xampp and … | |
how to pass values using load. because i need to get values in php($_REQUEST) any body help me jq("#myid").load(location.href + " #myid"); ![]() | |
Basically, I have a program in Delphi which POSTs data to a MyBB script on a server, when the MyBB script recieves that POSTed data it is supposed pass that data onto a MyBB forum and use it to post a new thread. The only problem is I have no … | |
Hi can any one please help me with some sample for multiple textbox value in php search. all the fields in the search are in one table. I have attached screen for the reference.  | |
How can I convert (move) individual HTML webpages in bulk into mysql forum? What I have is just the 1000s of html pages which consist of question and answers. Now how can I move then into into mysql forum. This is how my question/answer html pages looks like this:- drive.google.com/file/d/0B4RFn3PmjNy9YTNkbE5mejBfV1U/view?usp=sharing … ![]() | |
It gives me always `Invalid Username or Password` what is the problem with this code ? <form action="admin_login.php" method="POST"> <div class="form-group" style="width: 280px;"> <label for="usr">Username</label> <input type="text" class="form-control" name="userbox" id="user"> <br> <label for="pass">Password</label> <input type="password" class="form-control" name="passbox" id="pass"> <br> <button type="submit" name="login" class="btn btn-success">Log In</button> </div> <?php if(isset($_POST["login"])) { $user … | |
Sir I have these 2 tables (Arrival+Pouring) shown in Attachment I create result table with this query select c1.date,sum(nvl(cx.purchase-cx.sold,0)) as opening,c1.purchase,c1.sold,; sum(nvl(cx.purchase-cx.sold,0)) + c1.purchase-c1.sold as closing ; from ; (select NVL(a.date,b.date) as date,CAST(NVL(a.qty,0) as integer) as purchase,; CAST(NVL(b.qty,0) as integer) as sold from purchase a FULL JOIN sold b ON … | |
Hi friends, I am going to build a website like http://www.myadsinn.com/. This site is about posting ads free. I am also needs feature like https://www.olx.com.pk/ Can any one is interested in it | |
Hello DaniWeb Users; I'm not a good coder here please hold on me, My machine is linux ubuntu 14.04 and I install apache2 also the php5. I was trying to create a simple log in page here (no registration thing) So in mysql I just create 3 fields (user_id, username, … | |
$filename ="cs_orderfrequency.xls"; $contents = $this->load->view('reports/order_frequency_excel',$data); header('Content-type: application/ms-excel'); header('Content-Disposition: attachment; filename='.$filename); This code enables me to export directly a view to excel file without having to use PHPExcel as thirdparty. Although it gives me an error of *"The file your trying to open is in a different format than specified by … | |
**I have tried 1st, 2nd points are working good just have to solve 3rd issue:** **1.** Title with bold: "THIS IS MY MAIN TITLE IN CAPS" (title not always same) **2.** Words with bold: TEST ABC:, TEST XYZ:, TES T TEST:, TESTXXX: (this words are always same) **3.** Some strings … | |
Hi everyone, I am new to this concept. I need your help for Grouped Categories Multi Level Drill Down Bar Chart. Example: Category 1: Cars Category 2: Bikes ..... Category n: Buses Category 1: Cars i)Minimum sold cars ii)Average Sold Cars iii)Top Sold Cars First Drill Down: Here, I need … | |
I want to get results from this API as specified. But from what I know, I have tried to write some codes but it seems it doesn't work. I there any one can help me? here is the API http://1XX.XXX.XX.66:4848/SmartMeter/vms/credit?meterNumber=51751100044&amount=10&method=0&referenceNumber=12345678&return=JSON Request Parameters - meterNumber: Meter Number(Like 51931000049) amount: Amount(like 10 kWh,10 … | |
i have written 2 files. one is a PHP and the other one is Html (form file). i have echoed in PHP as follows: <? php $message = $_POST['stop here']; echo $message ; <? i want to send this message to an Html form file, as a text. i tired … | |
hello sir how to display student image and signature image in box on single browser button click on check box of image and singature in php | |
I have a problem that in my sql is always updating the last records. I need to loop in every row and update each record in that row i tried this code underneath but only last record is updating . <tr> <td value="<?php echo $_SESSION['flowertypename'];?>"><?php echo $_SESSION['flowertypename']?></td> <?php $query7 = … ![]() | |
Dear all I am a beginner in web development. Please help to resolve the below problem. Right now I am creating a Workers Directory with sql database. This is including worker name, Location, Work and mobile numbers. > When customer select the specific job we need to filter particular job … | |
I want to count files from a directory which is stored in a remote server . I used the following code . But obtained warning <?php $url='192.168.0.138/img/12/12N69/'; $dir = opendir($url); //List files in images directory while (($file = readdir($dir)) !== false) { echo "filename: " . $file . "<br />"; … | |
---THIS DOES NOT WORK----- <?php if($string != 55) { echo '<form action ="<?=$_SERVER['PHP_SELF']?>". method = "POST"/>'; echo '<input type="submit" name="off" value="Turn OFF Grow Light"/>'; echo '</form>'; } ?> It display's the submit button, everything LOOK's great, but when I press the button, it goes to some screwy blank page. However, … | |
Dear devolepers, I have problem with my sql database, I want acces my sql database in my <LI> list plaese help to resolve this problem Here is my html sql database : my_db table : info_list Table columns : id,name,job,town,mobile1,mobile2,phone,adress i want to display town list in this <li> list … | |
Sir, my table look like this  I am using this query to insert data $query = "INSERT INTO history(user, login, logout, duration, user_ip, user_lo) VALUES ('".$muser."','".($date('Y-m-d H:i:s')."','".($date('Y-m-d H:i:s')."',1,'".$_SERVER['SERVER_ADDR']."','myplace')"; But it says: Parse error: syntax error, unexpected ';' in C:\wamp\www\...... I am unable to know what is wrong in … | |
$multi=array(0=>array("object"=>"25","kr"=>"25","score"=>"50","start"=>"2016-07-01","end"=>"2016-08-15"), 1=>array("object"=>"31","kr"=>"19","score"=>"50","start"=>"2016-07-01","end"=>"2016-08-15"), 2=>array("object"=>"2","kr"=>"2","score"=>"4","start"=>"2016-07-01","end"=>"2016-08-15"), 3=>array("object"=>"4","kr"=>"4","score"=>"8","start"=>"2016-08-16","end"=>"2016-09-30"), 4=>array("object"=>"6","kr"=>"6","score"=>"12","start"=>"2016-08-16","end"=>"2016-09-30"), 5=>array("object"=>"9","kr"=>"9","score"=>"20","start"=>"2016-08-16","end"=>"2016-09-30")); $mydatearray=array("startone"=>"2016-07-01","startsec"=>"2016-08-16"); foreach ($multi as $key => $value) { if($value['start']==$mydatearray['startone']){ } else if($value['start']==$mydatearray['startsec']){ } } | |
Hello. I am new to PHP/MYSQL. My array looks like this: Array ( [1] => item1 [2] => 1tem2 [3] => item3 [4] => item4 [5] => item5 [6] => item6 ) Array ( [7] => item1 [8] => item2 ) Array ( [9] => item1 [10] => 1tem2 [11] … | |
Dear developers How to show contact details while clicking the particular name from <li> list Contact_list.php <?php $con=mysqli_connect("localhost","user","pass","nilambu1_mydb"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $result = mysqli_query($con,"SELECT * FROM n_info "); while($row = mysqli_fetch_array($result)) { echo "<li><a href='contact.php' data-transition='slidedown'> <img … | |
Hi! Having a hard time figuring out how to solve this problem at hand. basically i have several tables that are inter connected in some manners but i need to full all this data and format it in a manner that it will show the total number of trips and … | |
Hello, i am a new php and html developer. kindly assist me for my querys thanks in advance raj | |
hi...i've research fusion chart... and i find it nice .. I would like to retrieve from my database(SQL) and graph it using php is there anybody here experience working with fusion chart and php?... | |
Hi everyone, I really hope that you can help me diagnose an issue with my new API. I'm having the following issue: I'm not happy with the performance of the app client at http://app.dazah.com that connects to it ... It uses cURL to issue about 3-4 API requests per page … |
The End.