52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vanipriya

Hi all, I have two MS-Access Databases. 1.Comp with fields CID, CName, CMarks. 2.Stud with fields SID,SName,SMarks. I use JSP to build the form in NetBeans. I want to create a form which would allow me to choose a CName from a drop down menu. When I submit, it should …

Web Development java-jsp
Member Avatar for jwenting
0
488
Member Avatar for assgar

Hi The goal is to allow the user the ability to compare daily schedules of between 1 to 7 users. The number of columns/user schedule and column headers are dynamically created base on user selection. Each user schedule is set up in columns with the user name at the top …

Web Development php
0
117
Member Avatar for sonia sardana

From form1 I m passing the values of two textboxes & on form 2 I m receiving it--- FORM1 CODE- [code=asp]protected void Button1_Click(object sender, EventArgs e) { Response.Redirect("default4.aspx?roll="+TextBox1.Text); Response.Redirect("default4.aspx?name="+TextBox2.Text); }[/code] FORM2 CODE-- [code=asp]protected void Page_Load(object sender, EventArgs e) { Label1.Text = Request.QueryString["roll"].ToString(); Label2.Text = Request.QueryString["name"].ToString(); }[/code] But the error is …

Web Development asp.net
Member Avatar for sierrainfo
0
127
Member Avatar for ABDUL HAYEE

Hello! I have just developed, as an assignment , a small conventional website, commonly used for “Log in “purposes. User enters the UserID and password. User ID is compares from the customer Table, to verify, if the name already exists in database. If yes, he is directed to main page. …

Web Development asp.net session web-server
Member Avatar for sierrainfo
0
61
Member Avatar for Borderline

Hi There I have a very simple web gallery in php and mysql. I have noticed upon creating it, that I have several fields in my database contacting the same information (to a certain extent) and I wondered whether this would eventually put a strain on my server. Would it …

Web Development php web-server
Member Avatar for amigura
0
134
Member Avatar for OmniX

