Member Avatar
I have created template for user to user chat module. Need help to complete realtime chat. Need some validations like highlight chat window on message received if it is inactive. `to_id` is collected in script (`var userid`). how to collect `from_id` , if user is logged in via php. currently …
by hrushi9 in Web Development ()
Member Avatar
My question is related to an [answered question](https://www.daniweb.com/programming/web-development/threads/506078/parsing-xml-to-extract-attributes) that was asked here on the ever reliable forum - Daniweb. I have been trying to insert the parsed data as a string into mysql table in vain. This is what i am trying to do..... From the solution in the link …
by Amaina in Web Development ()
Member Avatar
I have a database to manage students 1. I want to Select students that are in level 1 fom the students table 2. Select the subjects from the subjects table 3. and echo the matching results on am html table any help?
by eternalcreator in Web Development ()
Member Avatar
currently I have a survey with 10 questions on a html/ php form. I use post data and then have a long insert statment. My code looks something like this. <php? $surveyid = $_POST['surveyid']; $q1 = $_POST['q1']; $q1comments = $_POST['q1comments']; $q2 = $_POST['q2']; $q2comments = $_POST['q2comments']; $q3 = $_POST['q3']; $q3comments …
by Joe_10 in Web Development ()
Member Avatar
I have an xml file that looks like this <?xml version="1.0" encoding="UTF-8" ?> <dates> <date> <Item Name="History" Type="List"> <Item Name="received" Type="Date">2015/12/18 00:00</Item> <Item Name="accepted" Type="Date">2016/03/31 00:00</Item> <Item Name="aheadofprint" Type="Date">2016/04/14 00:00</Item> <Item Name="entrez" Type="Date">2016/04/15 06:00</Item> <Item Name="pubmed" Type="Date">2016/04/15 06:00</Item> <Item Name="medline" Type="Date">2016/04/15 06:00</Item> </Item> </date> <date> <Item Name="History" Type="List"> <Item Name="epublish" …
by Amaina in Web Development ()
Member Avatar
I needed a script that would grab all the folders in the directory and add them to a dropdown list and allow the user to upload to there choosen folder. This is what i came up with. (upload script is not mine) Thought i would share.
by Tko_1 in Web Development ()
Member Avatar
Hi everyone, i'm having problem on what PHP code that is appropriate for me to search for a specific data from mysql database, help me with how to go about please
by gyno -5 in Web Development ()
php
Member Avatar
Dear Friends, I made login form in php ... when i login .... URL shows form Name in URL Bar.... that means i can open the from without username and password. for example. http://www.nig-bh.com/registration1/login.php this is login form when i enter username and password it opens http://www.nig-bh.com/registration1/enqrep.php ...after correct username …
by zebnoon1 -3 in Web Development ()
php
Member Avatar
Hi Guys! i need some help, with recurring invoices or payments. I have Application which i developed recently to my customer. And inside of App i got a module to invoice clients, for a product, which this product is valid only for one year starting may for each year and …
by hell hansen in Databases ()
Member Avatar
heloooo please send me helper code in CI for downloading......
by mohammad shadab hussain in Web Development ()
php
Member Avatar
Hi guys just a quick question...when you upload a file to the database and the file name is saved and encrypted in codeigniter how do i make a link that when clicked will download the file associated with the id of the table entry? for instance this is my view …
by Ventech_IT in Web Development ()
Member Avatar
I am trying to follow the steps in an example on fpdfmakes webiste. However I am using sql server instead of mysql. Could someone give me some pointers so I can get this to work correctly? thanks <?php require('fpdf.php'); //Connect to your database $serverName = "myserver"; $connectionOptions = array("Database"=>"mydb"); $conn …
by Joe_10 in Web Development ()
php
Member Avatar
I was trying to tweak some html headers due to change in content type and facing a weird issue When I execute the below code it doesn't gets email delivered at all $htmlheader = "From: $emailad\r\nContent-Type: text/html\r\nContent-Transfer-Encoding: 8bit\r\n"; But when I add extra slash ( \ ) and double quotes …
by Brett_2 in Web Development ()
Member Avatar
This is my soap code try{ $client = new SoapClient( "https://www.tntexpress.com.au/webservices/booking.svc?Wsdl" , array('username' => "xxx",'password' => "yyy") ); $params = array( "SenderAccount" => 30017823, "SenderDetails" => "ROSEHILL 2142 NSW EAST", "CollectionDetails" => "ROSEHILL 2142 NSW EAST", "ReceiverDetails" => "MELBOURNE 3002 VIC", "ItemCount" => 1, "TotalWeight" => 10, "MaxLength" => 10, …
by Sohil_2 in Web Development ()
php
Member Avatar
Hello, on Hotmail/Outlook webmail, when I receive an email message in the spam folder (formally Junk), I can mark the message as **Not Junk**. The server will then start to deliver the messages from that source, directly into the Inbox, working like a whitelist. Is it possible to do the …
by cereal 1,078 in Programming ()
Member Avatar
Hey guys, is it possible to send a HTML Mail with values via PHP? I have programmed a HTML Website with css and jscript. It is a Contact Form. When I fill in the values for the Contact Form (Surname, Name, Street etc.) and press the send button, I want …
by Natsu123 in Web Development ()
Member Avatar
I'm trying to get the text value from a select dropdown menu that is populated by a database using the following function: <?php function searchintspokenlang() { require ('../../../connect_db.php'); $queryintspoken="SELECT Language FROM languages"; $result=mysqli_query($dbc, $queryintspoken); while ($row = mysqli_fetch_array($result)) { echo "<option value='" . $row['Language'] . "'>" . $row['Language'] . "</option>"; …
by Rishi_3 in Web Development ()
Member Avatar
Hi, can we import .xls file in mysql? or how to upload .csv(Comma delimited) with multiple language using Load data? how to save multiple languages in .csv(Comma delimited) ?
by AntonyRayan 15 in Web Development ()
Member Avatar
So I'm having a huge brain fart here and I know for a fact I am going about this the wrong way. Unfortunately, I can't refer to previous work I've done where I have done this correctly as I no longer have access to them. I have my index page …
by Borzoi 24 in Web Development ()
Member Avatar
Hi, All Presently I am working on a MLM (Multi Level Marketing) Software using PHP & MySQL. But I am not being able to display the Down line Tree of any particular member. I am using Pre order Tree. But my product should support Spill Over Binary Tree. Please Help …
by anirban1087 in Web Development ()
php
Member Avatar
Hi, I am new to this concept. How to export data from database in EXCEL for various standards with "dynamic headings" .
by AntonyRayan 15 in Web Development ()
Member Avatar
Hello, i want to make a categories menu which each will have its own sub-categories and that category will have own sub-categories im trying to make with arrays but i'm not really good at it.. im trying right now with bunch if statements but is there any other method of …
by Stefan_1 -3 in Web Development ()
Member Avatar
I am using ms sql and php. What I am trying to do is display all the records that have the same incident number. I can get the first one to load, but im stuck how to get the rest of them. <?php $serverName = "myserver"; $connectionOptions = array("Database"=>"mydb"); $conn …
by Joe_10 in Programming ()
Member Avatar
[CODE]<?php header('Content-type: image/JPG'); $username = "root"; $password = ""; $host = "localhost"; $database = "image"; @mysql_connect($host, $username, $password) or die("Can not connect to database: ".mysql_error()); @mysql_select_db($database) or die("Can not select the database: ".mysql_error()); $query = mysql_query("SELECT * FROM img"); while($row = mysql_fetch_array($query)){ echo $row['image']; } ?> [/CODE] that code display …
by wad -1 in Web Development ()
php
Member Avatar
<?php error_reporting(E_ALL ^ E_DEPRECATED); // connection to database include 'database.php'; ?> <?php if (isset($_FILES['image']) && $_FILES['image']['size'] > 0) { //// Temporary file name stored on the server $tmpName = $_FILES['image']['tmp_name']; // // Read the file $fp = fopen($tmpName, 'r'); $data = fread($fp, filesize($tmpName)); $data = addslashes($data); fclose($fp); } $name=$_POST['name']; $email=$_POST['email']; …
by kingwash in Web Development ()
Member Avatar
I have been trying to get my PHP script return two different pages namely: get2015 and get2016. The aim is to have these two pages have pagination links below them. To achieve this i have written two scripts in two different files that look like this: file 1 = functions.php …
by Amaina in Web Development ()
Member Avatar
has anyone you seen this one before... it happens when my users tries to purchase a membership package. When it goes to the billing/payment page it shows this error.. Warning: Cannot modify header information - headers already sent by (output started at /home/content/a2pnexwpnas02_data01/92/3515092/html/wp-content/themes/superlist/header.php:11) in /home/content/a2pnexwpnas02_data01/92/3515092/html/wp-includes/pluggable.php on line 1174
by WoW Me Web Girl in Web Development ()
php
Member Avatar
I have 2 tables that look like this.(see below). Table one is named tableX and table 2 is named tableY. +-------+---------+ | count | post_id | +-------+---------+ | 3 | 7209 | | 3 | 7210 | | 1 | 7211 | | 1 | 7212 | | 1 | …
by Amaina in Web Development ()
Member Avatar
Hi everyone I'm creating a multi-part registration form using session, I have no problem with the first two page getting post value but whenever I validate the third page for error, it redirects me always to the first page where it should be redirected to the 2nd page once it …
by Ronel_1 in Web Development ()
php
Member Avatar
I am trying to load text into a form (textarea) from an existing text file resident on the server. I am having no luck. The code I am using (with variations) is: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html><head><title>SVP Data</title> <link rel="stylesheet" href="main.css"/> </head> <body style="background-color:#FFFFFF"> <title>oakhurstsvp.org</title> <link …
by NOVICE3 in Web Development ()
php