17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Mike_H

I am trying to show two hidden <div> (lines 54 & 55) depending on the value of a session variable. I know the "if" statement is working because the alert tests I have do show when the code is run. The "Viewing all whose payment has NOT been confirmed." should …

Web Development php session xml
Member Avatar for Mike_H
0
34K
Member Avatar for ivan3510

Hi! Sorry for my bad english! How to make one php file that will make a picture with some text, numbers...? How to make it if user doesn't have font that is used in this picture? How to make it with different, that one letter be largest that the second …

Web Development image php
Member Avatar for ivan3510
0
112
Member Avatar for Lazarevski

I need to build a program which will upload a .txt file to the server, will read it using StreamReader and the populate an existing SQL table with the concent. The first Page (profiles) does exactly that and works perfectly.. It has a text delimiter and splits the text into …

Member Avatar for kvprajapati
0
128
Member Avatar for david_r

I'm sure this is something stupid but I cannot figure out why I am getting a syntax error with this. Thank you for taking the time to look at my code This is the code that builds the query. [CODE]$numElements = count($new_array_without_nulls); $i=1; // Don't add comma to last element …

Web Development php
Member Avatar for david_r
0
170
Member Avatar for julianmoors

Hi, I wish to select an <a>'s alt property and use it to create a message to display help to the user. This is what I've got so far: [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="content-language" …

Web Development javascript xml
Member Avatar for Airshow
0
115
Member Avatar for akvlko

Hi Friends ! I Need a Paging Script such as Gmail for my College Project Which is a CMS based on Windows Sky Drive with Email Facility....! Thanks in Advanced!

Web Development cms mysql php
Member Avatar for Stefano Mtangoo
0
116
Member Avatar for genosy

hi, Am having a problem Inserting into SQL 2008 database using stored procedure from a php webpage. My Stored Procedure is: [code=text] Create PROCEDURE [dbo].[udp_AddContact_Insert] @Contact_ID int, @Client_ID int, @STD varchar(10), @Tel varchar(20), @Mobile varchar(20), @EmailAddress varchar(100), @FirstName varchar(20), @LastName varchar(20), @Title_ID int, @Position_ID int, @User_ID int, @SourceURL varchar(1000), @PositionText …

Web Development mssql php sql
Member Avatar for genosy
0
212
Member Avatar for david_r

I am having an issue with populating values from a form into a mySql database. When the code attempts to send the insert query to the database, it returns the error, ERROR: Incorrect decimal value for column 'purchase_price' at row 1 I think I can understand what is happening here. …

Web Development mysql php
Member Avatar for david_r
0
200
Member Avatar for saideepthi.bits

hi, i have a page which shows user details(div1) by default there will be an admin who enters username and pwd and then a new div(div-layer) is displayed. also ,a user can edit his data by pressing edit button on which he will be displayed div2 and div1 will be …

Web Development display php
Member Avatar for saideepthi.bits
0
242
Member Avatar for Viruthagiri

Ok guys I'm getting trouble with my php echo command. All the codes after the first echo command, displaying in browser. I mean i have problem with my php echo. I tried in several scripts. I'm using wampserver 2.0. I've given the example of my error. Please solve it ASAP. …

Web Development apache php
Member Avatar for Viruthagiri
0
184
Member Avatar for Viruthagiri

Guys I have 2 files. index.php and connect.php I'm getting database connection error. This is the error i got [QUOTE]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in H:\wamp\www\index.php on line 3[/QUOTE] Then i added the error detection code in the third line. I got the following …

Web Development php session
Member Avatar for richieking
0
202
Member Avatar for GDICommander

Hello, everyone! I'm not able to access a WSDL file on a remote machine. I am using DOSGI and I'm creating a service in a OSGI bundle. My container is Apache Felix. DOSGI takes care of exposing a OSGI service as Web services. DOSGI publishes a WSDL at [url]http://localhost:9595/prototype1Service?WSDL[/url] on …

Member Avatar for GDICommander
0
205
Member Avatar for ivan3510

Hi! Sory for my bad english. I don't know the name of it. Can you write. Thanks. See the picture (attached). Let's say that the name of it is "little window". I want to make on my site that this disappear, and when I something type, I want that this …

Web Development html-css javascript
Member Avatar for ivan3510
0
97
Member Avatar for ivan3510

Hi! Sory for my bad english. Is it posible to make in php a html compiler (program that will check if there is lexical or semantic mistakes)? (eg. If someone write: "<html><haed>", the program will check and write message that is error in code and that must be writen "<html><head>"). …

Web Development html-css php
Member Avatar for ivan3510
0
125
Member Avatar for Capt Spaghetti

Thanks to a forum member I have moved a little forward but now I am stumped on how to convert a passed value to a variable so it can be used to search a MySQL database. When I use the passed variable as the value I receive the following error: …

Web Development mysql php
Member Avatar for Capt Spaghetti
0
133
Member Avatar for ceeandcee

Good Morning, I am hoping someone can help me. I am not even sure if this is possible. I am building a hockey pool site and I would like to automatically update the value of a variable once a week or 26 times. I would like to use the clock …

Web Development php
Member Avatar for ceeandcee
0
110
Member Avatar for fobos

Hello CF Coders, I have another question. Basically i want to use a cfif statement with out haveing to use it until im ready. Ill give an example and problem i getting. page.cfm [CODE=CFM] <body> <cfif #URL.get#> or <cfif isDefined(URL.get)> // execute code </cfif> <a href="page.cfm?get=this">click</a> </body> [/CODE] When i …

Web Development coldfusion
Member Avatar for arrgh
0
167
Member Avatar for Capt Spaghetti

I am trying (unsuccessfully) to pass a variable to another php file. I am able to retrieve the information from MySQL, and present it on the web page but I am unable to pass the "hot link" ID to another php file. I am a beginner so it must be …

Web Development php
Member Avatar for P0lT10n
0
141
Member Avatar for natchattack

This is a simple problem but one of those that eats at your brains the more you think of it. I basically want to write a a variable to a php file ( the variable name itself not the contents ). The code i have below. [CODE] // we will …

Web Development php
Member Avatar for natchattack
0
85
Member Avatar for kracko

Hey ppl. I use apach and i've got a problem that i cant fix when i write this code .. [CODE] <img src="Z:/home/localhost/www/ImageGallery/Images/mmbg3xmx3g.gif" width="100px" height="100px" name="imgPreview" /> [/CODE] no image is shown. Whats wrong? The image surely exists in the specified path. And one more problem with this is that …

Web Development php
Member Avatar for kracko
0
105
Member Avatar for olivebibi

Good evening, I'm trying to generate an xml file based upon the result of an SQL query. I'm making some good progress so far but there is 2 problems I can seem to solve. My php code is the following: [CODE]<?php require ("Connection.php"); $db_handle = mysql_connect($server, $user_name, $password); //load the …

Web Development php sql xml
Member Avatar for P0lT10n
0
256
Member Avatar for Rated X

I am working on a assignment in PHP but cannot get my results to show up now on a separate page, or at all. After adding in my IF statements, everything stopped working but I am not getting an error message. Any help would be appreciated. I have supplied all …

Web Development html-css php xml
Member Avatar for Rated X
0
104
Member Avatar for niche1

This works: $result = mysql_query("SELECT * FROM plan WHERE begin BETWEEN '2010-09-01' AND '2010-09-30'") or die(mysql_error()); I need some version of this to work where begin and end are currently timestamped columns in my table: $result = mysql_query("SELECT * FROM plan WHERE date("Y-m-d") BETWEEN begin AND end") or die(mysql_error()); What's …

Web Development php
Member Avatar for niche1
0
88
Member Avatar for AboJaD

Hello, I am trying to get the element of an option, but seems my code is not working: <script type="text/javascript"> /*<![CDATA[*/ function reportsendipp() { if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { ; } } xmlhttp.open("GET","report_member.php?report=" + document.getElementById("ipps").value + "&&member=" …

Web Development javascript xml
Member Avatar for Airshow
0
375
Member Avatar for AngelicOne

I have a gridview that is being generated at runtime. When there is no records return, the gridview becomes hidden and it shows empty page which is quite confusing for the user to distinguish whether it's hidden or the page doesn't load successfully. What I need to do is to …

Web Development asp.net image
Member Avatar for guru_sarkar
0
92
Member Avatar for chintan@dani

Hello Experts, I am developing application in which i use ajax.but i need to pass more than one variable to url for further processing. I can't use [CODE] var url="availabilitycheck.php?t="+value //it works var url="availabilitycheck.php?t="+value+"&hid="+hd1+"&chkin="+chkin; //not valid[/CODE] How can i send other variables.?? I tried using session that works but it …

Web Development javascript session
Member Avatar for Taywin
0
215
Member Avatar for qazplm114477

Which php framework should I spend my time learning? Since there are so many, I was wondering which are the more popular frameworks out there?

Web Development php
Member Avatar for Stefano Mtangoo
0
268
Member Avatar for PotaZinga

Hi please help with the coed to upload a CSV file. i triied using this code which i used on msome of my pages to upload files like pictures and text files and it works pefactly [code=asp] strFile = "C:\TBP_IntdevResellerReport.csv " set galaxy = Server.CreateObject("SiteGalaxyUpload.Form") if galaxy("upload_btn") = "Upload" then …

Web Development asp
Member Avatar for PotaZinga
0
105
Member Avatar for julianmoors

Hi Guys, I'm in need of a paginator at the bottom of a table which is being returned by Ajax's responseText. I'm having trouble as I can't seem to hook up the JavaScript with the one being produced by Ajax. I know some of you will say I need to …

Member Avatar for Airshow
0
450
Member Avatar for jbisono

Hi I initially start this [URL="http://www.daniweb.com/forums/thread283467.html"]thread[/URL], but now another issue came up. Tha fact that im creating the dropdownlist in the fly within a treeview asp.net control, now i want to have one button that when pressed go thru every node in the treeview and get me the selected value …

Web Development asp.net html-css
Member Avatar for jbisono
0
120
Member Avatar for javaAddict

Hi, here is the question: I have 2 textfields in my JSP: [CODE] <s:textfield name=" ...." /> <s:textfield name=" ...." /> [/CODE] Now I went to browser and did: View Source Code, and noticed that around the above tags, there were auto-generated tags that put the above fields into 2 …

Web Development gui java-jsp
Member Avatar for garaki
0
1K
Member Avatar for ujjval dave

hi every one, i need your help in my php code.Currently i m developing one social site. i had develop php code code for getting recent update from friends. my error is for not printing recent update from friends. i had tried my best but it's not working. i m …

Web Development php session
Member Avatar for ujjval dave
0
105
Member Avatar for jeeva86

Hi, I wanted to know how would you be able to change an image on a website to another one when refresh is hit on the tool bar in IE or how would i get it to open up a different html file when i hit refresh and i'm not …

Web Development image javascript
Member Avatar for KazmiLahore
-1
4K
Member Avatar for doraima29

Hi, I need some help completing a dynamic form done in asp. I will put the code shown below: Things that need to be considered: 1. Sending this form via email, and output will show after user types his/ her input. 2. Radio buttons are constructed-- so the message and …

Web Development asp vbscript
Member Avatar for vegetablevn
0
179
Member Avatar for migicikinyanjui

i am trying a case statement that will input different results based on the town a user enters in a form .the code in the form is [CODE]<html> <body> <form action="relay.php" method="get"> town:<input type="text" name="town" /> <input type="submit" /> </form> </body> </html [/CODE] while that one for case is [CODE] …

Web Development apache php
Member Avatar for Usernamex235
0
144
Member Avatar for MoreBloodWine

Ok, I know there's missing code from the top but it's stuf that doesnt matter and I didnt feel like modifying it with dummy data to post the full PHP page here. Anyway, the below code produces this: [url]http://www.myu2sig.com/currentusers2.php[/url] If you page around you will notice that it always shows …

Web Development php
Member Avatar for MoreBloodWine
0
111
Member Avatar for Roebuc

Can someone tell me how I can accomplish this. I want the results of a form to be placed in a pdf and then added as an attachment. I am not sure if this is possible, but if someone knows how, please let me know. Thanks.

Web Development email pdf php
Member Avatar for Nandkishore354
0
1K
Member Avatar for ranu jain

hiii I have two page in my adminitrator folder of my web site manageuser.aspx and userinformation.aspx .Now when i click at manage button at manageuser.aspx page i have to navigate userinformation.aspx page with corresponding user. i set in the greed view of manageuser.aspx page- [CODE]<asp:HyperLinkField HeaderText="manage" Text="manage" DataNavigateUrlFields="UserName" DataNavigateUrlFormatString="UserInformation.aspx?user={0}"/> [/CODE] …

Web Development asp.net
Member Avatar for ranu jain
0
97
Member Avatar for FreddieBambino

Right. Im a php developer and I have never taken the time to study Javascript, and it always gives me a hard time. I have a drop down menu with 2 options. The default option is just Choose Payment. If I go to credit card, then nothing is supposed to …

Web Development javascript
Member Avatar for hielo
0
117
Member Avatar for drewpark88

Hey Guys, I am having a couple issues with a website when I view it in Internet Explorer. It works fine in Firefox, Google Chrome and probably most other browsers, but has issues with the navigational drop down and for some reason the footer is only partially coming up (cut …

Web Development javascript
Member Avatar for Airshow
0
212
Member Avatar for Robbastiaansen

Hi, What I am trying to do is enter HTML code into a variable and then pass it along to another script with POST to have it used as the HTML content with PHPmailer. As soon as my HTML code that i paste into the textarea contains double quotes it …

Web Development html-css php
Member Avatar for dietdew12z
0
2K
Member Avatar for jet101

Hi everyone... im new to this forum and also in web application using jsp-jstl. im having problem passing data from a multilple check box lists. here's my code: [CODE]<form method="post"><sql:query var="charge" dataSource="${datasource}"> SELECT chargeID, commodity FROM other_charges where charges_typeID = 1 </sql:query> <span class="cell_content">Toiletries:</span><br /> <c:forEach var="row" items="${charge.rows}"> <input type="checkbox" …

Web Development java-jsp
Member Avatar for Watashi
0
1K
Member Avatar for ceeandcee

Here is my problem. I have a table that produces 11 names with 2 values for each. These values are derived by subtracting one field in the database from the other. I have no problem gettign the table to produce those 22 values, but now I want to total each …

Web Development php
Member Avatar for ceeandcee
0
108
Member Avatar for dennishall

Hi there: I am running FCKEditor 2.6.4 and am looking for a solution to insert onClick and onMouseOver external javascript into the anchor tags of my editor instances. This insertion would be handled via a toolbar button. What I already know and have tried: 1. Know how to manually do …

Web Development javascript
Member Avatar for Taywin
0
143
Member Avatar for new SE

Hi all, i need some help in c# in order to display the attrtibute that is not in the same table.. i have a table COMPANY and CODE..in company table, i have attribute called CmpStatusCode that just display in int (input by ddl which is selectedvalue ex: 1,2,3)..but in CODE …

Web Development asp.net
Member Avatar for siju kuriakose
0
115
Member Avatar for new SE

Hi all, i have a problem with my datagrid attribute "OnPageIndexChanged="gridedit_PageIndexChanged""... for example if i have 2 page and the second page contain only one record.. if i want to delete the record, this error appear.. anyone can help me plz.. [CODE] Invalid CurrentPageIndex value. It must be >= 0 …

Web Development asp.net
0
69
Member Avatar for valonesal

Im a novice at php and cant seem to get the following two line together. We want to use this line [CODE] <?php if($logged_in) { echo "Welcome back, $logged_row[username]&nbsp"; } else { print('<a href="http://xxx/login.html">Login</a> / <a href="http://xxx.com/signup.html">Signup</a>'); } ?>[/CODE] But we need this put into it, we need it before …

Web Development html-amp php
Member Avatar for valonesal
0
103
Member Avatar for sen4ik

Hi I am parsing .csv file which contains 21 000 records. While i am parsing it i insert records in database. It is taking about 40 second for script to parse the file. User will not sit and wait 40 seconds - he might close page. How can i print …

Web Development php
Member Avatar for MooGeek
0
64
Member Avatar for MackAttack30

Hi forum, This will probably be an easy one but i have a situation where i have multiple PHP/HTML <SELECT> tags. So i hold their id and name in an array. When i go to call this enableBox JavaScript function and i try to call the selectorName[] using the getElementById …

Web Development javascript php
Member Avatar for MackAttack30
0
325
Member Avatar for ceeandcee

Good Morning, I am looking for some code that will simply echo "0" when the result is negative. I dont want it to output a negative number. Here is the line I am looking to add this to: [code] echo $row['GP1011_'.$wk.'']-$row['GP1011_'.$prev.'']; [/code] Any help is appreciated. Thanks Chris

Web Development php
Member Avatar for nevvermind
0
114

The End.