Problem is: I click my submit button it updates the database but not the website content, I click the submit button again and it updates the website content this time. This problem always pops up, and its due to incorrect structure of code in most parts :( I cant seem …

Web Development php
Member Avatar for OmniX
0
288
Member Avatar for OmniX

"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." Now this is a really stupid error. (yes that sums up the error S T U P I D) I am making an update to …

Web Development php
Member Avatar for OmniX
0
92
Member Avatar for oku

Hello everyone, just got a query regarding calculating I'm building a form and depending on how you fill it in you are given a score, currently i am using if/else statements. Here is an example $age is taken from the database after the form is completed (persons age) $mc is …

Web Development php
Member Avatar for oku
0
138
Member Avatar for m_shanak

hello, i just asking if any body can help me to make a marquee display data from mysql data base like this web site [URL="http://www.aljazeera.net/NR/exeres/F06E0D8B-BE98-445A-9752-8E7EA9DAD30F.htm"]http://www.aljazeera.net/NR/exeres/F06E0D8B-BE98-445A-9752-8E7EA9DAD30F.htm[/URL] thx v. much

Web Development php
Member Avatar for nav33n
0
274
Member Avatar for kevin wood

i have created this piece of code to retrieve the path to a file from a mysql db, the file exists and can be displayed directly from the sql query. the code looks like this [CODE]$query = "SELECT broad1 FROM images_broad"; $result=mysql_query($query); while($row=mysql_fetch_array($result)){ $image_path="{$row['broad1']}"; }[/CODE] i now want to display …

Web Development php
Member Avatar for kevin wood
0
147
Member Avatar for sweetleilani

Hi. I'm a newbie to php and have created a login form that does not use an sql database. After inputing all the code I've tested it in IE and it doesn't work properly. If I leave the username and password blank but hit the submit button, it takes me …

Web Development php
Member Avatar for jana36
0
92
Member Avatar for kevin wood

i have store an image on the server from a file upload with a random number attached to it. i have then stored the random number in a mysql db for use on other pages to display the images. the problem i am having is that the image will not …

Web Development php
Member Avatar for kevin wood
0
75
Member Avatar for phploveisgood

Please I need some help! When I am developing, these code below works fine: [code=php]<?php if($_SERVER['SCRIPT_NAME'] == '/aktuelle seite/index.php') { $style_home = 'style="background-color: #6C674F"'; } ?> <ul> <li class="linkLevel01"><a href="index.php" class="homy"<?php echo $style_home ?>>Home</a></li>[/code] But, when I put on the server : [code=php]<?php if($_SERVER['SCRIPT_NAME'] == '/bobo/index.php') //"bobo" is the name …

Web Development php
Member Avatar for amigura
0
294
Member Avatar for vanessia_1999

Hi everyone, I am so new to javascript and it is really giving me a micrain. It looks easy but tend to be hard. Atleast for me since I am a beginner. I need help please. I need to make work with the element getElementById I have tried numerous way …

Web Development javascript
Member Avatar for vanessia_1999
0
129
Member Avatar for ray_broome

Hi, I've got a form with a few text fields, and only today I noticed that when i tried copying some text from an email and pasting it into one of the fields, after submitting to the database (and printing the query), i noticed that the name sent had something …

Web Development php
Member Avatar for rgviza
0
192
Member Avatar for maydhyam

Hi All, I have a form with a submit button that enters the registration data into the MySQL DB...is there a way for a notification to be sent to the System Administrator notifying her about the registration?

Web Development php
Member Avatar for maydhyam
0
79
Member Avatar for maydhyam

Hi, Can anyone tell me what is wrong with my code? I am trying to have an email sent to the email addy hardcoded informing the the email receiver that the info was sent into the DB...and when I do add a user, no email was sent...only the registration data …

Web Development email php
Member Avatar for maydhyam
0
174
Member Avatar for maydhyam

Hi All, I think I'm lost..... Here's my problem, I have a searchUser.php which allows the user to enter the Employee ID and submit (which searches for the user). The result is displayed from the chunk of code below. I want to allow the user to append a particular field, …

Web Development php
Member Avatar for maydhyam
0
120
Member Avatar for servis

i am extemly newbie and don’t know whether I should post my problem here or somewhere else, however… i have following problem in one of my php-mysql application header link through browser is, "http://localhost/test/reply.php?id=852" and query is as follow, [ICODE] $name=$_POST['name']; //from the name form $q_id=$_GET['id']; $sql="INSERT INTO `test`.`reply`(`rid`,`tid`,`name`)VALUES(NULL,'$q_id','$name')"; $result=mysql_query($sql);[/ICODE] …

Web Development php
Member Avatar for rgviza
0
4K
Member Avatar for princeanthony

Please write echo statement from html statement below; <a href="javascript:ajaxpage('test.htm', 'contentarea');">test</a>

Web Development html-css javascript php
0
73
Member Avatar for Rahul17

I have written this code in Jsp file . [code=JSP]<% Connection con=null; Statement st=null; PreparedStatement ps; String nm=request.getParameter("tnm"); String loc=request.getParameter("tlc"); try { Class.forName("com.mysql.jdbc.Driver"); con=DriverManager.getConnection("jdbc:mysql://localhost:3306/rahul","root","root"); st=con.createStatement(); try { ps=con.prepareStatement("insert into dept(deptname,location) values(?,?)"); ps.setString(1,nm); ps.setString(2,loc); ps.executeUpdate(); out.println("Value inserted "); } catch(SQLException e) { out.println("sql is not executed"); } } catch(Exception ex) { …

Web Development apache file-stream java-jsp mysql
Member Avatar for jwenting
0
133
Member Avatar for Ole Raptor

Hello I have been working on this script for a little while. All is working good(get all information into the xml). But I am needing to have the php code add an image to the xml for download. If anybody as any ideas i would greatly appreciate it. I have …

Web Development image php xml
Member Avatar for Ole Raptor
0
97
Member Avatar for LogicWeb

Greetings everyone, On the [url]www.logicweb.com[/url] top banner (static), the live chat white circle image map area has an IE issue here. The live chat image map works fine in Firefox and Oprea but not in IE7. I believe its the # link. What can I do to the below code …

Web Development javascript
Member Avatar for arifathar
0
288
Member Avatar for OmniX

I have a variable in a variable. I have done this before but it is not working this time. I have it in a for loop so my code is: [code=php] $abc1 = one; $abc2 = two; for($i = 0; $i < 2; $i++) { echo $$abc$i; } [/code] The …

Web Development php
Member Avatar for OmniX
0
127
Member Avatar for jinx_uk_98

Hi guys, I have this sql statement that is trying to insert data from some fields <?php $con = mysql_connect("xxx","xx","xx"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("xxx", $con); $sql="INSERT INTO guests (guest_name, guest_email) VALUES"; for($i=0;$i<sizeof($_POST);$i++){ $sql.="('".mysql_real_escape_string($_POST[$i])."','".mysql_real_escape_string($_POST[$i])."')"; if(!$i==sizeof($_POST)){ $sql.=","; } } // if (!mysql_query($sql,$con)) { die('Error: ' …

Web Development php sql
Member Avatar for nav33n
0
91
Member Avatar for sanch3za

for example : I have 4 check box with their own variables a,b,c,d How can I create query with condition using what users choose, where users can choose more than one check box thanks for your support

Web Development php
Member Avatar for nav33n
0
81
Member Avatar for twelvetwelve

Hi I want to split a variable to check what type of user they are. If they are user type 1 their username will be in the form "LLL" where L is a letter. If they are user type 2 their username will be in the form "LLNNNNN" where L …

Web Development php
Member Avatar for rgviza
0
142
Member Avatar for priyapratheep

Hello friends In my form I am using two AJAX functions.. Both are working fine... Problem is both are displying in one place..I want to display it in different locations... I used [code=html]<div id="txtHintGrade"></div> <div id="txtHint"></div>[/code] txtHindGrade for first [code=html]document.getElementById("txtHindGrade").innerHTML=xmlHttp.responseText; <span id=\"txtHindGrade\"></span>[/code] and txtHint for the second [code=html]document.getElementById("txtHint").innerHTML=xmlHttp.responseText; <span id=\"txtHint\"></span>[/code] …

Web Development javascript
Member Avatar for MidiMagic
0
72
Member Avatar for websurfer

Hello, all: I need some help with a dynamically populated dropdown menu... I have managed to dynamically populate the dropdown menu from my item_categories table, and it works fine, EXCEPT once I have entered an item and want to bring it back into the form to UPDATE it, how do …

Web Development php
Member Avatar for ryan_vietnow
0
119
Member Avatar for ChristieLuv

Hi! I'm trying to find a basic PHP code that uses an HTML form to upload an image to a specified directory and after that the image address can be called for displaying the image with PHP or putting it in a textarea box for linking. I know it seems …

Web Development display image php
Member Avatar for servis
0
103
Member Avatar for peter_budo

I have some webspace that I used so far for university assegnments. I would like to to convert it to blog website where I will place some rants, codes and some maybe for somebody interesting info that I find along the research path of my MSc project. Website will be …

Web Development java java-jsp open-source
Member Avatar for jwenting
0
83
Member Avatar for Scottmandoo

ok lets make this a little simpler than my last topic. I found this [URL="http://wiki.dreamhost.com/index.php/PHP.ini"]site[/URL] which everyone who follows it seems to be getting results from, though it says "You are expected to be knowledgeable in the UNIX shell." which i have got no idea what that even is. I …

Web Development php unix
Member Avatar for rgviza
0
102
Member Avatar for kitsune

Hello, Is there any simple way to add a bar chart in jsp, I have a question and answers tables for a survey and I want to show the result for it like this: QuestionText.............................Result aaaaaaaaaaa............................Yes 70% ------------ ...............................................No 30% ----- Can anyone Help Me....

Web Development java-jsp
Member Avatar for jwenting
0
98
Member Avatar for maydhyam

Hello there, My intentions are to enter the employee id in the search page, and have the results displayed below the area to enter the search criteria with the select box and update button( i only want to update 1 field) here are the codes..... My problem is whenever i …

Web Development html-css perl php
Member Avatar for nav33n
0
161
Member Avatar for MDGM

Hi guys, I did a quick tutorial on the internet on using php and mysql. It is my first ever time using it so forgive me if im being a bit of a "NOOB". anyways ill post the script below and can you give me a few pointers about where …

Web Development mysql php
Member Avatar for nav33n
0
103
Member Avatar for cyberjoe

Hi, I would like to ask you what is the best way to localize applications in .NET 2.0 and how Microsoft do it in Vista? cyberjoe

Web Development asp.net
Member Avatar for Byaptia
0
147
Member Avatar for kevin wood

i have created a page which has an iframe held on it i now what to post the data from this iframe and make it available to my other php page. I have researched this a bit and found out it can be done using javascript. the code i have …

Web Development javascript
Member Avatar for kevin wood
0
103
Member Avatar for sudhakary_rao

Hi I have one .aspx page and image.when i scroll down the page the image should come vertically down as page scrolls.

Web Development asp.net image
Member Avatar for peter_budo
0
69
Member Avatar for mythi

Hi I need to pass the co ordinates of the image present in one web form to another i tried it by using seesion variables but its not getting transferd help me with some suggestions

Web Development asp.net image
Member Avatar for majestic0110
0
90
Member Avatar for manikandanpk

Hi, I m new to this site . Im new asp.net. I want to know how to convert private assembly convert to shared assembly. Can u tell me anybody with good practical example. Advance thanks to every replier. Regards Mani

Web Development asp.net assembly
Member Avatar for majestic0110
0
152
Member Avatar for rhand

I have been working on a [URL="http://www.onboardcouriers.eu/verhoijsen/"]Wordpress theme[/URL] for some time now. I got a javascript from the original website. I import it into the Wordpress header.php. But it does not work at all. No floating images as I move my mouse. Nothing at all. Firebug gives me this error: …

Web Development javascript wordpress
Member Avatar for rhand
0
114
Member Avatar for nickyspace

hi all can anyone help me out regarding sending sms through php form i searched hell lot of it but i couldn't found any code related to php.. help me plzzzzzzzzzz. if possible regards priti

Web Development php
Member Avatar for Ole Raptor
0
140
Member Avatar for Vai

Here is what I am trying to accomplish: When a user logs in, their username will be displayed... Trouble is I am unsure how to co-relate the username w/ the id... thanks for any and all help.... [code] <?php require_once('core/db.php'); require_once('core/secure.php'); $query = mysql_query("SELECT username FROM admin WHERE id = …

Web Development display php
Member Avatar for ryan_vietnow
0
168
Member Avatar for nishanthaMe

Hi all I have a div elent like this [ICODE]<div id="content" style="width:200px;height:125px;overflow:auto;color:#000000"></div>[/ICODE] I fill the div with text dynamically and scroll bars appears. But I want to show tha latest data which fills the div with out scrolling (otherwise the user have to scroll to see the latest data ) …

Web Development javascript
Member Avatar for nishanthaMe
0
143
Member Avatar for Samjonz

hey any one can help me to refresh ado rotqator with out refreshing the web page

Web Development asp.net
Member Avatar for majestic0110
0
104
Member Avatar for Inny

My script resizes images (yes, client side! No, I dont have access to do it server side!) When a topic is posted with alot of images, The script sometimes resizes before all the images load, resulting in images loading after that which are not resized. How can I ensure the …

Web Development client-server javascript
Member Avatar for Inny
0
234
Member Avatar for 2xldesign

I am working on a 2 page form. I need to have a file upload on the first page. I need to pass the file upload values to the insert page. I am not sure what approach to take. I have tried sessions but had no luck. Here is a …

Web Development file-system php
Member Avatar for 2xldesign
0
274
Member Avatar for Suhacini

Hi, Can anyone tell me how can I move from one page to other page.I want something like wht we have here. Example: Page 1 of 5 : 1|2|3|>

Web Development php
Member Avatar for Suhacini
0
71
Member Avatar for trient

Hi, I've these values: a) < 100 000 = 5 points b) 100 000 - 250 000 = 4 points c) > 250 000 = 3 points [CODE]$a = 140000; $b = 23; if ($a > 250000) { $b = 3; echo $b; } if ( 100000 < $a <= …

Web Development php
Member Avatar for nav33n
0
114
Member Avatar for mrcniceguy

i created a profile,where after login someones Datas appears. Now i need to put profile comment,that any member can leave a comment to another. So i dont know how To get started especially with how the mysql table could be. Help please!!!!!!!!

Web Development php
Member Avatar for nav33n
0
265

The End.