52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ageryckeh

please help out in figuring the code that opens a session for registered users after reading the input choices provided by the user and redirecting to a mysql query page that displays a list of data in check button options....my project intents to allow a user to select from a …

Web Development php session
Member Avatar for manishmannan
0
76
Member Avatar for sting23

hi im still a beginner in PHP and this is the code i have so far and it only calculates value of two numbers put in manually. I want to generate two numbers and add the values. [code] <form name="form1" method="post" action=""> value1: <label> <input type="text" name="value1"> </label> <p>&nbsp;</p> <p> …

Web Development php
Member Avatar for manishmannan
0
1K
Member Avatar for manishmannan

Hello friends this is manish once again i am not new to php but i have got some problem in my code that is working on our previous server but now it is not working what should be the reason i have the following which work fine in our previous …

Web Development php
Member Avatar for manishmannan
0
123
Member Avatar for Frii

hi guys, newbie here, I want to make a login page based on VB.NET language and I have a problem basically, I have a SQL database table named XYZ and the columns are id, username, password, and type type is to determine wether the user logging in is a user …

Web Development asp.net
Member Avatar for phoenix911
0
135
Member Avatar for Santho786

I like to known that how to assign the value for the check boxes.. Since one would check either one or two check values.. I need to store the all the values in SQL Database either has 0 or 1.... i.e.., if it is checked as 1 or if it …

Web Development java-jsp
Member Avatar for selvasoft
0
98
Member Avatar for Ghada Ibrahim

Hello .. Hopefully you can answer my question.. We are working on a project that uses Netbeans as a java editor the project is a website that needs to be linked with Java functions and an Ontology, We built the website using HTML and we embedded the JSP code in …

Web Development java-jsp java-netbeans
Member Avatar for peter_budo
0
102
Member Avatar for Ir$had

