52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mahesh kharvi

guys i m really havin hard time to establish connection bet jsp n mysql...give me some tips..i ve done all the procedures required for that n i couldn execute the followin code [code=html]<%@ page import="java.sql.*" %> <% String username="mahesh"; String password="mahesh"; String connectionURL = "jdbc:mysql://localhost:3306/mahesh"; Connection connection = null; //Statement …

Web Development java-jsp mysql
Member Avatar for ahilan_23
0
122
Member Avatar for bornok15

Im studying how to integrate Classes in php pages. anyone who has an idea on how i can come up with this? That i would just have objects.. is it possible?

Web Development oop php
Member Avatar for bornok15
0
133
Member Avatar for eparse

Hi, i'd some requests for my PHP, can anyone guide me? Q1: Any upload server can be used so that i can test my upload.php? My currently used web hosting may need permission. Q2: using <? session_start(); .....?> at every page and assign [code]$_SESSION['name']=$_POST['name'];[/code]. and at the second page it …

Web Development php session web-server
Member Avatar for nav33n
0
76
Member Avatar for ryy705

Hello, I recently signed up with a free hosting provider(apache, mysql, php). When I login through ftp, I go to my root directory which is web accessible. So where do I hide the files that I don't want to be accessed through the web? Such as database connection files, user …

Web Development apache php
Member Avatar for Auzzie
0
135
Member Avatar for ppat

Hello everybody, Please somebody help me...I am trying to save webpage data on the access database (remote server)...on the local host everything is going fine....but when i m loading my web page on remote server and trying to save the data to the ms access database then i could not …

Member Avatar for SheSaidImaPregy
0
293
Member Avatar for ebabes

I wish to incorporate e-mail in my page such that when a user had pressed a button, an email will be sent to the recipient. This has been my code. [code]MailMessage mail = new MailMessage(); mail.To = "me@mycompany.com"; mail.From = "you@yourcompany.com"; mail.Subject = "this is a test email."; mail.BodyFormat = …

Web Development asp.net
Member Avatar for ericstenson
0
155
Member Avatar for EduardoAndres

Greetings! I'm building a web page that in its master file has a treview navigation control. Now, this treeview has a root, a parent and leaf nodes. I'm having a problem with the post back of this control. Basically, I have set the "parent" nodes [B]not[/B] to be exapnded, so …

Web Development asp.net
Member Avatar for SheSaidImaPregy
0
120
Member Avatar for johnny.g

hii,,,i m using asp.net 2005 i have given login control manually using forms authentication and all.. on proper username and password it opens first.aspx....everything is workin fine. what i want is tht first.aspx should open in a pop up window with specific height and width.heres the code for login [CODE]<script …

Web Development asp.net
Member Avatar for SheSaidImaPregy
0
104
Member Avatar for lordx78

[code=php] <?php //echo "You have been successfully logged out. echo "You have been Successfully logged out.<br><br> <img src='../images/goodByeC2.png'/> You will now be returned to the Main page. "; ?> [/code] Why line 4 is not working, please advise.

Web Development php
Member Avatar for lordx78
0
76
Member Avatar for lordx78

[code=php] <table align="left" style="width: 764px"> <tr> <td> <?php $con =mysql_connect("localhost","root",""); mysql_select_db("administration",$con); $list=mysql_query("SELECT * FROM cycles"); echo "<table border=1>"; echo "<tr>" ; echo "<td align=center style='color:red'>CID</td>"; echo "<td align=center style='color:green'>Brand</td>"; echo "<td align=center style='color:red'>Type</td>"; echo "<td align=center style='color:green'>Style</td>"; echo "<td align=center style='color:red'>Model</td>"; echo "<td align=center style='color:green'>Gear No</td>"; echo "<td align=center style='color:red'>Frame</td>"; …

Web Development php
Member Avatar for lordx78
0
108
Member Avatar for dweaver6

hey...I need urgent help I have 2 comboboxes on a form and when I post the results back to the page 1 comboboxes continues to show but I need it hidden.. here's the code: [code="HTML"] <td><strong>or Owner</strong> <td><SELECT id="cboGpOwner" style="WIDTH: 96px;" name="cboGpOwner"> <OPTION value=0 selected> </OPTION> <OPTION value=1>AI</OPTION> <OPTION value=2>PAL</OPTION> …

