39,326 Topics

Member Avatar for
Member Avatar for lonestar23

I am trying to parse a XML document but can not seem to parse both Childnodes and Attributes in the same Foreach statement. ===================== PHP CODE ===================== [CODE] <?PHP $webResults = $response->getElementsByTagName($prnt0); if ($webResults->length<>0) { foreach($webResults as $value){ $title = $value->childNodes->item($child1)->nodeValue; } } ?> [/CODE] Need the title childnode and …

Member Avatar for ShawnCplus
0
2K
Member Avatar for furqan219

hi this is a form.php [CODE=html]<html><body><font face=Arial size=2> <form method="post" action="contact.php"> <table bgcolor=#ffffcc align=center> <tr><td colspan=2><strong>Contact us using this form:</strong></td></tr> <tr><td>Department:</td><td><select name="sendto"> <option value="info@mycompany.com">General</option> <option value="support@mycompany.com">Support</option> <option value="sales@mycompany.com">Sales</option> </select></td></tr> <tr><td><font color=red>*</font> Name:</td><td><input size=25 name="Name"></td></tr> <tr><td><font color=red>*</font> Email:</td><td><input size=25 name="Email"></td></tr> <tr><td>Company:</td><td><input size=25 name="Company"></td></tr> <tr><td>Phone:</td><td><input size=25 name="Phone"></td></tr> <tr><td>Subscribe to<br> mailing list:</td><td><input type="radio" …

Member Avatar for Atli
0
203
Member Avatar for kings

hi so far i have done only small php application.now i want to learn cake php.i dont have any idea..... can anyone suggest a website to learn cake php from the intro. thanks in advance.

Member Avatar for Atli
0
108
Member Avatar for tulipputih

Hi all.. really need a help. this is looks easy peasy but I can't solve it :( I want to make a link from lesson ID to a details of the selected lesson ID. [icode]<td> "<a href='details.php?lessonID=". $lessonID ."'> </a>" </td>[/icode] when I run the coding the following error appear …

Member Avatar for navi17
0
241
Member Avatar for StNick

Hi all, I have a web app that is used in a number of countries, including ones such as Brazil, where the comma is used as a decimal separator. This is causing problems with my SQL queries, as it is trying to update a number field with "0,013" when it …

Member Avatar for StNick
0
105
Member Avatar for elanorejoseph

i always get some problem when i try to create a edit link and corresponding page. now the value to be edited are not shown in the edit form, and i do want to return to the same page where i have selected value to editted .can any one help …

Member Avatar for Atli
0
114
Member Avatar for SKANK!!!!!

im trying to get the username of the personal profile. the url is example.com/theusername/index.php the "theusername" i want to make into a variable. How do i do that? i want the variable to be called "theusername" so how do i make that into a variable? does anyone know? with php …

Member Avatar for SKANK!!!!!
0
201
Member Avatar for theworx

Hi I am using OsCommerce v2.2 for the last two months. Site: [url]www.musictonourish.com[/url] Via the admin console I cannot add new products. Products are added and deleted via the console, but these adding of new products does not show up in the browser view. Previously I did have error 1054 …

Member Avatar for Josh Connerty
0
88
Member Avatar for wilbery

I need help Im trying to get a form to work with PHP and it doesnt seem to be working. I fill out the form and click submit. It changes to a blank white screen not displaying the thank you page or email the form fields. Any ideas? Thanks [code] …

Member Avatar for Josh Connerty
0
163
Member Avatar for nish123

[B]just a small query... how to get User's login time and logout time...??? as well as how to know whether particular user in Logged in out..?? Thnx[/B]

Member Avatar for Josh Connerty
0
3K
Member Avatar for jazu100

Hi, to answer this question you need to have some experience about php... i'm planning to create a http server that supports cgi. Does anyone see the problem in C++ -source? Php doesn't give any output, but if I don't set the rfc3875 environment variables, all output comes normally (expect …

Member Avatar for ShawnCplus
0
842
Member Avatar for nikhita

could u pls help me out to create one databse inside another databse using PHP , MySQL. is it possible??

Member Avatar for ShawnCplus
0
100
Member Avatar for sunilsinha

Hi, I am new to MYSQL stored procedure. Getting problem in SP execution through PHP. How can we execute multiple procedures using mysql and php. I made connection using mysql_pconnect("host", "user", "pwd", 1, 131072); and have 3 procedures one for select, insert and update. If i am going to execute …

Member Avatar for sunilsinha
0
115
Member Avatar for Kligham

