39,316 Topics

Member Avatar for
Member Avatar for AnkitPasi

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 …

Member Avatar for AnkitPasi
0
115
Member Avatar for richman_tck

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 …

Member Avatar for richman_tck
0
414
Member Avatar for ayesha789

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

Member Avatar for ayesha789
0
81
Member Avatar for ayesha789

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 …

Member Avatar for ayesha789
0
139
Member Avatar for andrewliu

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 …

Member Avatar for pritaeas
0
134
Member Avatar for Lolalola

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]

Member Avatar for pritaeas
0
40
Member Avatar for MDanz

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]

Member Avatar for pritaeas
0
62
Member Avatar for babydol

Is it possible to show the last selected value from the drop down list box after form reload?

Member Avatar for lakshmi_lux
0
77
Member Avatar for canterorist

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 …

Member Avatar for canterorist
0
78
Member Avatar for bimalnayak

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.

Member Avatar for manzarr
2
354
Member Avatar for creperz

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 …

Member Avatar for vibhaJ
0
99
Member Avatar for lwaterfo

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 …

Member Avatar for manzarr
0
455
Member Avatar for vishalkhialani

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

Member Avatar for vishalkhialani
0
152
Member Avatar for chintan9624

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 …

Member Avatar for manzarr
0
138
Member Avatar for nats01282

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

Member Avatar for nats01282
0
106
Member Avatar for ekseks

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

Member Avatar for ekseks
0
81
Member Avatar for ManishS

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

Member Avatar for metalix
0
107
Member Avatar for mybluehair

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 …

Member Avatar for mybluehair
0
100
Member Avatar for assgar

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 …

Member Avatar for assgar
0
79
Member Avatar for phplover

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 …

Member Avatar for phplover
0
255
Member Avatar for MrPeanuts

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 …

Member Avatar for EverWebby
0
147
Member Avatar for smiler89

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 …

Member Avatar for EverWebby
0
195
Member Avatar for througheye

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 …

Member Avatar for througheye
0
47
Member Avatar for Kenan1975

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

-3
34
Member Avatar for bdicasa

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

Member Avatar for tarmin68
0
1K
Member Avatar for Tracie-marie

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 …

Member Avatar for Tracie-marie
0
156
Member Avatar for madkat3

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 …

Member Avatar for madkat3
0
142
Member Avatar for MWE_QUE

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 …

Member Avatar for MWE_QUE
0
125
Member Avatar for lwaterfo

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

Member Avatar for lwaterfo
0
90
Member Avatar for lifeworks

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

Member Avatar for Lsmjudoka
0
96

The End.