Web Development asp javascript vbscript
Member Avatar for SheSaidImaPregy
0
100
Member Avatar for eparse

hi for all the PHP experts here, i have couple of questions that keeps me feel frustrating.. first of all, may i know how to insert a link within PHP echo? for example, i have a function which is used to validate the username, if the username is incorrect, i …

Web Development perl php
Member Avatar for eparse
0
232
Member Avatar for jino

Dear all, I have a string array “$query_string1” having the value (reg_personal.personal_sex=’Male’) I want to pass this value through the URL for the use of pagination.. For that I used the command “<a href='{$_SERVER['PHP_SELF']}?pageno=1&query_string=$query_string1'>First</a> When I am clicking on the Link First the passed query string contains only “Reg_personal.personal_sex=” It …

Web Development php
Member Avatar for miguelp
0
142
Member Avatar for bagi

HI every one I have problem with IIS AND LAN ( local area network) so When test my asp.net page localhost it works fine But I test my asp.net page through the LAN network it means other PC testing it doesn't work I check like this --> [url]http://192.168.0.20/Lib_student/welcome.aspx[/url] but 404 …

Web Development asp asp.net
Member Avatar for dlluna
0
198
Member Avatar for lydia21

hi i want to attach documents with the email.i have a field in my db which contains the path where the file is stored.when the user want a particular doc ....i want it to fetch from the database and send it to their email address..................

Web Development email php
Member Avatar for lydia21
0
160
Member Avatar for zachawp

Hello, I am trying to protect some files from anyone typing in the url and being able to view them. Particularly FLV files. So I have placed them in a directory one level up from web access. However, now I can't use my flash player to access them since they …

Web Development flash javascript php
Member Avatar for ryan_vietnow
0
67
Member Avatar for johnny.g

hiii,,i m a new member of daniweb and new to programming also.. well i have a simple login page in my website,, currently i am using standard username and password,,,but i would like to have the username and password checked from a table in the database,, i am using asp.net …

Web Development asp asp.net
Member Avatar for SheSaidImaPregy
0
197
Member Avatar for kingflux

Hello, I am working in VS.NET 2003 with the original datagrid control. There does not appear to be a published technique for displaying alt text on the grid headers (e.g. mouseover causes a pop-up explaining what the column represents). Has anyone successfully accomplished this with the Microsoft datagrid or a …

Web Development asp.net
Member Avatar for kingflux
0
163
Member Avatar for littlegreen

Hi all, I'm having the problem while using the [URL="http://24ways.org/2005/edit-in-place-with-ajax"]edit-in-place scripts [/URL] from internet. It's ok when i just used for one text id, but after i added a while loop because of multiple items and it become only the 1st text id content works. So below here i post …

Web Development php
Member Avatar for littlegreen
0
213
Member Avatar for lordx78

[code=php] <?php // connect to database include("inc/connect.php"); // include auth and nav include("inc/auth.php"); // begin content //include("inc/nav.php"); // close mysql connection //mysql_close(); // Check if the form has been submitted. if (isset($_POST['Submit'])) { //require_once ('mysql_connect.php'); // Connect to the db. $errors = array(); // Initialize error array. // Check for …

Web Development html-css php session
Member Avatar for lordx78
0
79
Member Avatar for arunsolanki31

i have one text box with required field validator and two button like one submit and other reset button when i click submit button then it show text box is blank when i do not type any value it is OK not a problem . if i click reset button …

Web Development asp.net
Member Avatar for SheSaidImaPregy
0
116
Member Avatar for johnny.g

hii,,i am using asp.net 2005 and sql server 2005.i hav a insert page thr which i can insert details to a table in the database,,thrs a column called sme_id in the table.....what i want is when a user inserts the sme_id from the webpage,it should check from the table whether …

Web Development asp.net
Member Avatar for johnny.g
0
172
Member Avatar for brr

iam new to ajax i did some examples in jsp using Ajax really its very nice now i want to put Pop-up ballon i think using this without put view button in my screen, to view the particular item details within page plzz provide me its urgen for me

Web Development javascript
Member Avatar for aravelli
0
145
Member Avatar for sbv

