39,316 Topics
| |
Hello, Im an intern at a company.I've been asked to test different open source PHP-based help desk softwares and submit a report on a free alternative to a commercial solution. The report should compare at leaste two popular such softwares(according to me). How do i test such a software and … | |
Hello, I'm having issues with my Boonex 7 community the error im getting is.. PHP Warning: Cannot modify header information - headers already sent by (output started at /mnt/Target01/326394/463756/www.handycappedsingles.us/web/content/langs/lang-en.php:1) in /mnt/Target01/326394/463756/www.handycappedsingles.us/web/content/inc/classes/BxDolSession.php on line 61 PHP Warning: Cannot modify header information - headers already sent by (output started at /mnt/Target01/326394/463756/www.handycappedsingles.us/web/content/langs/lang-en.php:1) in … | |
Hi , I have 5 quries, each query showing expense of different category. like Lease,Diesel,Security,Electricity, Maintenance. 3 quries using 6 tables and 2 quries using 2 tables means 6 tables used in total. Now I want To Show Expense Using one query so I can Get complete Sum of Expenses. … | |
Hi, I am using UNION ALL to get Sum of expense of different categories from various tables. Now I got Site against their Sum of expenses but When I make this query as table(tbl2) ans select site,Max(Expense) from tbl2 it shows correct Max(Expense) but first Site id of tbl2. Here … | |
Hello. I'm new to php and I'm just getting my foot wet. But I've been going through lots of tutorial and I was looking into this google tutorial: [url]http://code.google.com/apis/maps/articles/phpsqlsearch.html#findnearsql[/url] and its what I wanted it to do. Calculate a nearby store locator. But I was curious about how to modify … | |
hi, how find in text only one image? [CODE=php]$text = 'text text <img src = "http://physics.unl.edu/dept/directories/images/gradpics/Cat.jpg" /> text text <img src = "www.url.com/image.gif" />'; preg_match_all('#http:[^<\s>]+[.](gif|png|jpe?g)#i', $text, $all_img); print_r($all_img);[/CODE] | |
i have this in a loop and a form so the variable changes. i have the word printed next to the checkbox. On the page the form directs to, how do i get the $varibles that have been clicked on. [code]echo "<td align='left' width='110'>$topic<input type='checkbox' name='$topic' value='No' /> </td> </tr></table></td>";[/code] | |
Is it possible to show the last selected value from the drop down list box after form reload? | |
hi! i have problem with this rmdir. How can i remove the directory and the image inside of my dir? this is my PHP code: [CODE] $dir="image/"; $arr=array(1=>"pig.jpg",2=>"animal.jpg"); $x=0; while($x<2) { if(unlink($dir.$arr[$x])) echo "success"; else echo "failed"; } rmdir($dir); [/CODE] but when i run the error occur. [B]Warning: the directory … | |
Hi , I want to convert numbers into words. Can anyone please help me to do that or how can i implement it in PHP codes pls tell me that. | |
Hi guys... ahm im new in php. i really need help with this.. i am making a exam system. i want to put a time limit to my exam page like 20mins and when the user still dont click the next button and the limit reach. it will automatically refresh … | |
Hi, I keep getting this error when filling out my form and calling process.php: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home3/waterfor/public_html/process.php on line 1 all I did was move around some of the variable names in the php code. It was working fine just a second before that. Here … | |
Hi, I am currently making my own template for wordpress and I am using someone elses template as a reference. I came across this code: [CODE]thesis_head::build();[/CODE] I don't know what this code means ? What is :: for ? Cheers, Vishal | |
Hello guys this forum helped me alone for completing my projects that is y i am going to post one article hope you like it......... 1->create an excel sheet and enter data in that then at the time of saving saving it as a csv format and below is the … | |
Hi there, I am trying to use a login and a contact form on one page, but im struggling with the php context [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>my webpage</title> </head> <body> <?php $user = 'admin'; $pass = 'admin'; if ($user != $_POST['username'] … | |
[CODE]<?php $username="root"; $password=""; $database="kuhadate"; mysql_connect('localhost',$username,$password); @mysql_select_db($database) or die("Unable to select database"); $query = "SELECT * FROM `ddate` WHERE 1 LIMIT 0 , 30"; $result = mysql_query($query) or die(mysql_error()); $row = mysql_fetch_array($result) ?> <input name = "date" value="<?php echo $row['date']; ?>" type="text" /> [B]<input name = "month" value="" type="text" /> <input … | |
[I]hi... I am getting an error:"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.1989)' at line 1" please help me removing the errror[/I] [code]<?php include "functions.php"; ?> <html> <head> <title> Register Form </title> … | |
I've got a big problem on my site i'm developing. I have a pretty simple session login script, and every page of my site checks to see if the person is logged in. If not, it redirects them to login.php. I've noticed that when I click links on my menu … | |
Title: Comparing arrays Hello I am having a problem getting the difference between two arrays. The first array $list has all codes that can be linked to a specific id The second array $exist has the values select and linked to a specfic id. Both arrays are storing integers array … | |
Hello, I have a script that works great, basically i have a mysql database that contains information about files; like filename, description, size etc. The information is displayed on a webpage in a nice formatted table. each file has a link next to it and once pressed the script below … | |
Hello! I am reasonably new to all this web development malarkey and am completely self-taught, so there is loads I still have to learn. A friend has asked me to help him with a site he's making but I'm stuck and I really hope you can help! I want to … | |
hello, i am building a website using mysql and php on an apache web server. The site has over 100 index pages for differnt parts and content of the site. one of the problems i am having is i have to write the navigation bars in for each page, and … | |
Hi, I am planning a script/system which will tie to a normal static html page which purpose is to sell space for class/seminar/workshop. Is there any open source system to use for this purpose? or Is there any custom made script for this type event listing? I can/should use any … | |
Hello, Please answer the following questions. 1 - RSS in PHP how to use it? 2 - Rss how a site can be obtained in a contemporary manner? Please make an example. Thank you for your interest and support. good day. Best regards Kenan | |
Hi guys, I was wondering if it was possible to call a specific PHP function using AJAX instead of calling a whole page. An example: [code] function MakeRequest() { var xmlHttp = getXMLHTTP(); xmlHttp.onreadystatechange = function() { if(xmlHttp.readyState == 4) { document.getElementById('provinceDiv').innerHTML = xmlHttp.responseText; } } xmlHttp.open("GET", "FindProvinces.php", true); xmlHttp.send(null); … | |
Hi, I'm self taught but I've got a pretty good grasp on php now. What I want to do is completely separate it from my html....if that's possible. I keep reading about it but everyone keeps referring back to using templates which I don't want to do (unless they're my … | |
Okay, so I'm pretty new to PHP...Call me a newbie, but everything works great if it's completely static, but the problem I have is if I need different results depending on user action. The problem lies with needing to use PHP to take information from files, but otherwise it would … | |
I'm going through SAMS Teach Yourself PHP, MYSQL, and Apache all in one and I can't seem to get this example to work, which is used again in the next lesson. I usually type them in by hand as this one, but I've also tried cutting and pasting and removing … | |
HI, I have a form with a huge textarea field and I am not sure how to format the textarea to make it work with php. The small textfields seem to work fine with adding information to my database, but as soon aas I add dropdown menus, a large textarea, … | |
Simple issue... If my website is storing text in a database (MySQL) - and will ordinarily be outputted in good ol' HTML... but possibly via XML, or JSON... how do I store the text, allowing for eg. paragraph breaks, but not using HTML to format it?? lworks |
The End.