52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ElegantElephant

I have a small problem with a MYSQL select query involving an INNER JOIN. Both tables that I'm joining have a field that have identical names. So when I use[CODE] $array = mysqli_fetch_array($result,1); $field = array['fieldname'];[/CODE] it returns the wrong value from the wrong table. Is there any way around …

Web Development php
Member Avatar for JRM
0
99
Member Avatar for ElegantElephant

I have a select menu with many text-based options. However when I submit the form, instead of actually returning the textual item in the POST variable is it possible to set it to return the ID of the selected item? For example I have the following form: [CODE]<select name="dev_stage" id="dev_stage"> …

Web Development first-post php seo
Member Avatar for ElegantElephant
0
99
Member Avatar for scru

Hey. I'm looking for a solution that will create, fill and display a container in javascript directly beneath a specific element (no whitespace, margins w.e)

Web Development javascript
Member Avatar for abanksob1
0
260
Member Avatar for ErlendHL

I have read about AJAX for a while now, and tryed to use GET and POST, but with not so good results. Code in index.html: [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Sending data to the maaan and back!</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript"> //var val = …

Web Development javascript xml
Member Avatar for ErlendHL
0
116
Member Avatar for Pari13

Hello all.. thanks for my last forum..for better solution with fast reply.. I have getting problem with display link button on page aspx.cs .. I have requirement as below..... i am trying to display file name with remove link after attached file.I have done code on aspx.cs as below and …

Web Development asp.net display
Member Avatar for kvprajapati
0
95
Member Avatar for restyle

I'm making a photo album with my own CMS, part of it is adding photoalbums to it, but i'm having some trouble linking the "click on album name" to the loading of the correct photo album. my 2 tables are gallery_categories, primary key: id and gallery_assests, primary key: cat_id What …

Web Development mysql php seo
Member Avatar for restyle
0
152
Member Avatar for ryan311

hi all :), i always have a problem in giving a message to the one who register a confirmation or activation link to be enable to use his account. here's my code register.php [CODE]<form name="form1" method="post" action="adduser.php"> <table width="121%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="27%" class="style4"><div align="right" class="style1">Username:</div></td> <td width="4%" …

Web Development php
Member Avatar for diafol
0
175
Member Avatar for ElegantElephant

I have a date in the format of YYYY-MM-DD as a string (including the hyphens) How do I split this string just to obtain YYYY, MM and DD separately? Possible use of an array or something? Would really appreciate some help :) Edit: Nevermind, just discovered the explode() function :P

Web Development php
Member Avatar for csmgsarma
0
107
Member Avatar for dylank

Hey guys at DaniWeb! I have spent a lot of time debugging this PHP/AJAX page, and it finally (sort of) works. Index.php can read and write to processLogin.php so I have a page that can log you in without refreshing the page. However, I cant figure out how to set …

Web Development javascript php session
Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for ulrik04

