52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for agrophobic

G'Day, the following code works as intended but on the first load of the page a syntax error occurs: [I](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 'where Suburb =' at line 1)[/I] …

Web Development php
Member Avatar for Graphix
0
275
Member Avatar for BigDan531

Hi guys ive got a problem with my mail() function. [code] if(mail('$email', 'test', 'test message')) { echo('ok'); } else { echo('not ok'); } [/code] im trying to test this out. ive tried manually inputting the email e.g. [email]12345@hotmail.com[/email] the email is sent and i can receive it. However, when i …

Web Development php
Member Avatar for BigDan531
0
311
Member Avatar for saj_amo

hi i have a textbox and a button on my asp.net page i want that when i write any value on textbox and after that when i click on textbox then a click would perform auto on button so how can i do this???

Web Development asp.net
Member Avatar for Ramesh S
0
827
Member Avatar for dweddi

Hello, I am trying out to construct a performance monitoring system (par tof my project at college), I am now trying to create the pages for reports and wish to refine even further with a reporting tool that can display for me performance of staff in a newsroom. I am …

Web Development html-css php xml
Member Avatar for dweddi
0
155
Member Avatar for san_crazy

hi friends, I tried to search few best ASP.Net 3.5 tutorial in google but coudn't find one best for me. If you guys know some online tutorials or books then please let me know. regards san

Web Development asp asp.net
Member Avatar for dnanetwork
0
83
Member Avatar for elidotnet

Hello, I have 10 lines of FileUpload (1-10) i have some problem during the upload event. When i put 10 files there is no problem and everything work fine. When i put 3 or 4 files i get error message. Looking for help / solution Pllllease. the message is: "Could …

Web Development asp.net
Member Avatar for dnanetwork
0
123
Member Avatar for mundetas

Can someone please help. I have a rollover image and when you click it takes you to a page. But I want it to remain on the same page. I want it to display data from a db. But should appear on the same page where the button is. So …

Web Development php session
Member Avatar for Menster
0
135
Member Avatar for vanessia_1999

I am busting my brain with this. It seem simple I tried it a few ways and it is not working how I want it. I would like for example the return policy document to be in the main content box of my page only when a person click on …

Web Development display flash html-css php
Member Avatar for pritaeas
0
196
Member Avatar for feoperro

Hi, I have a javascript function that sets the value of an input area on my page. I need to update the function so that it also sets the value of the input area on a separate page. Currently, I am using a frameset, so I can see both pages …

Web Development javascript
Member Avatar for feoperro
0
77
Member Avatar for hajjo

