52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for SheSaidImaPregy

I have a few questions for those who know so much about the web.. 1. Is it better to declare.. 20 variables and do all your SQL queries immediately, or to do like 10 variables and open your connection, do one query, then reset your variables and runt he queries …

Web Development asp asp.net
Member Avatar for SheSaidImaPregy
0
103
Member Avatar for ztwalsh

When people add comments to my site there is always a slash before apostrophies. Is there a line of code that will prevent this from happening?

Web Development php
Member Avatar for chmazur
0
95
Member Avatar for Inny

Hi, I have popup window containing links called from the parent. If someone clicks a link in the child window (popup) I want it to open in the parent window (original window). Is this possible and can somebody please show me what script to add to child window to do …

Web Development javascript
Member Avatar for Inny
0
263
Member Avatar for ditty

hi I am doing a project in asp.net with c#. Can anybody help me to edit data in the gridview. How can i enable the cells in gridview to modify the data.

Web Development asp asp.net
Member Avatar for sandeep.thakur1
0
101
Member Avatar for CaliVagabond

I've been configuring PHP with MySQL and ran into a few issues. I uncommented the line to include mysqli.dll and set extension_dir = "./ext". It still isn't working. Not sure if I'm missing anything. Got any clues?!

Web Development mysql php
Member Avatar for CaliVagabond
0
78
Member Avatar for hbmarar

