52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mrcniceguy

IS THERE A POSSIBILITY OF SELECTING TWO DATABASES/TABLES AT THE SAME TIME??? I MEAN IN ONE scripts(login.php). Simply i need when someone login in my web,Just after login All his info two display including his photo which is in Different database Or table. AnyOne two help Me?

Web Development php
Member Avatar for mrcniceguy
0
217
Member Avatar for kickinmhl

I am having this compatibility probelm with IE vs. Firefox. The below code works perfectly fine in IE but not in Firefox. Essentially it is a pair of radio buttons and an Iframe below it. I want the Iframe content to change when the radio button option is selected. the …

Web Development javascript
Member Avatar for ~s.o.s~
0
185
Member Avatar for JNathanson

Hi there, Is there any way, maybe using mod_layout, to force certain subdomains to have ads forced on their pages? I.e. for a free hosting company. Thanks,

Web Development php
Member Avatar for somedude3488
0
132
Member Avatar for culebrin

Hi all, I need a more elegant way to do the convertion between different cultures First I parse the field into the default culture (en-US) like this, [code]Dim Format As New System.Globalization.CultureInfo("en-US", True) Dim sFecha As Date = System.DateTime.Parse(me.TextBox1.Text.Trim, Format, Globalization.DateTimeStyles.None)[/code] What I need is a way to show in …

Web Development asp.net
Member Avatar for culebrin
0
100
Member Avatar for Beryl