[CODE] < form name=form1> <% int x = 0; while ( x < 10) { %> <label name="<%=x%>"> <input type=textbox name=inaki> <br> <% x = x + 1; } %> <input type=button value=go onclick="doit(this)"> </form> <script> function doit(sthg) { var x = 0; while( x < 100) { alert(document.form1.inaki[x].value); x …

Web Development java-jsp
Member Avatar for javaAddict
0
79
Member Avatar for david777

hey how do i start learning PHP??? RESOURCES DONT KNO plz comment thankss

Web Development php
Member Avatar for jay_412
0
87
Member Avatar for balagod

Hai, I want to read excel file and store the data into mysql. my excel file contains special symbols like ∫,Ω,√ ... (all physics formulas). I used phpexcelreader from pear.but this symbols are not reading correctly. it shows as rectangle box. please provide a solution for this to resolve.

Web Development php
Member Avatar for balagod
0
92
Member Avatar for sarath.koiloth

I attended one interview today,Interviewer asked me one question regarding the creation of unique identifier. Question : Consider same webapplication is deployed in 3 webserver.if any user registered in any of my application,a unique identifer is given to the user.It cannot be stored in a database.3 webserver should not produce …

Web Development java-jsp
Member Avatar for sarath.koiloth
0
111
Member Avatar for otakua

So Im editing a page on my site, and I tried to edit a code, because I got an error... cant remember what it is right now, but anyways, I changed it and got another error, something about unexpected T_DNUMBER? Well I decided to change it back, and now I'm …

Web Development mssql php
Member Avatar for cwarn23
0
157
Member Avatar for Gearspro

Hello again daniwebbers ;) Wondering if you could help me out. I've been having alot of trouble trying to get a Bookmark us in the header section of my vbulletin forums. Theres an image of what i would like to do, down below in the file attachment section. If someone …

Web Development php vbulletin
Member Avatar for Gearspro
0
128
Member Avatar for bshyama24@gmail

I am a very new in web services.Can anyone tell me how to call a web service from remote network using c#?

Web Development asp.net
Member Avatar for Ezzaral
0
109
Member Avatar for trtcom1

Hi there, I have 3 tables: Student ([B]studentNum,firstName,lastName,CourseName)[/B], course ([B]courseID,courseTotalCapacity[/B]), course_allocation ([B]studentNum,courseID[/B]). I have 3 courses, MATHS=101,BIOLOGY=102,CHEMISTRY=103. My form has the following: [CODE=html]<SELECT NAME="CourseName"> <OPTION VALUE="MATHS">MATHS</OPTION> <OPTION VALUE="BIOLOGY">BIOLOGY</OPTION> <OPTION VALUE="CHEMISTRY">CHEMISTRY</OPTION> </SELECT></td></tr> <SELECT NAME="courseID"> <OPTION VALUE="101">MATHS=101</OPTION> <OPTION VALUE="102">BIOLOGY=102</OPTION> <OPTION VALUE="103">CHEMISTRY=103</OPTION> </SELECT> [/CODE] I would like to have some kind of a …

Web Development html-css php
Member Avatar for trtcom1
0
132
Member Avatar for quickbird

Hello, I am having a rich text editor in my website it works fine when formatting text like bold etc. but the problem is that when i retrieve data from database there is no bold, italic or underline etc.Please help me. you can find the script here. [URL="http://www.dynamicdrive.com/dynamicindex16/richtexteditor/index.htm"]http://www.dynamicdrive.com/dynamicindex16/richtexteditor/index.htm[/URL]

Web Development php
Member Avatar for quickbird
0
105
Member Avatar for sonia sardana

I have currently two forms in mine website..I m also posting their codes-- FrmRegistration.aspx [code] public partial class FrmRegistration : System.Web.UI.Page { SqlConnection conn = new SqlConnection("Data Source=SONIA-B408A4159\\SQLEXPRESS;Initial catalog=sonia;Integrated Security=true"); string query; SqlCommand cmd; protected void Page_Load(object sender, EventArgs e) { btnSubmit.Attributes.Add("onclick", "Javascript: return Validations() "); } protected void btnSubmit_Click(object …

Member Avatar for sonia sardana
0
306
Member Avatar for rahul8590

i have currently 3 checkboxes. But the thing is i only want 2 of them to b processed i.e if check box 1 is checked then the 2 one must get blocked thus by preventing the user to check it. similarly vice versa. (this must be applied only to 1st …

Web Development php
Member Avatar for almostbob
0
130
Member Avatar for chewedpup

I'm using XP and Front Page 2002: I probably edited my website a month ago - no problem. Today I'm trying, I go to where I normally open up my website and I get this error message: "The server could not complete your request. Contact your ISP or web server …

Web Development apache asp sharepoint unix web-server
0
83
Member Avatar for sandeep_1987

Suppose the user login by entering his or her details When clicking on Login button, I m setting the session variable [code] Session["UserName"] = txtUserName.Text; [/code] I want dat when he or she clicks on sign out(hyperlink)..I want to expire the session, can somebody tell me how to expire the …

Web Development asp.net session
Member Avatar for dnanetwork
0
99
Member Avatar for kishou

ok i cant seem to log in with a regualr password. this code works fine without md5 but it doesnt work when i use md5. yes i've already connected and selected database. $username = mysql_real_escape_string($_POST['username']); //so someone cant sql inject. [CODE]$ = mysql_real_escape_string($_POST['username']); $password = md5($_POST['password']); $result = mysql_query("SELECT * …

Web Development mysql php
Member Avatar for Graphix
0
310
Member Avatar for itisnot_me

ok so what i am trying to do is make a script run like every hour or day that would restore a DB back to it original state. or even something like if i create an email system to send off emails at a certain time that it would run …

Web Development php
Member Avatar for itisnot_me
0
79
Member Avatar for borntowin_786

Hello Friends, I am new in using codeigniter.I am working on a client project.In this i have 1 form with fields like entering name, address along with 5 file uploading basically all images.Suppose while submitting a form an error occures then fields like name and address value can be retrieve …

Web Development file-system php php-codeigniter
Member Avatar for slyme
0
153
Member Avatar for leviathan185

I have written some code for template generator but I am having issue getting the formatting when it is generated in the <textarea></textarea>. I want to have it to look like Service Affected: {then populated text} Service Status: {again populated text} Current/Next Actions: {populated text} it ends up printing out …

Web Development html-css javascript
Member Avatar for leviathan185
0
237
Member Avatar for arch1

Hi, I am new to SOAP and getting this error " RESULTS: Array ( [faultcode] => Client [faultactor] => [faultstring] => Could not authenticate SOAP request: Could not retrieve authentication credentials from SOAP header [detail] => )" The cURL PHP extension is required for NuSOAP to make a connection over …

Web Development xml
Member Avatar for jacanon7
0
549
Member Avatar for rickya100

Hi everyone, I have tried finding out how to do this everywhere but I am coming up completely blank. I have content coming into my site that I have no control over and it has this symbol • embedded in it. I really want to remove it and I can't …

Web Development php
Member Avatar for leviathan185
0
160
Member Avatar for moorcroft

Hi I am looking for help with an xsl transform of an xml file. The problem is with <xsl:with-param>. The following is what I have: [code=xml]<xsl:param name="paramTest">$LINKNUM$</xsl:param> <key name="$LINKNUM$">SELECT count(1) from applications</key> <xsl:choose> <xsl:when test="$paramTest = '0' "> do this........ </xsl:when> <xsl:otherwise> do this......... </xsl:otherwise> </xsl:choose>[/code] This select count returns …

Web Development asp.net xml
Member Avatar for dnanetwork
0
85
Member Avatar for zhangj5

Hi all, i am new to javabeans and JSP, i have some problem to retrieve value from beans, any help will be appreciate. my index.jsp has a from [code] <form action="update.jsp" method="POST"> userName <input type="text" name="userName" /> <br> realName <input type="text" name="realName" /> <br> <input type="submit" value="Log In" /> </form> …

Web Development java java-jsp
Member Avatar for zhangj5
0
318
Member Avatar for mohankumar554

hi, i want to add the text in one text boxto another text in another textbox. i mean ,we enter value 5 in textbox1 and enter value 10 in textbox2 and finally when we click on button the result(15) will be displayed in textbox3. how it is possible. can u …

Web Development asp.net
Member Avatar for dnanetwork
0
89
Member Avatar for flockit

Hello, I want to stick one DIV to the bottom! I've managed to do that but when I scroll down the DIV doesn't scroll smoothly! Below is my code:- [CODE] <div id="x"> <center> <div id="footer" style="width: 95%; background-color:#66CCFF; border: 1px normal black; top: 100px; position:absolute; align:center; height: 50px" align="center"><center>A</center></div> </center> …

Web Development javascript
Member Avatar for mail2saion
0
176
Member Avatar for gaya123

[code=JSP]<%@ taglib uri="/WEB-INF/lib/pagertaglib.tld" prefix="pg" %> <pg:pager export="currentPageNumber=pageNumber"> <pg:item> my search data.. </pg:item> <pg:index> <pg:pages><% if (pageNumber.intValue() < 10) { %>&nbsp;<% } if (pageNumber == currentPageNumber) { %><b><%= pageNumber %></b><% } else { %><a href="<%= pageUrl %>"><%= pageNumber %></a><% } %> </pg:pages> </pg:index> </pg:pager>[/code] This is the code i typed and …

Web Development java-jsp
Member Avatar for gaya123
0
89
Member Avatar for mIssy_ricco

hi all. i've been doing a checkbox that is controlled by bitmaps. it is successful when i checked the check box and updated it. but it is not successful when i try to uncheck and update it. it will be as if it was checked like before. below is my …

Web Development asp.net
Member Avatar for mIssy_ricco
0
102
Member Avatar for rizza_f

In servlet we can do this. [CODE]<servlet-mapping> <servlet-name>exampleServlet</servlet-name> <url-pattern>/example</url-pattern> </servlet-mapping>[/CODE] But how to do it for jsp file ? Thanks..

Web Development java-jsp
Member Avatar for rizza_f
0
114
Member Avatar for coollife

In an ASP.net Application (windows or web) can i write code to store the song into MS Access database . Please Help

Web Development asp.net
Member Avatar for Ramesh S
0
328
Member Avatar for KlNTARO

Greetings. I'm stumped with a particular problem involving an ajax script that works for Firefox, Opera, Safari, and Chrome... but unfortunately does not work with any version of IE [I](*actually I haven't tested IE6 or less yet, but who cares about those anymore*)[/I]. On the HTML side, a list of …

Web Development javascript
Member Avatar for farhan386
0
176
Member Avatar for gokul.raja

Hello, I need to know this one. How can we get printer status using JavaScript and also how can we give MS word document print command using JavaScript.

Web Development javascript printer
Member Avatar for farhan386
0
236
Member Avatar for Gerald19

Hi, I ran into trouble trying to use the include function. Here's the code, which I think should work, index.html [CODE=html] <html> <?php include('head.php'); ?> <body> <div id="header"></div> </body> </html> [/CODE] head.php [CODE=html] <head> <title>Name</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> [/CODE]

Web Development html-css php
Member Avatar for vincent2085
0
69
Member Avatar for ANicholson

Hi, I'd be grateful for a little help. I have a script which generates invoices as PDF files and stores above just above www level (so they cannot be access directly via a URL). I would like users to be able to access their own invoices but nobody elses. My …

Web Development pdf php
Member Avatar for vincent2085
0
141
Member Avatar for guessme

(servlets, jsp)i'm to tranafer a file from client to server using files concept. i donno how to start. plz gimme a basic idea of implementation procedure and i'll try the rest. waiting 4 help, guess me!

Member Avatar for vincent2085
0
214
Member Avatar for mark2326l

I have a submit form with a text field. I want it to auto fill the date "7 days" from now into MySQL, and also be editable. The code below worked fine a few days ago, well until a new month is coming around the corner. [CODE]$SevenDay = date("d") + …

Web Development php
Member Avatar for almostbob
0
88
Member Avatar for eduardor2k

Hi to everyone, i'm new to javascript and to daniweb, what i want to do is to put all the properties from all the divs of the page, to all their child elements, this way, for example. [code] <div style="background-color: #000000"> <b>Text</b> </div> [/code] would change (using javascript) [code] <div> …

Web Development javascript
Member Avatar for Airshow
0
312
Member Avatar for mrcniceguy

I`ve finished my website,its a social netwrk web in PHP. Now before i lunch it,i would like to know what are the precautions i should take to protect it from hackers. please if any one has idea on what i should do,to protect mysql,and my site as a whole.i will …

Web Development php
Member Avatar for mrcniceguy
0
299
Member Avatar for anuj_sharma

hey guys, Where can i find the web.config.comments file???

Web Development asp.net
Member Avatar for GRaymer
0
101
Member Avatar for usmanbssi

i am using a PHP file to first connect to my database and then make a table in that database. i am able to connect to the database fine but i can not create a table, it keeps on saying: Warning: mysql_query() [function.mysql-query]: Access denied for user 'SYSTEM'@'localhost' (using password: …

Web Development php
Member Avatar for nav33n
0
168
Member Avatar for penepepe

hi all i'm trying to send an email with an attachment from a form and i've found a few scripts on the internet but can't make them work. has anyone got any simple code that works for sure? and another question: is the attachment sent directly or it has to …

Web Development email php
Member Avatar for slyme
0
356
Member Avatar for gaya123

[code=html]<html><head> <script language="JavaScript"> function update() { confirm("Are you sure?(Yes/No)"); document.forms[0].submit(); } </script></head> <body> <form name="form1" method="post" action="controller/servlet"> <input type="submit" name="event" value="Add"> <input type="button" name="event" value="Update" onClick="update();"> </form> </body> </html>[/code] here, on the click of both buttons "Add" and "Update",the control should go to the servlet.While clicking Update, the script runs …

Web Development java-jsp
Member Avatar for javaAddict
0
74
Member Avatar for atplerry

1.) I have problem uploading file. it work sometime and in the other hand will not work give and error that cannot find the path 'c:/upload/' 2.) i want to upload video file i could not upload video file please could anyone help me with VB.Net coding to upload video …

Web Development asp.net vb.net
Member Avatar for saj_amo
0
129
Member Avatar for danielpataki

Hi Everyone! The title pretty much explains it all! I have a variable which holds the site's root url, but to make it work online and offline on my xampp, I need to make some differences. When the end variable is output, there are two "intermsediary" ones I used to …

Web Development php
Member Avatar for cwarn23
0
169

The End.