39,320 Topics

Member Avatar for
Member Avatar for nsandberg

I am new to PHP and I have an application that is suppose to take 6 pieces of information and insert it into the table. I essentially have this application working but the issue that I am running into is that when I select multiple checkboxes it will only insert …

Member Avatar for vibhaJ
0
3K
Member Avatar for private bob4

Hello DaniWeb, I was wondering how I can have a server status in the Title bar. Such as: (Website name) - Server is online! or (Site Name) Server is offline!

Member Avatar for 84hd0ns
0
80
Member Avatar for Awah Mohamed

Hi guys . I need your help . I want to open a powerpoint file on my website but i dont want it to be downloaded so please tell me any way that i can use to open my powerpoint presentartion

Member Avatar for ApocDen
0
52
Member Avatar for lionaneesh

These are my 2 pages index.php:- [CODE]<?php session_start(); ?> <html> <head> <title>Enter Your Name</title> </head> <body> <form action="hello.php" method="post"> Wat's U'r name : <input type="text" name="name"/> <br/> <input type="submit" value="Next"/> </form> </body> </html>[/CODE] hello.php:- [CODE]<?php session_start() ?> <html> <head> <title>Hey <?php echo $name; ?></title> </head> <body> <?php $_SESSION['name'] = $_POST['name']; …

Member Avatar for lionaneesh
0
200
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
416
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
147
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
360
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
196
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

The End.