[code=html]<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page import="com.py.db.*, java.sql.*" %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="style.css"> <title>Registration</title> </head> <body> <% String id = request.getParameter("login_id"); String password=request.getParameter("password"); String email= request.getParameter("email"); DataSource ds = new DataSource(); ds.executeUpdate("insert into user …

Web Development html-css java-jsp
Member Avatar for jwenting
0
98
Member Avatar for tte

Maybe a dumb question but is there a way to redirect/forward a form (and all it's parameters) to another host using jsp? Like this [url]http://www.xxx.com/form.jsp[/url] -> [url]http://www.xxx.com/redirect.jsp[/url] -> [url]http://www.yyy.com/response.jsp[/url] I've tried with sendRedirect which doesn't pass along the parameters and forward that for some reason doesn't seem to work with …

Web Development java-jsp
Member Avatar for jwenting
0
143
Member Avatar for Ankita B

Hi, I wish to save value entered by user in textbox in a session variable.my form contains many elements and i need to navigate back and forth.so i want to save the value once entered by the user in a session variable so that i can retrieve it and display …

Web Development java-jsp session
Member Avatar for jwenting
0
1K
Member Avatar for C#Novice

Hi All, I m working on a project that has different sub-projects. I would like to include a link to a file that is placed in another folder. For ex. My file whose path is ProjB/FolderB/FileB.asp --I want to write a line of code that will enable me to link …

Web Development asp.net
Member Avatar for C#Novice
0
120
Member Avatar for Elmo_loves_you

Hi, I have a webpage set up that allows users to upload a file to a server from the fileupload control, which is then saved to the database with the blob file and the file name. What I would like to do now is retrieve this file by selecting a …

Web Development asp.net dataset
Member Avatar for Elmo_loves_you
0
122
Member Avatar for brightline

In my web application: I want to store a .Doc file(word file) in database and then retrieve it and display it in the same format in a web page. I am using ASP.NET 0.2 and SQL 2005. thnx.

Web Development asp.net
Member Avatar for Fungus1487
0
95
Member Avatar for vasudha k

Hi , I am working on a web Application..i have a Login Page..I have a problem with the password authentication..the password does not accept "space" in between the password characters but it does not validate the "space" given after the last character of the Password..it does not say invalid login …

Web Development asp.net
Member Avatar for Fungus1487
0
85
Member Avatar for itstopnotch

Hi , Im looking for a script that will manage reviews. Im looking at adding this to a site. What I need is a script or CMS that I can write a review for a product or in most cases a game that has a star rating system. I also …

Web Development cms php
Member Avatar for itstopnotch
0
79
Member Avatar for imanust

Hi everyone, was trying to make login. wanted to make the query to get details off sql safer and used sprintf but it does not work. the code is as follow: [CODE]<?php session_start(); include('db.php'); if(isset($_POST['submit'])) : // Username and password sent from signup form //stripping $username = strip_tags($_POST['username']); $password = …

Web Development php
Member Avatar for blocblue
0
101
Member Avatar for qools

Hi i have just start to try out ruby and since has met with some problems during the execution of ruby coding. I have tried simple ruby codings embedded into HTML files and it works fine but the main trouble occurs when i wish to test out pre-written codes from …

Web Development ruby
Member Avatar for pty
0
158
Member Avatar for maddogsprofiles

these are the error codes that keep coming up: Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/maddog/public_html/profiles/v. 2.0/functions.php on line 4859 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/maddog/public_html/profiles/v. 2.0/functions.php on line 19 Warning: mysql_num_rows(): supplied argument is not a …

Web Development php
Member Avatar for ultra vires
0
101
Member Avatar for Lodgey

Hi Forum users, I have recently tried to put together a php contact form but when it sends it doesn't have the visitors email address. I receive the email with the subject and message addressed to myself from myself. I would also like to add the visitors name on the …

Web Development api javascript php
Member Avatar for mexabet
0
191
Member Avatar for rrocket

I am trying to display the results of a store procedure, but cannot seem to get the Move Next to work for me. Without it I am currently only getting the first row. Here is what I have so far: [code=asp] Set x1 = server.CreateObject("ADODB.Command") Set RS = server.CreateObject("ADODB.Recordset") With …

Web Development asp session vbscript
Member Avatar for rrocket
0
161
Member Avatar for jugo

I have this code that automatically displays a table with mysql data depending on the selection from a form. I need to add code to make this refresh every 30 seconds. I ave googled this and after trying every single way I know to implement the setTimeout() function, I have …

Web Development javascript
Member Avatar for ~s.o.s~
0
125
Member Avatar for Gia

Hi. I need some help with arrays in JavaScript. I am creating a slideshow and have to store the images in an array on a separate file. I need some feedback as far as am I missing something in this file and how can I then call this array into …

Web Development javascript
Member Avatar for HenryGR
0
154
Member Avatar for loboman

April 13, 2008 I have a web-site that is a Google Map mash-up and I place my markers by listing them in the body right after the map loads (in a load function). I convert my data from a spreadsheet to xml and then use a program to write the …

Web Development html-css javascript xml
Member Avatar for ~s.o.s~
0
122
Member Avatar for cork

Hi. I'm trying to create a cookie where the name is the username that a user submits through a form and the value is the number of their visits. I can't get the number of visits to increment. Any ideas why this is not working? Heres my code: [code]<?php $Username …

Web Development php
Member Avatar for cork
0
1K
Member Avatar for shaikh_mshariq

Hello To Every One I have transformed xml document using servlet now i need to know how can i transform xml document using jstl. I have found this code very often but it doesn't work with a relative or absolute url. I need to pass parameters dynamically. [CODE]<c:import var="xml" url="<%=xmlFile%>" …

Web Development java-jsp session xml
Member Avatar for jwenting
0
135
Member Avatar for kevin wood

does anyone no how to make an image in IE transparent? my images work fine in Netscape/Firefox but display with white backgrounds in IE?

Web Development javascript
Member Avatar for Inny
0
97
Member Avatar for Venom Rush

Hi there I need help making my URL's look pretty. I've done the editing of the .htaccess file with regards to mod rewrite from this article ([URL="http://www.roscripts.com/Pretty_URLs_-_a_guide_to_URL_rewriting-168.html"]Pretty URL's[/URL]) but I have no idea on how to implement the php side of it. The article mentions creating a variable out of …

Web Development php
Member Avatar for Venom Rush
0
88
Member Avatar for niladri.user

Why the warning is showing and the header is not sendingwith this script? <?php function authenticateUser($user,$password) { $con=mysql_connect("localhost","root",""); mysql_select_db("niladri",$con); $sql="select * from user_profile where user_id='$user'and password='$password'"; $res=mysql_query("$sql",$con); if( ($row = mysql_fetch_array($res)) && ($user_id==$row["user"])&&($password == $row["password"] ) && ($password !="") ) return 1; else return 0; } ?> <?php $form_user_id=$_POST['form_user_id']; $form_password=$_POST['form_password']; …

Web Development php
Member Avatar for nav33n
0
148
Member Avatar for chitra1

Hi, I am trying to use sessions to display information from one page to the next one but I am having the following problems. Could anyone plz help me??????????? Here is my code: <?php $pnm1=$_POST;/////////name of text box from previous page include("db_connect.php"); $sql="SELECT * FROM new_party WHERE party_name='$pnm1'"; $result=mysql_query($sql); $count=mysql_num_rows($result); …

Web Development php politics session
Member Avatar for buddylee17
0
90
Member Avatar for slacke

I have php code for simple file uploadings. I have index.php with form [CODE] <form action="upload.php" method="post" ENCTYPE="multipart/from-data"> Choose file <input type="file" name="userfile" size="50"> <input type="submit" value="Upload"> </form> and upload.php <?php $uploaddir = '/var/www/htdocs/upload/data/' $uploadfile = $uploaddir . basename($_FILES['userfile']['name']); * if(is_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) { * echo "file uploaded."; } else { …

Web Development apache php
Member Avatar for slacke
0
106
Member Avatar for jino

Dear All, I am new to MySQL. Can i retrive the result of a query as the combination of different fields of a single record.. For example.. if the result record of a query is ... id(1), country(India), Location1(maharashtra), Location2(pune), Location3(Navi Mumbai)... My doubt is that can i retrive the …

Web Development php
Member Avatar for silviuks
0
92
Member Avatar for shadiadiph

I have a problem with my script i am trying to format a text area so that on the next page it displays it as it was entered in the textarea. my css style says this textarea { width:450px; padding:2px; font: normal 1em Verdana, sans-serif; border:1px solid #eee; height:100px; display:block; …

Web Development php
Member Avatar for silviuks
0
85
Member Avatar for Fenerbahce

I choose something from selectbox and click on the button and i get list of the data from database but, whatever i choose from selectbox doesn't remain what i have chosen. It sets itself to first value. How can i do "selected" ? [code] <?php $mysqli = new mysqli("localhost","root","","inantest"); if …

Web Development php
Member Avatar for nav33n
0
138
Member Avatar for ash112

Hi i am new to php. The code below is a page that display results from the database. i included a table. When the search result displays the result it doesnt go on a new line. For example the name neil Mcman and Peter Worth comes in the same line. …

Web Development display php
Member Avatar for upstream
0
146
Member Avatar for kevin wood

does anyone no if it is possible to convert a php/mysql page into a html page? if it is would it be possible for you to point me in the right direction as i have no joy searching the net.

Web Development html-css mysql php
Member Avatar for kevin wood
0
106
Member Avatar for jessc0108

Hi can anyone help. i have a table called student and i have set up a link to it using gridview i have set it up so you can edit the field CourseID does anyone know if i can set it so that edit will only be shown where the …

Web Development asp.net
Member Avatar for ptaylor965
0
78
Member Avatar for sukhy_1

Hello i want a basic search which counts how many records there are ths code works in mysql but when i use it in php its jus prints this code and dont display result // Standard SQL $query="SELECT COUNT(*) FROM dates WHERE search='yes'"; echo $query;

Web Development php
Member Avatar for sukhy_1
0
100
Member Avatar for aran87

hello people ive got a signup form which allows people to signup and login but to signup they enter there email address in which is then used as there login name, its all working but when the next user signs in they mite type the same email address in so …

Web Development php
Member Avatar for somedude3488
0
115
Member Avatar for mortalex

Hey guys, I've heard that you can write php code when its combined with javascript, you just need to echo"" out all the javascript functions. So i've done this and it is working.. to a degree. From using Firebug to test the page, the javascript is coming through and it …

Web Development javascript php
Member Avatar for mortalex
0
140
Member Avatar for websurfer

hello, all: I need help retrieving records from a catalog-like format I am building. Should be soemthing simple i think, but just cant get it... Here is the thing: I have a mysql "Products" table with each product's info in it, and another "images" table that has all the image/paths …

Web Development php
Member Avatar for phper
0
72
Member Avatar for macslayer

Hello again, This may or maynot be proper thread for this topic, but here it is. I have a coldfusion 7 serve that I am running a page on, that uses hash(<email>,"MD5") all it well and good makes me a hash string and all. I store this hash and in …

Web Development coldfusion web-browser
Member Avatar for macslayer
0
152
Member Avatar for sandip250382

Buddies, While I am trying to open a new website in Visula studio 2005(ASP.NET WEBSITE) where location="HTTP",error message says"Unable to create the web "http://webiste1/website3.Could not find a web server at website1. please check to make sure that the web server name is valid and your proxy setting are set correctly …

Web Development asp.net web-server
Member Avatar for ericstenson
0
78
Member Avatar for Slade

Howdy guys! I need help with something (yes, again). What my plan is, is to have two user inputs on a website, one of these inputs will be the header for the html e.g. "DaniWeb TechTalk computer support", the other for the page content, e.g. "Hi, my name is zorba...". …

Web Development asp.net display vb.net
Member Avatar for mallyajiggs
0
407
Member Avatar for lifeworks

Hi, any help would be greatly appreciated on this Ive discovered that if I am using a form, with the 'server[php_self]' action, then variables that i created earlier (such as ones i retrieved from the URL) disappear, or become unuseable... how do i retain these variables, or pass them for …

Web Development php
Member Avatar for lifeworks
0
271
Member Avatar for GLT

Hey guys! I was wondering if anyone could help me. I am a student on my work placement year and I am developing a web based database. I have been asked to design it so users can if need be add a new table to the database or add a …

Member Avatar for pmpn
0
258
Member Avatar for GLT

I created a user registration page using ASP and Dreamweaver, I tried to create a drop down box filled with options from a database. I only wanted the box to contain one of each option but it contains every one, one for each user when i view this in firefox. …

Web Development asp open-source
Member Avatar for pmpn
0
119
Member Avatar for queenc

i have a table where the table contains the path of the files. when the user enters a word in the text box it should search all the file and display the files.p

Web Development php
Member Avatar for queenc
0
41
Member Avatar for rajeevkshr

Hi all, I am not able to get the session in IE.Its Working Fine in Mozilla.I tried a lot to Overcome this Problem.Session registration was Successfull.After Successfull login i am redirecting to some Other page.Here Session is Not Coming.Anybody can help me for Doing this? Rajeev

Web Development php session
Member Avatar for ryan_vietnow
0
91
Member Avatar for Rums

Hii..... Ok here goes my issue I am developing a recruitment tool intranet aplication for my company and when i post a resume i want a pop up which is same like when we upload a pik in sites liek orkut...its basically used in php i wanna know how can …

Web Development asp.net visual-studio
Member Avatar for ericstenson
0
126
Member Avatar for jessc0108

HI, I am currently stuck. i am using visual studio 2005 and have successfully got data from my database using a repeater. I dont know if this is possible but i thought i would ask... i want to get my data from the database based on a value that is …

Web Development asp.net visual-studio
Member Avatar for ericstenson
0
80
Member Avatar for somedude3488

I am creating a php property buy/sell/trade game. The goal is to have the most properties and the most cash after a set time period (cash prize awarded later in site development). I was wondering what you guys would like to see in a game like this. Here is a …

Web Development php
Member Avatar for somedude3488
0
102
Member Avatar for aran87

Hello ive got a form where the users enter there details on a form then click on submit which then should update there telephone number, where is says where Email= $_Post[Email]") thats one of the fields that automatically appear the email cant be updated, this code below luks correct and …

Web Development first-post php
Member Avatar for sukhy_1
0
62
Member Avatar for Fenerbahce

Hi, This code works fine but, when i choose "Female" from selectbox, it sets "Male" in the selectbox again. What is the problem? Thanks [code] <?php if (!isset($_POST["sex"])) { print "Please start!"; } else if ("Male" == $_POST["sex"]) { print "Male !"; } else if ("Female" == $_POST["sex"]) { print …

Web Development php
Member Avatar for kevindougans
0
90

The End.