Hello friends.... I an unknown to XML. Is XML is used for Page formatting or as a stylesheet creater etc..... What this code is doing.................. [Code] var screenDocPath = Server.MapPath("screens/"+call+".xslt")//***APP VARIABLE var screenDoc = Server.CreateObject("Msxml2.DOMDocument") screenDoc.async = false screenDoc.load(screenDocPath) <%=dataDoc.transformNode(screenDoc)%> [/code]

Web Development xml
Member Avatar for sbv
0
157
Member Avatar for jino

Dear all,, As i used to display pagination along with searching the script work first time correctly and When i try to see the first or previous page this error message is occuring... What is the error in this ... Second Query= SELECT SQL_CALC_FOUND_ROWS * FROM reg_personal inner join reg_english_level …

Web Development php
Member Avatar for jino
0
73
Member Avatar for sbv

Hi I have a asp page for Update. i need to update it look only. I formated it. But not getting look. In that page XML data is used. I have no knowledge about XML. Is this line making any design changes? <%=dataDoc.transformNode(screenDoc)%> Please tell me..... :(

Web Development asp xml
Member Avatar for sbv
0
72
Member Avatar for lordx78

[code=html] <select name="test1" style="width: 200px"> <option></option> </select> [/code] This is typical drop-down box in html forms. My question is, hot to make the option to capture current date. Or Must I use any other function than drop-down box. Please advise.

Web Development javascript
Member Avatar for lordx78
0
164
Member Avatar for lordx78

Just wanted to ask you guys how to properly call HTML tags into php. e.g. [code=php] echo "You are not authenticated. Please login.<br><br> <form method=POST action=admin.php bgcolor=\"C0C0C0\"> username: <input type=text name=\"username\"> password: <input type=password name=\"password\"> <input type=submit> </form>"; [/code] As you can see above, the developer has design a form …

Web Development html-css php
Member Avatar for lordx78
0
114
Member Avatar for evios

i'd created a login page, where user need to enter their username and password here, stored in [code] $username = $_POST["name"]; $password = $_POST["password"];[/code] then after submit button being pressed, the username will show in welcome.php, which is the action for the submit button. From here, the user will have …

Web Development php
Member Avatar for evios
0
129
Member Avatar for sufiguy

i am stuck in a prob... i wanna dat wenever i send a msg to ma frnd(i do coding in php), a popup or a bubble type msg appears on his screen without page refresh... Please please please please please please help me..... can u get me outta this prob:'( …

Web Development php
Member Avatar for sufiguy
0
95
Member Avatar for cancer10

Hi, This is an interesting question (in my humble opinion). I am trying to create a forum in PHP. So there is a "Post a new Thread" link, clicking on which would open a textarea field for posting a message and a textbox for the "title". Now, I dont want …

Web Development php sql
Member Avatar for ryan_vietnow
0
208
Member Avatar for computerman11

I have a blueprint of a building that I have scanned into my computer. I am looking to have a menu of some sort where I can select what room I want to color, and another menu to change the color. Any ideas?

Web Development javascript
Member Avatar for computerman11
0
94
Member Avatar for adrumsolo4u

i have three "buttons". when each is pressed i want to 1.) detect if it is not hidden, if so, return (do nothing). 2.) detect if another button is not hidden, if so i want it to hide that button and continue to the third. 3.) i want it to …

Web Development javascript
Member Avatar for adrumsolo4u
0
89
Member Avatar for carobee
Member Avatar for carobee
0
114
Member Avatar for m.cliter

Hi, I have a long list of options( 60 option) where user can selecte none or all of them. the code is like that [CODE] <selecte name="list"> <option value="1">option</option> ... </selecte> [/CODE] and I have to display it again as a list ( <li></li> ), my question is what the …

Web Development mysql php
Member Avatar for johnsquibb
0
148
Member Avatar for whoisit

Hi I have a website of poetry, what I would like is for users to be able to leave comments on the poems they've read, I already have a system for voting on a poem but I thought it might be nice to be able to leave a small comment. …

Web Development php
Member Avatar for nav33n
0
109
Member Avatar for dami06