hi I'm making a full AJAX site with prototype, and I want that every time a hyperlink is activated, the event is canceled and a AJAX script loads the page instead. This is the code I'm using: [code=javascript]Event.observe(window, 'load', function(){ Event.observe($$('a'), 'click', function(e){ Event.stop(e); window.location.hash = $(Event.element(e)).readAttribute('href'); new Ajax.Updater('main', $(Event.element(e)).readAttribute('href'), …

Web Development javascript
Member Avatar for pcmaniac
0
107
Member Avatar for zalFG

help needed.... i have 16 values in one row of a table, but i only wanted to retrieve 14 value from that row(FieldValue) the last two values was u-needed. sorry for my bad english... and thank in advance.. [CODE] <?php $con=mysql_connect("localhost","root",""); if(!$con) { die('Could not connect:'.mysql_error()); } mysql_select_db("kiperak",$con); $result = …

Web Development php
Member Avatar for zalFG
0
78
Member Avatar for Kitten84

I'm still new at this.. but I'm trying to create a blog on my website and I'm using blogengine.net. Everything works fine on my local machine but when I upload it to my website I get this error: Configuration Error Description: An error occurred during the processing of a configuration …

Web Development asp.net
Member Avatar for apegram
0
156
Member Avatar for kanuri1

Hallo everyone.. can anyone assist me on how to disable previous date on the asp.net calender. i create this application using microsoft visual web developer 2005 express edition.. the calender i expected is will automatically disabled the previous date. eg. today is 23/3/2010. the calender will disable the all the …

Web Development asp.net
Member Avatar for apegram
0
132
Member Avatar for sivaconfident

How to update a new image into database by replacing the existing one

Web Development image php
Member Avatar for avinashzala
0
87
Member Avatar for whiteyoh

Hi All, Can anybody see why this code wouldnt update the database? Cheers Paul [code] $me = $_SESSION['user_id']; $user_title = $_POST['user_title']; $user_fname = $_POST['user_fname']; $user_lname = $_POST['user_lname']; $user_add1 = $_POST['user_add1']; $user_add2 = $_POST['user_add2']; $user_city_state = $_POST['user_city_state']; $user_post_zip = $_POST['user_post_zip']; $user_email = $_POST['user_email']; $user_password = $_POST['user_password']; // Connect to server and …

Web Development mysql php
Member Avatar for shashankshah
0
105
Member Avatar for network18

Hi, I am customizing jquery scrollshow, it can be found originally [URL="http://flesler.blogspot.com/search/label/jQuery.ScrollShow"]here[/URL] As you can see in the original script there are only images which scroll, now I have the description to show below each image which should also scroll as the images scroll. This description will include - 1. …

Member Avatar for network18
0
148
Member Avatar for marcmm

I've got a simple question: how can I make an onclick return confirm event work inside PHP tags. [code] <HTML> <BODY> <a href="delete.php" OnClick="return confirm('blah blah');"> Click here </a> <?PHP ECHO "<a href='delete.php' OnClick='return confirm('blah blah');'> Click here </a>"; ?> </BODY> </HTML> [/code] the first link is a simple html …

Web Development php
Member Avatar for akmotta
0
14K
Member Avatar for peck3277

Hi guys I'm having sometrouble here! Please help if you can! I'm storing in a mysql database the price of some products. I am storing them in cents ie. €5.99 = 599. I have the following code that will output just that: [CODE]<?php $x='599'; $num = $x; $last_num = strlen($num) …

Web Development php
Member Avatar for darkagn
0
124
Member Avatar for darktangent

I am implementing a popup with javascript which fire when the page is closed . I am using the unload() page handler. The problem is that the popup does not stays ... it popups for a while but then the new page loads. I want it to stay there until …

Web Development javascript
Member Avatar for almostbob
0
394
Member Avatar for tryphy

Hi every1, I am new to php... From the image that i have attached you can see what i basically need... In view users.php v can see who r all the users.. and clicking on that particular user,.it has to display that particular users details. eg: when we click user1 …

Web Development display php
Member Avatar for fobos
0
2K
Member Avatar for Kitten84

I have this website with a login and a password recovery link. When I click the "forgot my password" link it takes me to a page which asks for username and security question answer. When I fill it out and hit submit. I am taken to a page that tells …

Web Development asp asp.net c#
Member Avatar for Kitten84
0
241
Member Avatar for ushur

Lemme just start by saying i know nothing about js or pretty much anything else. I've been playing this online browser based game and it's cool and all but it has this tiny chat window. Is it possible to make the thing bigger? Before i start to learn how to …

Web Development javascript
Member Avatar for samaru
0
98
Member Avatar for whiteyoh

Hi all, Can anybody advise on how i can best use php and mysql to give a database record an "age" in days? Im recording record creation via timestamp at the minute Cheers Paul

Web Development php
Member Avatar for vharuna
0
100
Member Avatar for jmercola

I am trying to use PHP in an HTML page to change Login to Logout and reference my login page. Instead of printing 'Login' and 'Logout' I get the following: Logout" ; } else { echo" Login" ; } ?> The IF function seems to get confused and starts echoing …

Web Development display php
Member Avatar for vaultdweller123
0
140
Member Avatar for blueguy777

I'm working on MLM script i.e. Auto filling nodes, how to display empty tree node images and replace them with filled images by fetching matching record using PHP Mysql. Please refer to the following screen shot. [url=http://www.freeimagehosting.net/][img]http://www.freeimagehosting.net/uploads/bb2140a87c.jpg[/img][/url] thanks in advance

Web Development image php
Member Avatar for blueguy777
0
160
Member Avatar for rajeesh_rsn

Hai, I need to refresh a page "ONLY ONCE" if a visitor visit. I want to do this because if a visitor hit back button in their browser then i need to display fresh content not from the browser cache.. Please help Thanks Rajeesh

Web Development javascript
Member Avatar for Graphix
0
99
Member Avatar for Harpreet Sohal

Hi, plz help me........ i have three php pages First is 'Outward.php', second is OutwardData.php and Third is OutwardGrid View.php.I want multiple checkbox records from 'Outwardgridview.php' to 'Outward.php' gridtable. But my problem is only first record is display in outward.php gridtable.But display all checkbox no. my code is ---------------------------1.Outward.php-------------------------------------- [code] …

Web Development html-css php
Member Avatar for whiteyoh
0
173
Member Avatar for mastia22

[CODE]http://localhost/kplfantasyfootball/example.php?id=7&posid=3[/CODE] Hi, could someone please explain to me how I can read the two parameters carried in the URL. Thanx.

Web Development php
Member Avatar for mastia22
0
159
Member Avatar for syarmil

Good day everyone..... I'm one of the new student in the web development.I have a problem here.I want to develop a website by using a Macromedia Dreamweaver 8.But, I don't know how to connect the registration form that have in the dreamweaver to the database.I am using EasyPHP software for …

Web Development php
Member Avatar for Stefano Mtangoo
0
422
Member Avatar for sarvanhsr

[code] SqlConnection myConn = new SqlConnection(); myConn.ConnectionString = "Data Source=192.168.15.252;Initial Catalog=TestDB;User ID=sa;Password=Pdindia123;"; myConn.Open(); string strqry = "UPDATE Registration SET Password = ' " + Text2.Text + " ',PhoneNo = ' " + Text3.Text + " ', Email = '" + Text4.Text + "' WHERE (UserName = ' " + Text1.Text …

Web Development asp.net open-source
Member Avatar for kvprajapati
0
89
Member Avatar for architact

Hello, Please help me in understanding the mystery behind rss feed, how to create it?, is it an automatic process? or it requires some admin type thing? Please help me, I want to know how to create a rss for a website. Thanks.

Web Development php
Member Avatar for Stefano Mtangoo
0
229
Member Avatar for shatabdi

how can i get free source code for creating a forum and blog

Web Development php
Member Avatar for Stefano Mtangoo
0
62
Member Avatar for MDGM

Hi all, I need a php script that gets the IP address of a user entered website, something like this: $site = 'www.google.com'; $ip = ping($site); obviously replacing ping with a command that actually exists! Thanks in advance. MAX

Web Development client-server lan-wan php
Member Avatar for MDGM
0
195
Member Avatar for Pro2000

Peace, Can you help me with Show And Hide?: I made an Input text I want to hide it, And I want to show it if I click on a button. How can I do it? Thanks.

Web Development javascript
Member Avatar for sumit1893
0
174
Member Avatar for virspy

Hello Friends I written the the code for forgetpassword in this i have to get the mail when i enter the mailid the code is as follows forgetpasswd.php <form name="f1" method="POST" action="retrieve.php" > <table> <tr><td colspan=3>&nbsp;</td></tr> <tr><td colspan=3>&nbsp;</td></tr> <tr> <td><font color="red">*</font>Enter Email-ID</td> <td>:</td> <td><input type="text" name="email" maxlength=50></td> <td></td> <td><input type="submit" …

Web Development email php
Member Avatar for saiprem
0
101
Member Avatar for Tank50

Hi I want to write asp.net page with crystal reports.I pass parameter to reports.Once I press submit button its ask database user name and password.How I stop asking user name and password in every time. Thanks Tank50

Web Development asp asp.net
Member Avatar for kvprajapati
0
97
Member Avatar for MikeBrown

Hi guys i m trying to view a log file as a html file from my server , i m using one script which is [URL="http://www.builderau.com.au/program/php/soa/Transform-plain-text-files-into-Web-pages-automatically-with-this-PHP-script/0,339028448,339272897,00.htm"]here [/URL] , so overall i m not a coder just trying to get it work 1. because log file latest entries are at bottom …

Web Development html-css php web-server
Member Avatar for saiprem
0
132
Member Avatar for K-Mos

Hi, I need to refresh one div in my HTML page and not the entire page, is this possible? Please help

Web Development javascript
Member Avatar for MCDeveloper
0
61
Member Avatar for sunaruna84

Hi friends I have used this script for avoid right click in my webpage. I want to disable " savepage as" in file menu. any javascript have for handle this problem. please let me know ur suggestion. [CODE] <script language="JavaScript"> document.onmousedown=click; function click() { if ((event.button==2)) { alert("Sorry you didnt …

Web Development javascript
Member Avatar for sunaruna84
0
188
Member Avatar for rajeesh_rsn

Hai I made a login system in php and every thing working fine in IE and mozilla. But in Safari and in Opera when I click sign out then it works fine and after that if I press back button in browser then it comes to the previous page (myaccount …

Web Development php session
Member Avatar for cwarn23
0
611
Member Avatar for Charitha31

Here the production system is Linux based and the development system is Windows based, hence the code has the following problem, what should be done to get the code to work on the Windows system. The Linux machine runs php-4.3.2-8.ent and the windows machine runs php 5.2.6. on the Linux …

Web Development php
Member Avatar for cwarn23
0
168
Member Avatar for phpbeginners

I am very new in website developing. Anybody help me how to make this dropdown listing in Internet Explorer Browser the same listing in Firefox. I want the word extended in the size of the dropdown button. see attached images. Thank you.

Web Development php
Member Avatar for phpbeginners
0
94
Member Avatar for cloud09

Say I have a variable number of form fields that can: a) contain only numbers - if the user tries to enter anything but a number the text is deleted b) no two fields can contain the same numbers c) no field can be left empty before the form is …

Web Development javascript
Member Avatar for Will Gresham
0
150
Member Avatar for skorm909

ok so im starting out in html and know the pure basics of javascript... (know a little bit of c++ but that wont help me here i think) well anyway i need to make a website and from what im understanding is that javascript basically does animations (i think) on …

Web Development html-css javascript
Member Avatar for grungy coder
0
119
Member Avatar for harry010

I've got 2 JSPs. JSP1 calls JSP2 to format a table in JSP1 JSP1 calls JSP2 using this code: [CODE] <jsp:include page='<%=(String)request.getAttribute("SB_Format_Path")%>' flush="true" ></jsp:include> [/CODE] The problem is that JSP2 has access to variable XX, at runtime but JSP1 does not have access to it. I'd like to somehow be …

Web Development java-jsp
Member Avatar for harry010
0
293
Member Avatar for whiteyoh

Hi all, I have a 4 column table. Say the count of records in each column is 5, 50, 100, 200. the column with 5 entries, has those entries not appearing at the top of its data area. eg cars houses flights a b c d a e b a …

Web Development mysql php
Member Avatar for JRM
0
63
Member Avatar for pirula

Hi, I would like to search one field in database with multiple words. Also i will allow searches for example : a or cs....(one,two characters). My code: [code] <cfparam name="URL.NAME" default="1" type="Any"> <cfquery name="search" datasource="datasource"> SELECT * FROM search WHERE NAME LIKE ="%#URL.NAME#%" ORDER BY DATE DESC </cfquery> [/code] this …

Web Development coldfusion
Member Avatar for samaru
0
662
Member Avatar for mdwhite76

Greetings All, I'm relatively new to ASP.NET and I'm currently working on a site that has a treeview used to navigate through the site. The problem is the first page on the site (home page) when initally loaded pulls a ID from a URL via QueryString. This works when the …

Web Development asp.net
Member Avatar for jbisono
0
68
Member Avatar for dottomm

Hello and thank you for taking the time to read my question. I am currently moving a static html site into a faux CMS and have a question about which direction is best recommended. I have series of 'News Articles' that I would like to make available through a db. …

Web Development cms mysql php
Member Avatar for dottomm
0
126
Member Avatar for paptamas

Helo. I have a TD element, with a SPAN element inside. I use td-s onmouseover and onmouseout events for a small animation. My problem is, that, when I move the cursor over the SPAN element, the onmouseout event for TD element is fired. I want to prevent this. With other …

Web Development javascript
Member Avatar for Graphix
0
206

The End.