Hi, What happens? You type something in a text field, and based on the input, you should get some suggestions. Now, the problem is that I can get the info out of my database with PHP, but now I need to be able to use the PHP array in javascript. …

Member Avatar for Kligham
0
181
Member Avatar for websurfer

Hi all: I have this slight problem, where I have a list of months with amounts that need to be updated, but I always need to enter "0.0" in order for my field to be updated properly; but if I just enter "0" it doesnt take it and remains empty... …

Member Avatar for Atli
0
249
Member Avatar for elanorejoseph

any one please help me, i want to know how to swap two variables say, a and b with out using a third vaiable

Member Avatar for elanorejoseph
0
101
Member Avatar for furqan219

Deal all, I have developed a database for a school and when some one select the student ID it shows all the information related to that particular data, any one can tell how I can purt a print and export excel button on the result page which prints the report …

Member Avatar for furqan219
0
103
Member Avatar for elanorejoseph
Member Avatar for elanorejoseph
0
88
Member Avatar for jugg3r

I am very new to this so I apologize if I get confusing with my post. I have a database that I access through CPanel then through phpMyAdmin. I am running a query to find out when the last login was made by users and I am getting values such …

Member Avatar for diafol
0
2K
Member Avatar for furqan219

Hi, How I can Export PHP Result which shown in table to excel using a Export Button on the Same Page. [B][COLOR="Green"]:) [/COLOR][/B]

Member Avatar for chrishea
0
543
Member Avatar for furqan219

Hi please Share how to show data from a specifice date to specific date. Thanks in advance...

Member Avatar for furqan219
-1
64
Member Avatar for mrcniceguy

In facebook or in some other websites,when adding a person as a friend,just after clicking the link(ADD AS FRIEND),it appears a small window with information of the person you want to add to ur friend list. how can i do like this? which language is used in that...up to now …

Member Avatar for Atli
0
87
Member Avatar for safeer007

I have to open and then unlink a pdf document. [code=php]$url = "../tempdocs/".$tmpdocname; header("Location: ".$url."");[/code] here i can open this document but as I add [icode]unlink($url);[/icode] the browser shows " File is not found". so unlink runs before the completion of file open... if anybody knows a solution please reply

Member Avatar for Atli
0
82
Member Avatar for lithodora

[URL="http://www.daniweb.com/forums/thread46880.html"]Old Thread on the same topic[/URL] I have tried all kinds of things to resolve the issue. My code even works on another server, but I can not use that one. There is NO whitespace. [code]<? // login.php - login form ?> <script type="text/javascript"> function Usernamevalid(which){ var test = validateusername(which); …

Member Avatar for lithodora
0
145
Member Avatar for cmaclennan

Hey guys, Hoping someone can help me out here, I have a query thats pulling essentially an order record from multiple tables, it pulls all of the customer details etc as it should however when the order contains more than 1 part for example instead of just returning 1 set …

0
84
Member Avatar for bassline77

Hi, I have a simple problem that I just can't get right. I have a site that sells photos. The photos appear on PHPSimpleGallery with the file name as the photo's name. I need some sort of script that, if the user select the photo (via a button or something) …

Member Avatar for diafol
0
87
Member Avatar for designingamy

I really need someone to point me in the right direction. I am building a page where a person can choose what border they want to go around their business information. Once they choose it, the image goes in the database, as well as their info. I'm okay on figuring …

Member Avatar for Atli
0
94
Member Avatar for fobos

hello all who read, im here to write this forum, because i have exhausted all means (to my knowledge) of figuring this out. I used the same settings with another outlook and it worked. Basically i have a form and when the user hits "submit", the form gets directed to …

Member Avatar for Atli
0
127
Member Avatar for silviufuicu

[CODE]Fatal error: Call to undefined function usermenulist() in D:\xampp\xampp\htdocs\general\membersList.php on line 163[/CODE] this is membersList.php [CODE]<?php //-------------------------class MemberListHandler-------------------->>> /* * * @category * @package Members * @author vijayanand39ag05 * @copyright * @license * @version Release: @package_version@ * @since 2006-05-01 */ class MemberListHandler extends MediaHandler { private $showPageNavigationLinks = false; private …

Member Avatar for silviufuicu
0
224
Member Avatar for knrakesh

Hi Friends, I need to design a script which will block all user interaction on PC until an activity is completed. Problem: We need to fill time reports every day. People tend to forget filling this. This directly affects companies revenue. Solution: I am thinking of running a script every …

Member Avatar for ShawnCplus
0
121

The End.