Hi, I got a web site with lots of french accents. I am not able to get the accents proper even after doing all the functions said in php.net. I tried even user documented ones... utf_decode also do not work:( How to solve this issue.Request pointers Thanks.

Web Development php
Member Avatar for fatihpiristine
0
292
Member Avatar for kevin01

I would like to make all my released docs and articles easy to access on an internal website that I want to create. I have important knowledge in web desk but a beginner in coding; so I need a PHP Free template which might include tools like: search tool, latest …

Web Development cms
Member Avatar for Njegos
0
82
Member Avatar for Shubhra

Hi All, I am new to jsp. I need to know how to execute certain code on a button click(submit). my form has a text box and a submit button. Onclicking it, it has to execute a SQL query and then forward the control to another jsp page. Where to …

Web Development java-jsp
Member Avatar for Shubhra
0
157
Member Avatar for jay7981

i keep getting parse errors on the last line of this how ever i cannot seem to find the mistake .. any help ? Parse error: parse error, unexpected T_STRING in /home/content/mydir/index.php on line 103 (i added the line numbers jsut for the post not actually in code) [code=php] 96 …

Web Development php
Member Avatar for php_daemon
0
81
Member Avatar for fatihpiristine

if you are having problems with encoding pages/characters, try this. <?php $servername='localhost'; $dbusername='myusername'; $dbpassword='mypassword'; $dbname='mydatabase'; connecttodb($servername,$dbname,$dbusername,$dbpassword); function connecttodb($servername,$dbname,$dbuser,$dbpassword) { global $link; $link=mysql_connect ("$servername","$dbuser","$dbpassword"); if(!$link) { die("Could not connect to MySQL"); } mysql_select_db("$dbname",$link) or die ("could not open database"); } ?> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" /> <meta http-equiv="expires" content="now" /> …

Web Development php
Member Avatar for fatihpiristine
0
211
Member Avatar for mortalex

Hey guys! Right heres the problem, I have made this script that basically displays all the data from a table from MySQL; pricelist. However it only displays the data when i have to manually write in all the database passwords and names and stuff, however when i use the require_once() …

Web Development mysql php
Member Avatar for php_daemon
0
116
Member Avatar for doraima29

Hi, I need some help how to include multiple email addresses in a radio button. This radio button will hold at least 2 email addresses within an organization. After user clicks the Submit button in a form. The email addresses will go directly on the To: of the Inbox. I …

Web Development asp email
Member Avatar for SheSaidImaPregy
0
166
Member Avatar for doraima29

Is there a shorter way to include multiple email addresses as text in ASP. I'm trying to call txtEmail from HTML file, then the strTo is a variable of txtMail. How would I do it? Is it possible to include multiple email addresses when I type in as: Constr strTo …

Web Development asp email
Member Avatar for SheSaidImaPregy
0
101
Member Avatar for minbor

Hello, I am again asking for help. Is it possible to get the text from the elent ID into another place in the page. For example, is it possible using asp to get page title from <p id='title'> in the code below? <HTML> <HEAD> <TITLE> nothing </TITLE> </HEAD> <BODY> <p …

Web Development asp
Member Avatar for SheSaidImaPregy
0
101
Member Avatar for minbor

Hello, I am new at programming and would like to know is it possible to pass a chunk of html code (more than one line, a whole table, for example) as an asp variable? I have looked through a lot of tutorials and could not find a clear answer. Thank …

Web Development asp html-css
Member Avatar for SheSaidImaPregy
0
112
Member Avatar for samZin

Hi there i am just new to this forum and hoping to get some geeks to help us out Here is the problem We have a website on our own server (win 2003 sever) website [url]www.jpsequipment.com[/url] We decided to transfer all data including the database to a different webhosting company …

Member Avatar for SheSaidImaPregy
0
180
Member Avatar for cliffhaas

Hello everyone. I am trying to modify a script I have been working with but have no true knowledge of PHP. Currently the script creates an http post and upon successful sending it opens a new web page and posts a message that reads "Sending results: OK". I would like …

Web Development php
Member Avatar for cliffhaas
0
81
Member Avatar for navi17

hi everyone.. i m new to asp.net and i decide to do poject in .net but i m short of ideas. plz suggest me........

Web Development asp asp.net
Member Avatar for SheSaidImaPregy
0
301
Member Avatar for 66eagle

opendata.jsp_____________ <% Class.forName("org.gjt.mm.mysql.Driver"); String url="jdbc:mysql://localhost:3306/mydata"; Connection con=DriverManager.getConnection(url,"root","123"); Statement smt=con.createStatement(); ResultSet rs; //int rs; %> counte.jsp_________________________________ <%@ page import ="java.sql.*"%> <%@ page import="java.util.*"%> <%@ include file="opendata.jsp"%> <%@ page contentType="text/html;charset=GB2312"%> <% request.getSession(true); int month,day,hour,today,total,select; String time; int sql; String errmsg=request.getParameter("errmsg"); GregorianCalendar calendar; calendar=new GregorianCalendar(); month=calendar.get(Calendar.MONTH)+1; day=calendar.get(Calendar.DAY_OF_MONTH); hour=calendar.get(Calendar.HOUR_OF_DAY); time="m"+String.valueOf(month)+"d"+String.valueOf(day); //sql="select * from counter …

Web Development java-jsp session
Member Avatar for masijade
0
259
Member Avatar for anju_a_sagar

hi everybody, i m doing project in which i need to get the values from one software written in VB and use in the asp. Is it possible to fetch the values from the ASP. many thanks anju

Web Development asp asp.net
Member Avatar for anju_a_sagar
0
122
Member Avatar for sam1

hi guyz, which of these two forums do you think is good to use? i am talking mostly about security and the confidentiality of the users. thank you

Web Development php phpbb
Member Avatar for Fel1x
0
87
Member Avatar for kahaj

I've been trying for the past hour to iron out the issue(s) with this. I keep thinking that I have it just about there, try to change something here or there and still don't have it working. ANY help I could get on this would be so fantastic. [code] <!DOCTYPE …

Web Development javascript
Member Avatar for ~s.o.s~
0
100
Member Avatar for Duki

I'm trying to write an asp.net page that will keep variables using the .value command. It's not working. Here's my code [code=vb.net] Dim custID As Integer Dim noMovies As Integer Dim price As Double Dim discount As Double Dim total As Double custID = Integer.Parse(Me.idTextBox.Text) noMovies = Integer.Parse(Me.numMovTextBox.Text) price = …

Web Development asp asp.net vb.net
Member Avatar for SheSaidImaPregy
0
119
Member Avatar for tefflox

I have written lots of php dealing with html strings, but it's my first time trying to get a very simple page to function. It has a textarea, and I guess that all I need to do is get the text into the database on the server. I really have …

Web Development client-server php
Member Avatar for ryan_vietnow
0
134
Member Avatar for Duki

Hey guys, I'm looking at taking a PHP course in the spring. The prof and I get along well, and she said I could waive the college's prerequisites and sign up if I wanted to. The prerequisites (in the college catalog) are a couple of HTML courses. My question is …

Web Development php vb.net
Member Avatar for ryan_vietnow
0
262
Member Avatar for kolony

hi i am new to asp.net .i have to do two projects in asp.net. i am weak in coding . i am making a website in asp.net with vb.net as back-end . i have to do codibg of login page which uses postback i am confused. i have seen daniweb's …

Web Development asp asp.net vb.net visual-studio
Member Avatar for SheSaidImaPregy
0
241
Member Avatar for SheSaidImaPregy

Hello, I am trying to set up a string where it taps two databases, Albums and Photos. I need to select the following columns of Albums database and Photos where the Albums.AlbumType='Nightlife' and then order by the sum of photos.views desc for ranking the top 4 (limit 4) This is …

Web Development asp.net sql
Member Avatar for SheSaidImaPregy
0
80
Member Avatar for faranak

Hi I have a list like List<vahed>. this list fill from vahed class.when i want to bind list into gridview ,I store it in Session. but when this list bind to grid view,data is empty. my code: [INLINECODE] //class vahed public List<Vahed> SelectAll() { Vahed V = new Vahed(); string …

Web Development asp.net session
Member Avatar for SheSaidImaPregy
0
249
Member Avatar for elangobala

i need a sample project project management systems in java anyone help me

Web Development
Member Avatar for ithelp
0
84
Member Avatar for Duki

I'm trying to write an asp.net page that will keep variables using the .value command. It's not working. Here's my code [code=vb.net] Dim custID As Integer Dim noMovies As Integer Dim price As Double Dim discount As Double Dim total As Double custID = Integer.Parse(Me.idTextBox.Text) noMovies = Integer.Parse(Me.numMovTextBox.Text) price = …

Web Development asp asp.net vb.net
Member Avatar for SheSaidImaPregy
0
97
Member Avatar for esgdirect

I have a simple Contact form script. I want to change it so it shows the email address of the person sending the form, not mine. I also hope I am pasting this code correctly. Sometimes I get a blank form, but all fields are required. I would like to …

Web Development php
Member Avatar for esgdirect
0
204
Member Avatar for artee

I am trying to send an email from an ASP.NET application and get the error "Could not create 'CDO.Message' object" It seems to be some permission error and unfortunately cannot figure it out, hence this post. I tested the same code in a VB.NET application and it works fine and …

Web Development asp asp.net email first-post vb.net
Member Avatar for amrahne
0
436
Member Avatar for doraima29

I'm building a dynamic form with radio buttons. These radio buttons will hold values that have specific email addresses of respective people in a company. here is the html and asp code shown below: <FORM METHOD=POST ACTION="mailform.asp" ONSUBMIT="DoctorElements();"> <INPUT TYPE=HIDDEN NAME="urlSendTo" VALUE="/suggestions/thankyou.htm"> <INPUT TYPE=HIDDEN NAME="urlFromPath" VALUE="/suggestions/default.htm"> Name: <INPUT TYPE=TEXT NAME="txtUser.Name"><BR> …

Member Avatar for SheSaidImaPregy
0
156
Member Avatar for nathanpacker

Hey, I'm using a while loop to display all the rows of a table in my database, and wondered if anyone knows how I can make it so the background color of each row alternates between two different colors. I'm using php to call the information, so I can stick …

Web Development mysql php
Member Avatar for nathanpacker
0
87
Member Avatar for adaykin

Hello I am trying to display the total cost after the user enters a product ID, controlled by a switch statement. However the total variable ends up being the product ID, not the price. I want the total to be the sums of the prices. [CODE=javascript] <script type ="text/javascript"> // …

Web Development javascript
Member Avatar for adaykin
0
179
Member Avatar for jamez333

I am using this html form page... [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Item Entry - Opulentworx - Private</title> </head> <body> <form action="/itemENTRY.php" method="post" id="itemENTERdb"> <input type="text" id="itemNUM"/>Item #<br> <input type="text" id="quant"/>Quantity<br> <input type="text" id="date"/>Date<br> <input type="text" id="cost"/>Cost<br> <input type="text" id="ground"/>UPS Ground<br> <input type="text" id="3day"/>3 Day …

Web Development database-design mysql php
Member Avatar for jamez333
0
97
Member Avatar for justapimp

I wrote a program that makes use of the System.Timers.Timer name space and it is not working like expected it to. My program listed bellow excepted two date values and determined if one date is greater than the other by using the DateTime.compare method. If one date is greater than …

Web Development asp.net
Member Avatar for SheSaidImaPregy
0
133
Member Avatar for SouthernBoy718

Hi all. As I'm a newbie and learning VB.NET, I have some questions about pages within pages or maybe even another facit of coding. First, is there a way to call and load an aspx page within another aspx page? Secondly, would this be better accomplished using modules? Here's a …

Web Development asp.net vb.net
Member Avatar for SheSaidImaPregy
0
593
Member Avatar for greedylobster

Hi all, would some one be able to give me a piece of advise with regard to SoundManager2, please? I am trying to figure out how to make SoundManager2 to play a sound for a certain length of time. I know that it is possible to make it start playing …

Web Development javascript
Member Avatar for sillyboy
0
267
Member Avatar for karan_21584

i want to create a dropdownlist and when i click the dropdownlist, then it should show the all databases which is present in SQLserver. (now i m using SQLSERVER 2005 and Microsoft VISUAL STUDIO 2005) can anyone help me plz? thanks in advance. CLEAR MY DOUBT IF U GENIUS

Web Development asp.net visual-studio
Member Avatar for s_muenchaisit
0
139
Member Avatar for MORTGAGEman

Hi, I have a friend who is looking to start a website similar to [url]www.Ratemyprofessors.com[/url] and I was wondering if any ofyou could suggest a script that is similar. Thank you for your time.

Web Development php
Member Avatar for MORTGAGEman
0
94
Member Avatar for angelinajade

quick question, I am a newbie, first with this site, and with programming. this is my first semester and I am learning the basics. I am having a problem with Javascript. this simple code is supposed to just create a web page with the tile , my name and then …

Web Development javascript
Member Avatar for MidiMagic
0
73
Member Avatar for Dennis_Phils

Hi all, I'm having problem with the javascript functions. I'm using OOB webpage that uses MOSS features for search. It seems that when I click the search button, it doesn't work using firefox browser. Here is the code from the XML page: <td bgcolor="#666666" width="70px"><img src="../images/Search-buttonA.gif" onclick='gosearch()' id="searchImage" style="cursor:pointer"></td> <script …

Web Development javascript xml
Member Avatar for MidiMagic
0
116
Member Avatar for Melzy

The class that my bean uses has an array textFields[407]. I have 407 textfields in my jsp file. I used a loop to make the textfields. So, it looks something like this: [code=JSP] <%for ( int i = 0; i < lineCount; i++ ) {%> <INPUT TYPE="TEXT" NAME="textFields"+i SIZE="4" MAXLENGTH="7" …

Web Development java-jsp
Member Avatar for lookof2day
0
266
Member Avatar for blitz2bleach

Hello there, i just need your opinion about this...i have now database and all i need to do is to connect it on this page..my question is..where i should put the code of connecting this page to my database that has a column of "ID" and "Password" and it has …

Member Avatar for SheSaidImaPregy
0
176
Member Avatar for njagi

I have this code to update the DB by subitting values in the checked columns The problem is that it skips some entries and does not always subit the values entered SQL Query $thisid=$_POST['id']; $nvalue = $_POST['newvalue']; $chkd = $_POST['checked']; foreach ($chkd as $key => $value) { $sql="update invoice_subcategory set …

Web Development php
Member Avatar for JeniF
0
138
Member Avatar for kahaj

I had modified this from its original code. It was working before, but now it's not. I can't figure out what I'm missing here. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Dinosaur Quiz</title> <script type="text/javascript"> <!-- HIDE FROM INCOMPATIBLE BROWSERS //Question Scoring Function function scoreQuestions(number, answer) …

Web Development javascript
Member Avatar for kahaj
0
82
Member Avatar for Ninad

[B]Is there any client side java-script to read local path like "c:\my documents\xyz.jpg" and then display image on web page I have an xml file which contains local file path and i want to display the thumbnail of all those files on my web page ... [/B] [I]This thing cant …

Member Avatar for MattEvans
0
1K
Member Avatar for drsmith

Having a strange problem with some PHP code. This code: [code] $filename = "/u2/text/TOPAShiftlog".$dateString."_AShift.rtf"; [/code] writes the file TOPAShiftlog2007-10-26_AShift.rtf to the /u2/text dir. I want it to write 2007-10-26_AShift.rtf to the /u2/text/TOPAShiftlog dir so I tried this: [code] $filename = "/u2/text/TOPAShiftlog/".$dateString."_AShift.rtf"; [/code] This code ends up removing my "submit" button …

Web Development php
Member Avatar for drsmith
0
284
Member Avatar for atrusmre

Ok this may be a stupid questions. Is there a way to make a dynamic form? For example, if I wanted to create a form that took a users birthday, how do I make it so it would change the number of days in the month to correspond to the …

Web Development php
Member Avatar for hollystyles
0
88

The End.