39,388 Topics
![]() | |
pls i want how to upload and retrive only pdf files in php and mysql code or any links.. | |
Hi i am working on a server sent event script to be sent when the user has logged out, but in the network tab the server sent pages are being sent every couple of seconds with no data. Client-Side script var source=new EventSource("include/updates.php"); source.addEventListener('logout',function(event){ $("#notificationsContainer").append(event.data + "<br />"); source.close(); },false); … | |
how can i search names according to checkbox values from database table | |
I need help!! What I want is when I add a new teacher, it will search the tblteacher_info. If there is already a record of that teacher, it will just update his/her record. If there is no record of that teacher, it will add his/her info in the tblteacher_info. I … | |
Hi friends! i'm currently work on a chatting system that requires me to list all the user friends, so i need a code that will help me navigate throw the freinds list one after the other. thanks! ![]() | |
Hello guys, Working on a stock market table with rates of different currencies. What I would like to achieve is that i have an array of rates and would like the difference of today and the previous day, and it works, but i'm getting an empty value for the first … | |
I cant use a cron for this task as the script should always be running. I have a loop that does the following: 1) Gets a SQL row 2) Runs the values through some functions 3) stores new values 4) gets the next row and repeats This script has to … | |
i have a code files in php + mysql database , so now i want to make them online on some free hosting site. i am totalyy blank about this, so how to make it online so the world could see | |
i'm working on a script and I want to make the links such as www.mysite.com/signup. this link for registration. www.mysite.com/user/username and this link for user's profile. the links without any php extension. also when someone request link such as www.mysite.com/signup.php should redirect him to www.mysite.com/signup what I know is I … | |
Hi, Ive already started a thread similar to this but for a different form format. this one is as follows... Im struggling with the correct code to do the following... probably something simple to many but im new to PHP and learning as I go. I have a simple php … | |
I have a simple form that uses a bit of jquery, <form action="" method="post" enctype="multipart/form-data"> <label for="file">Upload File:</label> <input type="file" name="userfile" id="userfile" /> <input type="button" value="Submit" onclick="uploadfile()"/> </form> the uploadfile() in my .js file looks like this: function uploadfile(){ var userfile = document.getElementById('userfile').value; var username = document.getElementById('username').value; $.post("php/upload.php", {userfile: userfile,username: … | |
Hi, im new to PHP programming and ive tried a few forums on the net with this question and so far no answers. I have a php form that is working fine with a pre-determined email address, part of the code is as follows: $data_email_sender->AddToAddr("name<name@website.com>"); I also have a variable … | |
Hi I read a text file using PHP, the file gets uplaoded, and what I want to do is read the file take some information out of it and post it to mysql. Problem is that when reading the file it removes the spaces, I cannot count where the data … | |
Hello, I want to submit multiple records into a mysql database, and I have hit a snag. I am developing a web application that displays student records, and upon displaying student records per class, I want to be able to add marks for beginning of term, mid term and end … | |
Hey I want to do something like this: <script language="javascript"> function calculatesha() { var name = document.getElementById("firstname").value; var last = document.getElementById("lastname").value; var complete = name+last; var hash = <?php echo(sha1(?>complete<?php));?>; } </script> I hope the code is understood even if it is wrong. Thanks. | |
hi! i'm having a hard time figuring out how to add two values(numbers) retrieved from a table. They should be added and displayed. how can i do this? here's the code snippet: require('connect.php'); $result = mysql_query("SELECT * FROM `order` where date = '$date' "); while ($row = mysql_fetch_array($result)){ echo "The … | |
Hello sir, i am working on a project in which pdf view in iframe is required.It is working good in windows but it is not opening in firefox in linux.it is giving direct download option.any solution?please help me. | |
Hi I'm trying to send a request to a my webservice using curl $content = '<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="http://www.travelledia.it/XHI" xmlns:ns1="http://localhost/test/soap2/" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"> <env:Header/> <env:Body> <ns1:OTA_HotelAvailRQ> <AvailRequestSegments> <AvailRequestSegment AvailReqType = "Room" ResponseType = "RateInfoDetails"> <HotelSearchCriteria> <Criterion> <HotelRef HotelCode="5095">xxx</HotelRef> </Criterion> </HotelSearchCriteria> </AvailRequestSegment> </AvailRequestSegments> </ns1:OTA_HotelAvailRQ> </env:Body> </env:Envelope>'; // Assign headers $headers = array("Content-type: … | |
I have php script that was writtin in 2009, it was working fine on my server even 1 year ago. i have upoloaded same script on server now, main page is seems to working ok and i can do anything in backend. is it due to php4 - php5 or … ![]() | |
Hi, pls can any one tell me how to configure zf2 on wamp. I have downloaded zf2 minimal package. But there is no zf.bat,zf.php,zf.sh files. And i am getting fatal error as Zend/Application.php not found. Pls can any one explain in detail.......... Thanks in advance | |
hello all, please help me, how to make email broadcast in our website? ar u can help me to share it`s php source code? i need reference for my homework... please thanks before | |
need the code asap pls.. | |
hi every body i want to show in each row 4 items from my db and go to another row (++row) in each row 4 items until end of items of db instead of in each row 1 item please help me here is the code <?php $sql=mysql_query("SELECT * FROM … | |
Hi, I'm trying to implement some php code that I have in one document into another document. However when I do that I get this error: Parse error: syntax error, unexpected $end in /home/www/wearecrunch.dk/gammelsjuf/ajax/class/phUploader.php on line 470 I think it has something to do with where I'm placing the code, … | |
hi everybody i got this page form some template that shows items in the page with pagination system but i want to keep this method without any pagination i dont want to spilit number of items i just wanna see all of the items that it read from db in … | |
I figure out how to write all the entries from my database onto a text file. header("Content-Type: text/plain"); header("Content-Disposition: Attachment; filename=test.txt"); header("Pragma: no-cache"); exit; How do I modify the text file?? Each entries (or row) have 5 elements in it and there are multiple entries in my database. How do … ![]() | |
How can I remove Canonical/Number tags from Mingle Forum topic Permalinks? I'll be grateful if you can help. Thanks in Advance. ![]() | |
Im making a top 10 leaderboard and ive added an option to hide yourself from the table if you dont want to be shown. This option removes you from the table completely. What I want to happen is instead of being removed from the table, have your username be replaced … | |
![]() | Hi I'm been trying to enter numbers into the <input> so I can calculate **Add** - **Subtract** - **Divide** - **Multiply**. This is the equations: <?php $number = 20; $number += 10; print "\$number += 10;<br /> The answer is <b>$number</b>. <br /><br />"; $number -= 12; print "\$number -= … ![]() |
Hello im trying to get a hello world program to work from c# to wcf and then call it with php now have gone as far as i can get. **You have created a service.** To test this service, you will need to create a client and use it to … |
The End.