39,326 Topics

Member Avatar for
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
365
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
396
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
634
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
Member Avatar for uselessninja

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

Member Avatar for Ankita_11
0
904
Member Avatar for Dani

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 …

Member Avatar for rproffitt
0
2K
Member Avatar for Daniel_58

Hi All, I am building a personal jukebox and looking to run this off of a raspberry pi, originally I started out using mopidy, but found all of the interfaces lack the general features that I really like and need, and the speed in actually touching some services and playing …

Member Avatar for cereal
0
89
Member Avatar for OsaMasw

Hello guys, I need to host a video sharing site that support srt files for translating videos I've searched the Internet and found ClipBucket its a good script but you must pay for Subtitle extention is there any free script do such a thing?

Member Avatar for rproffitt
0
217
Member Avatar for cristi08

I don't understand why I canot $_POST $row[Oras]. I get UNDEFINED VARIABLE :[CODE] <p><?php $qorase="SELECT Oras FROM oras"; if (isset($qorase) && !empty($qorase)) { echo"<!--" . $qorase . "-->"; $result = mysql_query($qorase) or die ("invalid query 4: " . mysql_error ());} ?> <select name="option" > <?php while ($row = mysql_fetch_array($result)){ echo …

Member Avatar for cereal
0
3K
Member Avatar for John_116

Dear developer! I found a script on the internet, by this script i can count leave days Like (2016-07-15) to (2016-07-22) without wekeend days. But i want count more records in one like (2016-07-15) to (2016-07-22) or (2015-01-11) to (2015-02-01).... I paste script on below please help me. Thank you. …

Member Avatar for AssertNull
0
3K
Member Avatar for bprosic

Hello, I created four scripts written in php. Scripts are used to import/export data between two databases (one database is on local machine and second one is on server as web shop). Scripts are not basic import/export, because I had a lot of details on what to do with the …

Member Avatar for bprosic
0
348
Member Avatar for Konstantinos_2

Which CMS platform do you use? Do you prefer Joomla or Wordpress? From your observations which one is best for SEO in terms of available free components. Please share other comparison factors.

Member Avatar for diafol
0
144
Member Avatar for Vikash_7

include("conn.php"); $studid=$_POST['studid']; $reg=$_POST['reg']; $sname=$_POST['sname']; $fname=$_POST['fname']; $dob=$_POST['dob']; $course=$_POST['course']; $contact=$_POST['contact']; $address=$_POST['address']; $img=$_POST['img']; //Image Upload $name=time(); $uploaddir = "../img/"; $uploadfile = $uploaddir .$name. basename($_FILES['userfile']['name']); move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile); $fpath=$_FILES['userfile']['name']; if($fpath=="") { $fpath=$img; } if($img=="") { $img="default.gif"; } mysql_query("update student set sname='$sname', fname='$fname', dob='$dob', contact='$contact', address='$address', simg='$fpath' where studid=$studid");

Member Avatar for broj1
0
163
Member Avatar for AntonyRayan

How to add new languages in this example? <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <script type="text/javascript" src="https://www.google.com/jsapi"> </script> <script type="text/javascript"> // Load the Google Transliterate API google.load("elements", "1", { packages: "transliteration" }); var transliterationControl; function onLoad() { var options = { sourceLanguage: 'en', destinationLanguage: ['ar','hi','kn','ml','ta','te'], transliterationEnabled: true, shortcutKey: 'ctrl+g' }; …

0
133
Member Avatar for phphp

Dear Experts I use datepicker as <input style="background-color:#FFC;" type="text" size="9" name="date" id="datepicker-13" value="<?php echo date('d-m-Y', strtotime($date));?>"> <script> var j = jQuery.noConflict(); j(document).ready(function(){ j("#datepicker-13"). datepicker({dateFormat:'dd-mm-yy'}); <!-- j( "#datepicker-13" ).datepicker("show"); --> }); </script> This datepicker pick any date but I want it to select date between this ranges $date1='2016-07-01' $date2='2017-06-30' Suppose If …

Member Avatar for rproffitt
0
171
Member Avatar for AntonyRayan
Member Avatar for Dani

I currently have a binary string that has been encoded with base64_encode(). However, I need to represent this string only with 0-9a-zA-Z characters. I am currently wrapping the string in bin2hex() to represent it with 0-9a-f. However, for transport reasons, I would like to compress the string by representing it …

Member Avatar for rubberman
0
565
Member Avatar for phphp

Sir I have this variable $date="2016-07-18" I want to get DATA from 2016-07-01 to 2016-07-17. In other words I want to get DATA of month given in $date (July) but excluding current date (18) How to write query $query = "select * from arrival where ........; Please help

Member Avatar for cereal
0
193
Member Avatar for AntonyRayan

How to set a image as default as fixed like background and remaining images will have to change dynamically? in HTML, CSS

Member Avatar for princejav786
0
132
Member Avatar for Goddy_1

Customers pick When finished If on the book, such as the selection of Van Dyke VT01 from 1/07/59 - 2/07/59-day period, you will not be able to book your car again. It is based on the availability of the vehicle. I made a separate table Storage booking Van table separately …

Member Avatar for cereal
0
173
Member Avatar for Abhi_6

I have an Array containing arrays with 8 values, I want to group **date** element having same **teacher_name**, **school_name** and **month_year**. Below is my array: Array ( [0] => Array ( [teacher_name] => CF [school_name] => School 1 [month_year] => Jun 16 [starttime] => 04:04 PM [endtime] => 05:04 PM …

Member Avatar for diafol
0
295

The End.