52,566 Archived Topics
Remove Filter ![]() | |
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 … | |
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 | |
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 | |
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. | |
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?! | |
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 ![]() | |
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 | |
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 | |
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 | |
![]() | 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 ![]() |
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() … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … Web Development asp asp.net database-design microsoft-access open-source session web-design web-server | |
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 | |
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........ | |
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 … | |
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 | |
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 | |
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 | |
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 = … | |
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 | |
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 … | |
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 | |
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 … | |
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 … | |
i need a sample project project management systems in java anyone help me Web Development | |
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 = … | |
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 | |
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 | |
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> … Web Development asp asp.net digital-publishing publishing vbscript | |
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 … | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … Web Development asp asp.net caching first-post microsoft-access visual-basic visual-studio web-server windows-server xml | |
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 | |
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 | |
[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 … Web Development client-server javascript web-server xml | |
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 | |
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 |
The End.