52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dschuett

Hi, I have made a log in script that checks the database for username and password. I have everything working for the users (they must be logged in to access member.php). Now I have admin.php redirecting to a different page, but how do i keep users OUT of that page? …

Member Avatar for richieking
0
7K
Member Avatar for pearll

[B]What is wrong with the "update" row :-O.... it is showing some syntax error !! plz sombody rply soon !!!!!! [/B] [CODE]$sql="SELECT * FROM contact"; $result=mysql_query($sql);?> <table align="center" width="700" border="0"><tr><td><?php echo "<form name='form1' method=post action=''>"; echo "<table border='0' cellspacing='0' cellpadding='2' width='600' align='center'>"; echo"<tr bgcolor='#ffffff'>"; echo"<td>&nbsp;</td>"; echo"<td align='center' bgcolor='#FFFFFF'><strong>emailid</strong></td>"; echo"<td align='center' …

Web Development php
Member Avatar for richieking
0
138
Member Avatar for pearll

here in my page "eg3.php" ..."NEW" and "Delete" button are working fine ... but when i click "edit" button ... the "update.php" page opens but with empty textboxes as if i have to insert NEW data ... that is the problem... the text boxes should display data of checked row …

Web Development html-css php
Member Avatar for richieking
0
106
Member Avatar for anoopkris123

Photo Gallery Code. This code is show all the images from the images folder with filename ending with "_thumb" When i run this code its working but i a getting an error as "[COLOR="Red"]Notice: Undefined variable: count in C:\wamp\www\photogallery\AutoGeneratingGallery\index.php on line 58[/COLOR]" I am using Wamp server 2.0 Please some …

Web Development php
Member Avatar for richieking
0
1K
Member Avatar for Manny7

Hi there, i've the strings, who containts this: "asgaasg, gasgasg, saxx" or "asgaasg, saxxss". And I need always to get only the part of the strings for the last comma, so in th first example it is: "saxx" and in the second "saxxss". I tried to get that with using …

Web Development php
Member Avatar for mschroeder
0
116
Member Avatar for sistrlynn