can any1 help me with my final year project :( plzzzzzzzzzzzzzz HELP EMAIL ME on <snipped>

Web Development php
Member Avatar for hashinclude
0
143
Member Avatar for johny321

Is there difference b/w Javascript & JSP. are JSP is the abbreviation of Javascript. In my point of view Java is totally different from Javascript. There is slight confusion about Javascript &JSP. Can any one explain it

Web Development java-jsp javascript
Member Avatar for manoharsingh
0
126
Member Avatar for Monster Killer

I am making my own CMS website and the body content is echoed onto the page however some of the page content is php code but the actual code is echoed out. How can i make it so that it works properly. Code: [CODE]<div id="form"> </div> <h1>Form</h1> <br /> <?php …

Web Development cms php
Member Avatar for jonathanroy
0
207
Member Avatar for levsha

I have a textbox on my form. I type in some text, then I submit the form, and it seems that my script doesn't see the text in the input element and treats it like empty: [CODE] <?php $invname = $_POST['invname']; if($invname == '') {print "You have not entered the …

Web Development php
Member Avatar for levsha
0
133
Member Avatar for danondra

I am searching for a script that retains both text and checkbox field values like the script at: [URL="http://www.dynamicdrive.com/dynamicindex16/formremember2.htm"]www.dynamicdrive.com/dynamicindex16/formremember2.htm[/URL] An ASP or Java script would work best. Thanks.

Web Development asp
Member Avatar for Mike_H
0
254
Member Avatar for cwarn23

I thought I would let you's php gurus know that I am starting to come close to cracking the Sha1 algorithm. And surprisingly it is an easy one to crack. So I would recommend switching to something like the whirlpool algorithm.

Web Development algorithm php
Member Avatar for cwarn23
0
654
Member Avatar for BlackMamba24

Can someone tell me why I cant get anything to echo properly with this? <?php session_start(); $_SESSION['company'] = $_POST['company']; $_SESSION['firstName'] = $_POST['firstName']; $_SESSION['lastName'] = $_POST['lastName']; $_SESSION['phone'] = $_POST['phone']; $_SESSION['email'] = $_POST['email']; ?> ... This is on one page <h2><a href="Conference_Start.php">Personal Information</a></h2> <p>Company Name: <?php echo $_SESSION['company'] ?> <br />First Name: …

Web Development php
Member Avatar for BlackMamba24
0
96
Member Avatar for dhudnall

Hello, I am very new to .asp and I have been tasked with updating a dropdown box in one of our web applications to include a "blank" field at the top of the dropdown box so that if a matching result isn't found, it will default to a blank value …

Web Development asp
Member Avatar for almostbob
0
139
Member Avatar for cloud09

I have a form that "activates" the submit button; switching a greyed out version that does nothing for the working one, when all the fields are correctly filled in. The problem arises in IE 7 when the submit button is supposed to be activated. The greyed one disappears, but the …

Web Development display javascript
Member Avatar for cloud09
0
133
Member Avatar for gangsta1903

Hello, I am trying to write a simple javascript to read all forms. My ReadForm function works right. I tried it out of ReadAllForms function, there is no problem with it. I think document.getElementsByTagName returns false. Why can this happen? [CODE=javascript] function ReadAllForms() { if (document.getElementsByTagName) var myforms = document.getElementsByTagName("form"); …

Web Development javascript
Member Avatar for PierlucSS
0
203
Member Avatar for yun

i m newbie in web development plz help me to sort out the problem.. the problem is: in [B][U]edit.php[/U][/B] when control enters in if condition it never goes to else when i press the edit button. i want to get id from view.php and display category name in edit.php textbox …

Web Development php
Member Avatar for almostbob
0
93
Member Avatar for khush9

Hey, i hav asp pages n wen i browse dis asp pages through IIS it gives d "Server Application Error" I m nt able to understand wats d problem. The error is: Server Application Error The server has encountered an error while loading an application during the processing of your …

Web Development asp
Member Avatar for WebspoonUK
0
70
Member Avatar for loligator

IE tells me there's an error on line 17, which is the onload method of the body tag. So here's the code... [code] <script language="javascript" type="application/javascript"> function startUp() { setFocus(); } function setFocus(){ document.frmSearch.txtSearch.focus(); document.frmSearch.txtSearch.select(); } </script> [/code] And here's how it's called: [code] <body onload="startUp();"> [/code] I tested this …

Web Development javascript web-browser
Member Avatar for loligator
0
2K
Member Avatar for saiprem

Hi All, I am trying to add a an element(Select Box and added a function in onChange) through Javascript, which is working fine in IE6, IE7, FF and Opera. But i am failing in IE8. If anyone has come accross this issue please help me. here is my code [code=javascript] …

Web Development javascript
Member Avatar for Airshow
0
159
Member Avatar for yun

i m newbie in web development plz help me to sort out the problem.. the problem is: in [B][U]edit.php[/U][/B] when control enters in if condition it never goes to else when i press the edit button. i want to get id from view.php and display category name in edit.php textbox …

Web Development mysql php
Member Avatar for diafol
0
133
Member Avatar for phid2002

Can someone take a look at the code to see where is the mistake because i can't display the 10 records of my database per page [CODE] <% Option Explicit ' ADO constants used in this page Const adOpenForwardOnly = 0 Const adLockReadOnly = 1 Const adCmdTableDirect = &H0200 Const …

Web Development asp
Member Avatar for phid2002
0
121
Member Avatar for whiteyoh

Hi All, Below are two files, one being the index page, and one being the functions page. My problem is when i use a function it just gives me a blank screen. The echo at the top of the index page is simply a sanity check. Do i have an …

Web Development php
Member Avatar for whiteyoh
0
87
Member Avatar for akabir77

I am very new to this and trying to call a method which will update the record depending on the check box user clicks. now my jsp looks like this [CODE] <input TYPE="checkbox" name="<%=as.getAppId()%>" id="<%=as.getAppId()%>" <%=((as.isStatus()==true)?"CHECKED":"")%> onClick="update('<%=as.getAppId()%>')" /> [/CODE] and the scripts [CODE] function update(appId) { var stat = eval("document.getElementById(appId)"); …

Web Development javascript
Member Avatar for akabir77
0
70
Member Avatar for kiyu2keith

How do I exchange data from page to page? for example: on the 1st page I voted for 1 person, when I click submit it will go to the 2nd page that will let you see the output of the vote? I can't seem to do it, as I don't …

Web Development java-jsp
Member Avatar for peter_budo
0
170
Member Avatar for WoW Me Web Girl

im building a clone youtube site and the templates have smarty code every-time i try to add a style to it or even change the bg color of the template i get this error. could someone show me an example on what im supposed to do. and how it should …

Web Development html-css php
Member Avatar for WoW Me Web Girl
0
375K
Member Avatar for steven2

The website is running on a web hosting where we don't have access on htaccess file.The web server is Apache. I want to rewrite URL. For example: The original URL: [url]www.mydomainname.com/en/piecework/piecework.php?piecework_id=11[/url] Expected URL:piecework.mydomainname.com/en/11 How to do it?

Web Development apache file-system php
Member Avatar for steven2
0
82
Member Avatar for cwarn23

I have been designing a security system to stop bots from spamming my forum. Basically, it will check if there is any isp name detected from the ip address then if there is no detected isp, the submitted post will not be made. I know to detect the ip address, …

Web Development php
Member Avatar for kvprajapati
0
2K
Member Avatar for niths

---Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Program Files\Apache Group\Apache2\htdocs\Project\login.php on line 72---- <html> <body> <form action="login.php" method="post"> <div> <table width="100%"> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> <tr> <td bgcolor="aqua"><h2>Login</h2></td> </tr></table> <table align="right" style="width:40%"> <br> <tr> <td>Username:</td> <td><input type="text" name="username"></td> </tr> <tr> <td>Password:</td> <td><input type="password" name="password"></td> </tr> …

Web Development apache mysql php
Member Avatar for as.bhanuprakash
0
326
Member Avatar for sam023

i need javascript for a textbox which allow only alphabet and first letter becomes capital on keyup..!! any help will be appriciated..!! thanks.!

Web Development javascript
Member Avatar for chandsir
0
134
Member Avatar for ALOK.53

[CODE]using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Web.Security; using System.Data.SqlClient; using System.Configuration; using System.Security; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { txtUserName.Focus(); } private void InitializeComponent() { this.cmdSubmit.Click += …

Member Avatar for kvprajapati
0
120
Member Avatar for Phil++

Hey, I'm creating a usersystem that has a profile system. I'm stuck on a problem. I want the profile to be viewed by a url like: [url]www.mysite.com/member/phillip/[/url] So every time someone registers it automatically creates this folder. The problem that I'm having is that I need to place an 'index.php' …

Web Development php
Member Avatar for OS_dev
0
135
Member Avatar for Bubbleboy

I wrote a code that i want to fade a <div> tag with. Here's the <div> tag. [CODE]<div id="about" onmouseover="fadein('about');"><li><a href="">About</a> <ul class="navbar" id="aboutoptions"> <li><a href="aboutus.html">Us</a></li> <li><a href="aboutproj.html">Projects</a></li> </ul> </li></div>[/CODE] Here's my java code. [CODE]function fadein(objectID){ object = document.getElementById(objectID); object.style.opacity = '0'; animatefadein(); function animatefadein(){ if(object.style.opacity < 1){ var current …

Web Development javascript
Member Avatar for hashinclude
0
173
Member Avatar for mihirpatel83

I have top menu being generated using sitemap. HR , Production , Sales Now i want to generate a vertical Menubar/treeview when i click on respective item. For eg : if i click on production, i need menu/tree view like below 1.0 - Inventory 1.1 - Add Stock 1.2 - …

Web Development asp.net
Member Avatar for _V_
0
225
Member Avatar for benqus

Hello everybody! I have a serious problem with my diploma work! So here it is: My ajax.js file cannot be executed. It does nothing when I click on the buttons... Here's the ajax.js code:4 [CODE] function opensave(type){ url="open.php"; content=replacer("editor"); var xmlhttp=if(window.XMLHttpRequest){ new XMLHttpRequest(); } else if(){ new ActiveXObject("Microsoft.XMLHTTP"); }; xmlhttp.onreadystatechange=stateChanged(); …

Web Development javascript
Member Avatar for Graphix
0
139
Member Avatar for dragonrouge

Hi I tryed this code as it is and I have just modifyed the connexion parameters but it does'nt work correctly. each time I get the same resul and there is no modification in my database. Could anyone help me please Thnx a lot [QUOTE=R0bb0b;649062]Try this [CODE=php] <strong>Update multiple rows …

Web Development php
Member Avatar for whiteyoh
0
65
Member Avatar for naash

Help ! I am new to jsp. I am writing the part of my code. It has 4 textbox fields - Name, Module, Module, Contact no. In my code 4 rows are created each having the 4 fields. What I want is that after user comes to the 2nd row, …

Web Development java-jsp
Member Avatar for peter_budo
0
82
Member Avatar for Aaron Robinson

I am trying to create a sidebar menu which when categories are clicked, they expand and show items under each category. My website is structured so that an index.php is used to include 3 other php files: header, body and footer. The body is a php file that changes based …

Web Development html-css php
Member Avatar for Aaron Robinson
0
202
Member Avatar for Aaron Robinson

I am looking into using JQuery cookies to keep track of a menu when the page is reloaded ([url]http://plugins.jquery.com/project/cookie[/url]). I am using GET/POST to change the content section of my website layout. My question is about session-cookies. They are only destroyed when the browser closes, not when the user leaves …

0
338
Member Avatar for lightman

Hi I'm fairly new to asp.net and here's my project: my company runs a website that provides daily video broadcasts to our clients. our clients have access to a specific link which I will call "videolink.aspx" and that's hosted in the address [url]http://www.mycompany/videolink.aspx[/url] in which there is a windows media …

Web Development asp.net video
0
104
Member Avatar for pradeep2002gs

Dear all, i'm facing a prob for past few days that my servlets classes are not referenced properly in glass fish server . i downloaded a project from sourceforge.net named Javalibrary [url]http://sourceforge.net/projects/javalibrary/[/url] i imported all the files and all files working properly in netbeans i mean i can run the …

Member Avatar for jwenting
0
113
Member Avatar for angelicakirana

Hello, i'am newbie. I don't know about programming language,in each language, i only know "hello world". Javascript is spend more expensive bandhwidth. Especially for Limited Account of hosting. Is it possible to convert javascript to php or html ???

Web Development javascript php
Member Avatar for angelicakirana
0
3K
Member Avatar for farsen

Hi. In lack of better examples, I´ve found this javascript example which shows and hides content in a sliding way. Exactly what need. You can see the example here: [URL="http://www.dhtmlgoodies.com/index.html?whichScript=show_hide_content_slide"]http://www.dhtmlgoodies.com/index.html?whichScript=show_hide_content_slide[/URL] And the demo here: [URL="http://www.dhtmlgoodies.com/scripts/show-hide-content-slide/show-hide-content-slide.html"]http://www.dhtmlgoodies.com/scripts/show-hide-content-slide/show-hide-content-slide.html[/URL] Problem is, because of my text and image layout, I want the hide/reveal text to …

Web Development javascript
0
144
Member Avatar for danielperez

I want to know what would be better to learn java or javascript and what is the difference. Also what would be a good free study manual or program that could help me.

Web Development javascript
Member Avatar for magicalmakx
0
92
Member Avatar for gupta.software

I have Webpage written using PHP that displays drop down data from MySQL tables. I want my page to refresh and appeared new entry list in drop down list, after new records are entered to the database.I want auto refresh but when submit the form only.

Member Avatar for gupta.software
0
228
Member Avatar for ALOK.53

hii all i am trying gridview control in my application.code is executing without errors.but i am not getting output means(internet explorer is coming blank). [CODE]using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; …

Web Development asp.net dataset web-server xml
Member Avatar for kvprajapati
0
113
Member Avatar for serkan sendur
Member Avatar for cane23

i have a piece of code that finds the sum of the credits of the courses that were chosen in the multiple drop down list. my code works fine when there is a value that was selected and i can easily assign the variable to the session variable. however i …

Web Development php session
Member Avatar for liamfriel
0
84
Member Avatar for cwarn23

Hi and I have a mysql table that gets a few million records inserted per day and it seems to get corrupted very often. The current database structure is myisam but it keeps on getting corrupted. Are there any mysql data structures that won't corrupt even when restarting the mysql …

Web Development data-structure mysql php
Member Avatar for cwarn23
0
112
Member Avatar for phoenix_dwarf

I'm trying to test out the Ajax multihandleslider control but the control dos not show up on the screen. Only an empty text box. Am i doing something wrong? This is everything... [CODE] <body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" EnablePartialRendering="true" /> <div> <asp:UpdatePanel ID="UpdatePanel2" runat="server"> <ContentTemplate> <table> …

Web Development javascript
Member Avatar for phoenix_dwarf
0
126

The End.