52,566 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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 | |
[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 … | |
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 | |
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 … | |
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 | |
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 … | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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%>" … | |
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 | |
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 | |
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 | |
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); … | |
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 { … | |
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 | |
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 | |
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 | |
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. … | |
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. | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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...". … | |
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 | |
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 … Web Development asp database-design web-design web-server | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 |
The End.