39,316 Topics

Member Avatar for
Member Avatar for Eddy_1

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 …

0
135
Member Avatar for showman13

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

Member Avatar for showman13
0
143
Member Avatar for sohan_1

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 …

Member Avatar for diafol
0
189
Member Avatar for Jiby_1
Member Avatar for SpottyBlue

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 …

Member Avatar for SpottyBlue
0
208
Member Avatar for ramsiva

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");

Member Avatar for diafol
0
204
Member Avatar for DelphiGuy

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 …

Member Avatar for Erik_6
0
2K
Member Avatar for rpv_sen

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. ![a4ec5f0f3cab021bb2e13c6b18d4c008](/attachments/small/3/a4ec5f0f3cab021bb2e13c6b18d4c008.JPG "align-left")

Member Avatar for Kon Hu
0
515
Member Avatar for Mani_7

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 …

Member Avatar for diafol
0
312
Member Avatar for Stefce

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 …

Member Avatar for jkon
0
491
Member Avatar for phphp

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 …

Member Avatar for rproffitt
0
301
Member Avatar for Muhammad_117

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

Member Avatar for rproffitt
0
1K
Member Avatar for zelrick

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

Member Avatar for cereal
0
700
Member Avatar for ecinevenice

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

Member Avatar for cereal
0
247
Member Avatar for Rahul_56

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

Member Avatar for cereal
0
405
Member Avatar for AntonyRayan

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 …

Member Avatar for jkon
0
606
Member Avatar for Hilal2009

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 …

Member Avatar for pritaeas
0
510
Member Avatar for shlomo_1

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 …

Member Avatar for Andrea_4
0
208
Member Avatar for alka_2

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

Member Avatar for rproffitt
0
150
Member Avatar for Sigmond_1

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

Member Avatar for diafol
0
262
Member Avatar for Faisal_13

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 …

Member Avatar for Faisal_13
0
364
Member Avatar for divyakrishnan

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

Member Avatar for vijay_21
0
1K
Member Avatar for Cody_4

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

Member Avatar for Cody_4
0
394
Member Avatar for Faisal_13

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 …

Member Avatar for cereal
0
2K
Member Avatar for phphp

Sir, my table look like this ![aa.png](/attachments/large/4/8244ebeb63eab0dcc42e8f7c0b83b5e9.png "align-center") 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 …

Member Avatar for cereal
0
83
Member Avatar for ramsiva

$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']){ } }

Member Avatar for ramsiva
0
630
Member Avatar for Gurjit_2

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

Member Avatar for Gurjit_2
0
205
Member Avatar for Faisal_13

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 …

Member Avatar for Faisal_13
0
203
Member Avatar for skullscript

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 …

Member Avatar for ryantroop
0
231
Member Avatar for Raj_18

Hello, i am a new php and html developer. kindly assist me for my querys thanks in advance raj

Member Avatar for pritaeas
0
97

The End.