Hi, could someone please tell me how to about putting a login name to the homepage of a user when they sign in. for example, after they have logged in using their username and password. Their name would come up in the homepage, like welcome Amy. This is my checklogin.php …

Web Development php session
Member Avatar for dami06
0
108
Member Avatar for ebabes

I wish to insert an [B]swf[/B] files in ASP.Net, how can I do it? What is the code in ASP.Net?

Web Development asp.net
Member Avatar for ebabes
0
252
Member Avatar for adrumsolo4u

what i am trying to accomplish is to have two elements lets say SEND and RECEIVE. when i click the element SEND i want the RECEIVE element to receive the effect. currently my script only effects the element itself: [CODE=javascript]var animElements = document.getElementById("send").getElementsByTagName("p"); for(var i=0; i<animElements.length; i++) { animElements[i].onclick = …

Web Development javascript
Member Avatar for digital-ether
0
89
Member Avatar for kishou

is it possible to have an array in a cookie?

Web Development php
Member Avatar for silviuks
0
87
Member Avatar for evios

i am new to PHP. instead i learned the basic from w3schools and tizag. i'd created a registration form-like page using php tags, however when i uploaded to a php-based web hosting, i cant see anything..it juz show done in the browser status with blank page. Anyone kind enuf to …

Web Development html-css php web-browser
Member Avatar for nav33n
0
164
Member Avatar for adrumsolo4u

i have been trying to find a way to do it, but i can't seem to think of one. i need to do this: [CODE=javascript]var animElements = document.getElementById("resizercontainer").getElementsByTagName("p") for(var i=0; i<animElements.length; i++) { animElements[i].onmouseover = widthChange; animElements[i].onmouseout = widthRestore; } function widthChange() { if (!this.currentWidth) this.currentWidth = 150; doWidthChangeMem(this,this.currentWidth,170,10,10,0.333); } …

Web Development javascript
Member Avatar for adrumsolo4u
0
143
Member Avatar for CathInfo

[CODE]var s = document.getElementById('field[12]'); var cust_cc_exp_month = s.options[s.selectedIndex].value; // This displays the correct Value -- which is "0" for item #0 = "Please select..." alert("Month: " + cust_cc_exp_month.toString()); if (cust_cc_exp_month == "0") { // This code never executes! } Here is the HTML portion: <select id="field[12]" name="field[12]"> <option value="0">MONTH</option> <option …

Web Development javascript
Member Avatar for digital-ether
0
91
Member Avatar for pink_zippy_123

Hi, Basically I am quite new to php but am currently connecting to a database and am trying to send data from one web page to another using the information selected in a hyperlink. The first web page contains a table populated will all options within the database e.g. if …

Web Development perl php
Member Avatar for digital-ether
0
1K
Member Avatar for web_lock

I'd like to create a desktop widget for a PHP application. Any suggestions / insights on how to go about with it.

Web Development php
Member Avatar for orko
0
86
Member Avatar for amin007

i have 1 question if new member (girl) open thread and 3 member reply hwo thread between 3 member come first???

Web Development php
Member Avatar for orko
0
120
Member Avatar for lydia21

hi i want to print some retrieved data base content in the body(for email) please tell me how to do tat......... $body1 = "Your Resume Titled" $restitle "which was posted on " $day"; i want to know how will the syntax for sent be wen there is BCC and CC …

Web Development email php
Member Avatar for orko
0
138
Member Avatar for arunsolanki31

can somebody tell me about how can pass value from page to other page rathen than query string and cookies any other process .plz put some coading

Web Development asp.net
Member Avatar for nukewarm
0
84
Member Avatar for pace

Howdy, I'm looking for an ASP programmer to produce 5 contact forms and associated form parser. We're more php kinda people, so we figure it would be easier to seek help. pm me and i'll give you the spec if it sounds like your bag. (please forgive me if this …

Web Development asp
Member Avatar for sreekanths
0
91
Member Avatar for billah_norm

Is there anything or keawords in PHP from which I can break or continue from a LOOP in PHP?? in C for(i=0;i<=100;i++){ statement1....; statement2....; if(condition1) break; else continue; statement3....; statement4....; statement5....; } I need something like this in PHP.. Can anybody Help me?

Web Development php
Member Avatar for johnsquibb
0
156

The End.