Hi, I need som assistance placeing an HTML table within a PHP script. I thought I could just echo it, but I am getting a parse error. Here is the PHP code: (the parse error comes on line 339 <?php /* declare some relevant variables */ $DBhost = "localhost"; $DBuser …

Web Development html-css php
Member Avatar for richieking
0
299
Member Avatar for GigsD4X

Hi there, I'm making a script that gets a form's elements, and writes them to an XMLHttpRequest. It works perfectly with inputs, but when it switches to text areas, it returns "undefined" :\ Could you help me find the error? :D [CODE=js]function sendForm(target, form) { var item; var string=""; var …

Web Development javascript
Member Avatar for Taywin
0
147
Member Avatar for AngelicOne

I have this code [CODE] protected void loginbutton_Click(object sender, EventArgs e) { Int32 d = checkuser(uid.Text, pwd.Text); if (d == -1) { prompt.Visible = true; prompt.Text = "Unregistered ID. Please make sure that you have a registered account and you have correctly typed in the user ID"; } else if …

Web Development asp.net c#
Member Avatar for dnanetwork
0
114
Member Avatar for Man44ever

hey i want to change the textbox from the dropdownlist.....whatever item is selected from my dropdownlist i want to display in my textbox......i have used the below code but its not working. and i also want to autogenerate the code for employee code for eg. if employee first name Aaron …

Web Development asp.net c c# c++
Member Avatar for dnanetwork
0
86
Member Avatar for Man44ever

i want to update the row in gridview but it give me one error Object reference not set to an instance of an object. how to update the current row selected in grid view.......please help! [CODE] public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { …

Web Development asp asp.net c# dataset open-source
Member Avatar for dnanetwork
0
131
Member Avatar for ClaireShutt

Hi there I am new here and wanted to ask question I have this simple code to put elements into an array [CODE]<html> <body> <script type="text/javascript"> var numb =2; var tempstr="-26.18101|-26.161011|"; var latstr=new Array(tempstr.split("|")); document.write((latstr[0]) + "<br />"); document.write((latstr[1]) + "<br />"); document.write((latstr[2]) + "<br />"); </script> </body> </html> [/CODE] …

Web Development javascript
Member Avatar for Taywin
0
103
Member Avatar for Hernan_Icon

Hi Guys! I Need some Help here please: I'm Trying to Make some Improvements on an Existing Site, so I Copied all the Files to a New Directory in the same Path And Started Working On the Files Over there. When I Tried to Access the login.aspx Page, I Get …

Web Development asp.net
Member Avatar for kvprajapati
0
100
Member Avatar for mldardy

I have a dropwdown where I select a name from the dropdown list. This populates a grid view with that record. Once I select that record it will populate a form with textboxes of info for that record. There is a delete button in that form and when I click …

Web Development asp.net
Member Avatar for kvprajapati
0
111
Member Avatar for ryathegr8

hi.... can anybody give me link for php compiler exe file???? and mysql...whateva needed to build a web application.... i'll be thankfull....

Web Development mysql php
Member Avatar for akvlko
0
193
Member Avatar for Ankur_tces

Hi all, I am trying to use Ajax and Jquery on master page. In my existing project i have used the Ajaxpro2.dll it's working fine. but when i am trying to use jquery then its not working. Then in jquery script instead of `$` i have used 'jquery' keyword then …

Member Avatar for Ankur_tces
0
168
Member Avatar for Mr.Kazaam

I was following this tut. on how to install Apache, PHP, Mysql, and PHPmyadmin. I need a bit of help! I get a [B]"Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\mysql_test.php on line 15"[/B] everytime I test the mysql thing. What ive …

Web Development apache mysql php
Member Avatar for R1Programmer
0
280
Member Avatar for aslamdoctor

Hi Everyone, I want to develop a tool in which I will input the following details 1.Total Area of your house roof. 1.Direction of the Roof of your house 2.Average Monthly Power Bill 3.Style of the Roof (wood shake, foam, rolled, spanish tile etc) 4.How steep is the Roof slope …

Web Development php
Member Avatar for aslamdoctor
0
261
Member Avatar for macguyver

Hi There I am trying to create some javascript to do the following:- Actually its cool, I posted some stuff, but I think I want to work on it some more, so I have deleted the rest of the post. Sorry to trouble anyone.

Web Development display javascript
Member Avatar for Taywin
0
144
Member Avatar for teedoff

Ok what am I missing?? I have a dropdown list so that admin can select a value from and then update the database. The list IS populated but the select box isn't wide enough to see any of the option values. I even tried adding a size attribute. I know …

Web Development coldfusion
Member Avatar for arrgh
0
181
Member Avatar for doctorphp

Hi All I am trying to add a no under 18's feature to my register page. I have got a simple function which uses the year of birth but I am not sure what to do for the day and month. Here is the code. If someone could help me …

Web Development php
Member Avatar for chrishea
0
295
Member Avatar for anyname4u

Hi, I have this error: Notice: Undefined index: menu_name in C:\wamp\www\widget_corp\create_subject.php on line 16 this is the code: [CODE]<?php require_once("includes/connection.php")?> <?php require_once("includes/functions.php")?> <?php //for validation $required_fields = array('menu_name', 'position', 'visible'); $errors = array(); foreach($required_fields as $fieldname){ if (!isset($_POST[$fieldname]) || empty($_POST[$fieldname])){ $errors[] = $fieldname; } $fields_with_lengths = array('menu_name' => 30); foreach($fields_with_lengths …

Web Development php
Member Avatar for anyname4u
0
281
Member Avatar for trilithon

I need to query data from a table accourding to user level to genarate a menu list for different user levels, the code worked well with (session->username) but when I changed to (session->user_level) it does not want to work. Any help will be appreciated. Here is my code: [CODE=php] <?php …

Web Development php session
Member Avatar for trilithon
0
96
Member Avatar for JimOneill

I'm totally new to this, as will be evident, and I can't figure out the syntax for what should be the most basic code. I'm just trying to get a piece of data from a SQL database and store it in a variable. From various book and websites, I cobbled …

Web Development asp.net sql
Member Avatar for jdsurgeon
0
158
Member Avatar for Staggasaurarts

hi, i am trying to switch tabs without page going back to top. i am using this script. [URL="http://www.sohtanaka.com/web-design/examples/tabs/"]http://www.sohtanaka.com/web-design/examples/tabs/[/URL] but i just can't stop it from the page going back to the top when you click a tab. Thanks

Web Development javascript web-design
Member Avatar for Airshow
0
132
Member Avatar for dschuett

Alright, so I have been working on building a photographer a website. She requested that she would like a page that would allow users to log in and view their proofs and only allow THEM access to their own pictures. I have successfully created a log in page using sessions …

Member Avatar for richieking
0
619
Member Avatar for RossCode

Is there a way you can detect if an incoming referrer is from a url using https? I know you can detect http but it doesn't seem to show anything for https.

Web Development php
Member Avatar for RossCode
0
170
Member Avatar for nathmaniedeo

Hi friends, It’s hard to find a clear answer elsewhere- Is JavaScript needed for the client-side in asp.net websites or will C# work totally fine (even without the .net framework installed on the clients machine) ?? Is it better to still use some JavaScript in there? (I'm a newbie, just …

Member Avatar for nathmaniedeo
0
134
Member Avatar for shancq50

Hi friends I am working on a project where I need to show results based upon user queries.I have created the pages,but results are not showing.as I am new to php I can't figure where the problem is. Here is the code [code=php]<html> <head><title>Showing Results</title></head> <body bgcolor="#666666"> <?php include_once "connection.php"; …

Web Development display mysql php
Member Avatar for hielo
0
120
Member Avatar for Mike_H

I am trying to show two hidden <div> (lines 54 & 55) depending on the value of a session variable. I know the "if" statement is working because the alert tests I have do show when the code is run. The "Viewing all whose payment has NOT been confirmed." should …

Web Development php session xml
Member Avatar for Mike_H
0
34K
Member Avatar for nikita.chandra

Hi.... i am creating a website and on home page i want to rotate different images randomly,by the code given below i am able to rotate image at one place but i want to rotate image at more than one different places with different images. like this [1] [1] [1] …

Web Development javascript
Member Avatar for Taywin
0
229
Member Avatar for ivan3510

Hi! Sorry for my bad english! How to make one php file that will make a picture with some text, numbers...? How to make it if user doesn't have font that is used in this picture? How to make it with different, that one letter be largest that the second …

Web Development image php
Member Avatar for ivan3510
0
112
Member Avatar for MDGM

Is there a way to, when the url changes, intercept it and take the user to a different page? For example, if the user types in "facebook:" and then some other random words, like "facebook: eating my dinner" it takes the user to the facebook share page instead of just …

Web Development javascript
Member Avatar for MDGM
0
100
Member Avatar for vinayak.v

Good morning everybody... the following code works well in .aspx page that is in web application.. now the same thing i want to do in windows form application.. can anybody help me.. The code is for without saving the pdf file take a print.. it works well in .aspx page …

Web Development asp.net pdf
Member Avatar for kvprajapati
0
180
Member Avatar for amulet_john

How do I retrieve Image in MYSQL using PHP? I am currently creating an online shopping cart. In my database(test) I have a table images where all image are stored. Now my problem is that, when the moment I retrieve them, all the features in my database will displayed in …

Web Development php
Member Avatar for hielo
0
125
Member Avatar for MrBlack

Hii i want to learn how to use visual studio toolbox and its inbuilt methods and attributes use to access them with C#. Can anybody give me a link to download an ebook,Plz help

Web Development asp.net visual-studio
Member Avatar for kvprajapati
0
66
Member Avatar for Lazarevski

I need to build a program which will upload a .txt file to the server, will read it using StreamReader and the populate an existing SQL table with the concent. The first Page (profiles) does exactly that and works perfectly.. It has a text delimiter and splits the text into …

Member Avatar for kvprajapati
0
128
Member Avatar for david_r

I'm sure this is something stupid but I cannot figure out why I am getting a syntax error with this. Thank you for taking the time to look at my code This is the code that builds the query. [CODE]$numElements = count($new_array_without_nulls); $i=1; // Don't add comma to last element …

Web Development php
Member Avatar for david_r
0
170
Member Avatar for ranu jain

i want to know about relay settig . i need it in QK SMTP server.

Web Development asp.net
Member Avatar for MichaelWClark
0
72
Member Avatar for jbisono

Hi all. originally i have this problem [URL="http://www.daniweb.com/forums/thread283467.html"]http://www.daniweb.com/forums/thread283467.html[/URL] everything works good in IE but in firefox if i try to change the dropdownlist attach to the node in the treeview it seems like at the moment i click the dropdownlist a postback is trigger and dropdownlist go back to the …

Web Development asp.net
Member Avatar for jbisono
0
196
Member Avatar for julianmoors

Hi, I wish to select an <a>'s alt property and use it to create a message to display help to the user. This is what I've got so far: [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="content-language" …

Web Development javascript xml
Member Avatar for Airshow
0
115
Member Avatar for akvlko

Hi Friends ! I Need a Paging Script such as Gmail for my College Project Which is a CMS based on Windows Sky Drive with Email Facility....! Thanks in Advanced!

Web Development cms mysql php
Member Avatar for Stefano Mtangoo
0
116
Member Avatar for genosy

hi, Am having a problem Inserting into SQL 2008 database using stored procedure from a php webpage. My Stored Procedure is: [code=text] Create PROCEDURE [dbo].[udp_AddContact_Insert] @Contact_ID int, @Client_ID int, @STD varchar(10), @Tel varchar(20), @Mobile varchar(20), @EmailAddress varchar(100), @FirstName varchar(20), @LastName varchar(20), @Title_ID int, @Position_ID int, @User_ID int, @SourceURL varchar(1000), @PositionText …

Web Development mssql php sql
Member Avatar for genosy
0
212
Member Avatar for Towlie

I have two pages. In one page I am changing the value of a variable called t, in the other I am outputting it. The problem I'm having is in changing its value. Any help will be greatly appreciated. [code=html] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" …

Web Development html-css javascript
Member Avatar for Thirusha
0
167
Member Avatar for dv123

[code]<%@ page import="java.sql.*"%> <html> <body bgcolor="pink"> <% String user=request.getParameter("us"); String pass=request.getParameter("pa"); String a=request.getParameter("na"); String a1=request.getParameter("no"); String a2=request.getParameter("el"); Connection con=null; Statement stmt=null; ResultSet rs=null; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection("Jdbc:Odbc:Data405"); stmt=con.createStatement( ); stmt.executeUpdate("Insert Into stud(username,password,nam,nos,elg) Values('"+user+"','"+pass+"','"+a+"','"+a1+"','"+a2+"')"); out.println("File inserted"); } catch(Exception e) { out.println("error"); } con.close(); %> <a href="http://localhost:8080/maya/login1.jsp">go back</a> </body> </html>[/code] I can …

Web Development java-jsp
Member Avatar for masijade
0
191
Member Avatar for david_r

I am having an issue with populating values from a form into a mySql database. When the code attempts to send the insert query to the database, it returns the error, ERROR: Incorrect decimal value for column 'purchase_price' at row 1 I think I can understand what is happening here. …

Web Development mysql php
Member Avatar for david_r
0
200
Member Avatar for Smudly

Hi, I am having some major issues. My site provides sheet music available for downloading for free. When a user clicks on a sheet to download, a new window opens up. This user views our sponsor's website for 30 seconds. Once the time is up, they can download the free …

Web Development html-css pdf php xml
Member Avatar for Smudly
0
176
Member Avatar for rakibtg

how to make a php link which will open in new tab what should be the php code to open a link in new tab. how i can make a link in php which will open in new tab?

Web Development php
Member Avatar for Caeon
0
146
Member Avatar for saideepthi.bits

hi, i have a page which shows user details(div1) by default there will be an admin who enters username and pwd and then a new div(div-layer) is displayed. also ,a user can edit his data by pressing edit button on which he will be displayed div2 and div1 will be …

Web Development display php
Member Avatar for saideepthi.bits
0
242
Member Avatar for rashmijain

pls help me where to write java script programs and how to run them

Web Development javascript
Member Avatar for shalenra1987
0
30
Member Avatar for curious_me

Can Somebody help me with my PHP project. what I want is to make a database query's result to be randomly distributed to an html table. and then save the whole table in a database just like this. Query Result Query Result Query Result to Data Data Query Result Data …

Web Development php
Member Avatar for Caeon
0
75

The End.