52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for schalkl

Hi Guys The following question is related to the following url: [URL="http://www.sheltonwebdevelopment.com/blog/2010/03/01/calculating-totals-with-jquery/"]http://www.sheltonwebdevelopment.com/blog/2010/03/01/calculating-totals-with-jquery/[/URL] I have just a small question now regarding the dropdown. I am sure its related to an 'id'. Here is my script: [CODE] 1. <td><?php echo "<select name=\"field1\" class=\"qty\" onchange=\"calcTotal();\">"; ?> 2. <?php 3. for($i=0;$i<=50;$i++){ 4. echo '<option …

Web Development javascript javascript-jquery php
Member Avatar for Airshow
0
141
Member Avatar for Sorcher

Hello! I am trying to make this work. [CODE]//make user folder $userid = $_SESSION['loginid']; $userdir = "./u/".$userid."/"; if (!is_dir($userdir)) { mkdir($userdir,0777); copy("/home/users/web/b681/ipg.xxxx/shack/u/index.php","/home/users/web/b681/ipg.xxxx/shack/u/".$userid."/index.php"); echo "Your directory was created. This is where all your files will be stored.<br>"; } else echo "";[/CODE] This part of the code is Ok but it does …

Web Development php
Member Avatar for lordspace
0
2K
Member Avatar for ben.marks

Hi there, I am having a Javascript problem and any help would be apprecated. I am trying to test the input for if length = 1 then add on a 0 as this would mean if the user wanted £1.20 if would come out as £1.20 and not £1.2 as …

Web Development javascript mysql php
Member Avatar for Airshow
0
288
Member Avatar for atzaman

Hi all. I currently have an issue where a javascript drop-down menu I have is displaying below the javascript slide show I have on the same page. I know this issue has something to do with the slideshow part having position:relative but how do I fix it? Works fine on …

Member Avatar for atzaman
0
229
Member Avatar for barriegrant1

hey, im currently creating an e-commerce store, im quite new to ASP.NET and C#. im trying to create a menu that is generated based on the database tables. i have created a stored procedure, which works correctly: [CODE] ALTER PROCEDURE dbo.getProductsForCat AS SELECT * FROM products_cat WHERE product_cat_id IN ( …

Web Development api asp.net
Member Avatar for barriegrant1
0
295
Member Avatar for ryathegr8

hi i have coded for forget password module but getting an error that is attached with... dont know why its hapen....here is code [CODE]string strCon = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; SqlConnection objcon = new SqlConnection(strCon); objcon.Open(); string str1 = "'"+txt_EmpFP_Uname.Text+"'"; string str2 = "'" + txt_EmpFP_OldPass.Text + "'"; String query = "Select * …

Web Development asp.net dataset
Member Avatar for ryathegr8
0
312
Member Avatar for samsambm

Hello . I'm not sure what is wrong in my code. I'm trying to expand table row to see more details from mysql query . The idea is to click 'show / hide ' link and on that onclick event the row below need to be expanded.Here is my code …

Web Development javascript php
Member Avatar for samsambm
0
770
Member Avatar for mith_cool

I have created a jsp page with some credentials of the user and this time i dont want it to pass to the validation form servlet through doGet() but through doPost(). I am facing some problem while doing this validation of none of the field could be left blank. [CODE] …

Web Development java-jsp
Member Avatar for mith_cool
0
511
Member Avatar for LiQuid.Ace

So basically what im trying to do is pass a variable from a JS function to PHP variable. Currently the onClick code is: [code] <?php include('onload.php'); ?> <body> <br /><br /><br /><br /> <center><font color="black" size=20><a style="text-decoration:none" href="#" onClick="showpopupshare()"> [/code] ShowpopupShare(): [code] function showpopupshare() { document.getElementById('mmpopup').style.display='block'; document.getElementById('mmpopup1').style.display='block'; window.setTimeout("StartTheTimer()",30000); } [/code] …

Web Development php
Member Avatar for blocblue
0
147
Member Avatar for brothaofdes

Hello all: I have a small script that will present options to a user, and from those options will export data into an Excel spreadsheet. This seems to work correctly, but the problem is that the user interface page does not get updated after the download. Here is an example: …

Web Development file-stream php user-interface xml
Member Avatar for jkon
0
884
Member Avatar for kirtan_thakkar

I have created my personal login system. I am kinda newbee here. When user log in it creates cookie as 'user'. I've seen some sites to which creates password cookies too. So i need to verify both the cookies in mysql database every time with the every page loads? And …

Web Development mysql php
Member Avatar for jkon
0
105
Member Avatar for waveydaveywaves

I've been trying to get this code to work for hours can anyone spot the mistake i made? its a code to edit the contents of a database field calling it by its primary key. my error code is Parse error: syntax error, unexpected T_VARIABLE in E:\xampp\htdocs\php\databaseview\records.php on line 103 …

Web Development mysql php
Member Avatar for pritaeas
0
348
Member Avatar for anita_86

Hi! I am getting message #1052 - Column 'userlevel' in where clause is ambiguous while running following query: [CODE]<?PHP $query=mysql_query("SELECT mssgs.start_date, mssgs.task, mssgs.status, mssgs.timestamp, mssgs.due_on, mssgs.id, users.fname FROM mssgs INNER JOIN users ON mssgs.uid=users.uid AND mssgs.userlevel=users.userlevel WHERE status=0 AND userlevel=1 OR userlevel=3"); if(mysql_num_rows($query) > 0) { while($row=mysql_fetch_array($query)) { if($row!=0) { …

Web Development php
Member Avatar for pritaeas
0
111
Member Avatar for Deepak Agarwal

Hi, I am working on a java servlet (abc.java) in Web Application Project in Eclipse. The code works fine and the server is running on [url]http://localhost:8080/[/url] . But when I connect to this localhost server from other C# application using [url]http://localhost:8080/abc[/url] It says "Error 404 and no file found : …

Web Development java-jsp web-server
Member Avatar for masijade
0
114
Member Avatar for chandaboy

Hi, guys I made a web application and run in local host in Mac, but the problem is that when I copy that folder and paste in my system (xp) then it is not working, I don't know what is the problem ....??? can any buddy know this problem then …

Web Development php
Member Avatar for chandaboy
0
86
Member Avatar for nidhinpjustine
Member Avatar for kvprajapati
0
53
Member Avatar for ben.marks

Hello, I am trying to get the MySQL id field to auto update itself when an item is deleted. However the below doesnt work. When a user searches by name, then I need to grab the id of that name before I delete it and minus 1. [CODE]$name = $_POST['name']; …

Web Development mysql php
Member Avatar for waveydaveywaves
0
163
Member Avatar for shg234

The below code works well in my localhost, but gives an error whenever I upload it to my hosting server! :?: Somebody please suggest me what to do ??? [B]Here is the code:[/B] [CODE]<?php error_reporting(E_ALL); ini_set('display_errors',1); require('Connections/cn.php'); if(isset($_POST['modify_m']) && $_POST['modify_m']=="Update") { //Update image $file_name= $_FILES["file_m"]["name"]; $file_type= $_FILES["file_m"]["type"]; $file_size= $_FILES["file_m"]["size"]; $file_temp= …

Web Development file-stream php
Member Avatar for blocblue
0
149
Member Avatar for Joe34

For example here is some code..... [CODE] preg_match_all("/<a(?:[^>]*)href=\"([^\"]*)\"(?:[^>]*)>(?:[^<]*)<\/a>/is", $stripped_file, $matches);[/CODE] What I don't get is all of those special characters? (?:[^>]*) How can I do this with the h1 tag, h2 tag, and h3 tag?

Web Development html-css php regex
Member Avatar for blocblue
0
478
Member Avatar for rapaneda01

Hello, i m looking for the database connectivity in asp.net with sql server 2005 or ms access 2007? please anybody solve my query. thanks in advance, looking for your response.

Web Development asp asp.net
Member Avatar for omar isaid
0
164
Member Avatar for Imratzio

I have already completed a form registry and works!!. Well nearly I have an error which displays this [CODE]Warning: extract() expects parameter 1 to be array, null given [/CODE] Heres the code [CODE]<?php /* Program: Login.php * Desc: Login program for the Members Only section of * the pet store. …

Web Development php
Member Avatar for Imratzio
0
133
Member Avatar for phplover

Hi, I have the code below for a login script. I not finished it yet and i moved from Dreamweaver to Netbeans a while ago and all my code has lost it's indentation and formatting. I am missing some curly bracelets i am sure of it but cannot find where …

Web Development php session
Member Avatar for phplover
0
198
Member Avatar for tcollins412

i am trying to register 2 sessions. one is supposed to get the id of the user logging in, the other is supposed to get the persons username. here is the login page: [CODE]<?php session_start(); include "dbconnect.php"; $myusername=$_POST['user']; $mypassword=$_POST['pass']; $myusername = stripslashes($myusername); $mypassword = stripslashes($mypassword); $myusername = mysql_real_escape_string($myusername); $mypassword = …

Web Development mysql php session
Member Avatar for kohyar bolvary
0
145
Member Avatar for ApocDen

This is a very simple bbcode example to use on a forum or your pages. Add this to a function page and make sure the function is required on the page you want to on. ENJOY!! :D

Web Development php
Member Avatar for phplover
0
391
Member Avatar for LiQuid.Ace

Here is the query: [code]mysql_query("UPDATE il_pageparameters SET totalvisitor_to_refer=$totalvisitor_to_refer, referer_page_url='$referer_page_url', message='$message', rewardmessage='$rewardmessage', background_image='$bg', poweredby='$rg', istoshowrm=$istoshowrm, msg1='$msg1' WHERE id=$configid;");[/code] I have tried echo'ing the output: [code] echo "UPDATE il_pageparameters SET totalvisitor_to_refer=$totalvisitor_to_refer, referer_page_url='$referer_page_url', message='$message', rewardmessage='$rewardmessage', background_image='$bg', poweredby='$rg', istoshowrm=$istoshowrm, msg1='$msg1' WHERE id=$configid;"; [/code] Run the echo'd output manually in phpmyadmin and it works fine. …

Web Development mysql php
Member Avatar for phplover
0
145
Member Avatar for ana10192000

Hi, I currently created a video uploader, but when the video is too big in size, the page seems to be not doing any until the video is completely uploaded. I want to put somewhat like "loading.. please wait" script until the video is not completely uploaded. Thanks. //Ana

Web Development javascript php video
Member Avatar for ana10192000
0
108
Member Avatar for soomro_moon

hi can u plz tell me that how to Enable and disable of text box through a button in php???? plzzzzzz give me any little example or syntax!!!!!!!!!!!!!

Web Development php
Member Avatar for vinayakgarg
0
96
Member Avatar for phplover

Hi, I have a sign up form that generates a activation key and emails it to user and they cannot login until account has been activated etc. I know how to do the MySQL query to check if activation key already exists and have a function that generates a random …

Web Development php
Member Avatar for phplover
0
157
Member Avatar for spacific

Why do I get the extra "3" in this replacement? $s='This is 3a and 3b'; $pattern='/3([a-z])/'; $replace='[$0]'; preg_replace($pattern, $replace, $s) gives 'This is [3a] and [3b]' I thought $0 refers only to the match in the parenthesis. Same with $replace='[\0]'; I want: 'This is [a] and [b]' Thanks for any …

Web Development php
Member Avatar for spacific
0
89
Member Avatar for weekendrockstar

Hello! I've created a script that allows you to create a 'page' by saving the relevant information to a MySQL database. One script will generate all of the pages that are created by the id # that is passed to said script. Of course. When saving the page's information MySQL …

Web Development php
Member Avatar for weekendrockstar
0
190
Member Avatar for rumahsolusi

hi, i am newbie. i have question how make search engine will crawl/spider [url]www.host.com/file.php[/url] for [url]www.host.com[/url] Thank You

Web Development php
Member Avatar for vikrantholidays
0
340
Member Avatar for sasi_88

if i want two submit buttons ok1 and ok2 if the user click ok1 control goes with 1.jsp or click ok2 control goes with 2.jsp but ok2 is not working. is there any mistake two submit buttons then what are methods to resolve my code is here [code=html]<html> <head> <meta …

Web Development java-jsp
Member Avatar for rakhi4110
0
194
Member Avatar for skald89

I want to add a + - for collapse and expand all. I would prefer to have them change accordingly but it isnt necessary. this is my javascript var toggleMenu = { init : function(sContainerClass, sHiddenClass) { if (!document.getElementById || !document.createTextNode) {return;} // Check for DOM support var arrMenus = …

Web Development javascript
Member Avatar for codewall
0
247
Member Avatar for speer25

Ok so before I posted this I have been working on this code off and on for 2 weeks. Its probably so simple for someone. If any one could get me out of my rut I would so appreciate it! Basically I'm trying to get a select box to display …

Web Development javascript
Member Avatar for speer25
0
96
Member Avatar for Ribamar23

Hi folks I'm trying a auction script that can be accessed in this link: [url]http://www.argoestores.com/V607/index.php[/url] it works well on this hosting plan when i try to use the same script in windows 7 using wamp the page renders like this: [URL=http://img232.imageshack.us/i/imgah.png/][IMG]http://img232.imageshack.us/img232/8066/imgah.png[/IMG][/URL] the script needs a folder to be chmoded to …

Web Development php
Member Avatar for Ribamar23
0
153
Member Avatar for ben.marks

Hi there, I am looking for some help on PHP/MySQL please :) I have a site where you add an item via a form which is then put into a mysql data base. I was wondering if there was anyway so that on this inital form there could be a …

Web Development mysql php
Member Avatar for ben.marks
0
97
Member Avatar for Marty1963

I have another modification to make to my Random Image Script and I'm hoping someone can help me with the punctuation. I need to add an [usemap="#Map"] to the code on line #7 below: [CODE]<?php //This will get an array of all the gif, jpg and png images in a …

Web Development image php
Member Avatar for Marty1963
0
124
Member Avatar for newbie14

Dear All, Attached is one sample image. I would like to make it dynamic with different tyre configuration. The next thing I want is the ability to drag (each of the different tyres) to say few different functionalities which will be represented as icons. Thank you. Any idea.

Web Development php
Member Avatar for diafol
0
88
Member Avatar for speer25

Working on this off and on for two weeks! Probably super simple with someone with more experience. I simple have a food search engine. You enter in lets say "blue cheese" it pulls all things with blue cheese from my DB. I click on one of the blue cheese links …

Web Development php
Member Avatar for speer25
0
108
Member Avatar for varia

Hi, I need your help... I need to get the value selected by a user from the HTML page and pass this value into my servlet program for processing. So I did something like this: Part of my jsp code: [CODE] <select name="tool" id="tool"> <option value=kim>KIM</option> <option value=ontomat>Ontomat Annotizer</option> <option …

Web Development java-jsp
Member Avatar for rakhi4110
0
92
Member Avatar for stevenfagan

I'm using ASP to dynamically generate an XML file (for an RSS feed) that pulls information from a SQL DB. Users input the data into the DB using a UI that is a straightforward html form. However, there is a textarea field in that form in which most users seem …

Web Development asp microsoft office-suite xml
Member Avatar for ArtistScope
0
235
Member Avatar for cristi08

Hellow everybodi... I succed to finish my first web site on local machine and i bought a host services and a domain name. After uploading files and mysql database I have only a huge blank page on index ....something it not wright.... Please help ....

Web Development php
Member Avatar for cristi08
0
246
Member Avatar for kumarsamy

Hi Thanks for the replies for my previous question. I m beginner to coldfusion and I will explain my whole problem in detail now. My client had developed an application in coldfusion and we are using that. Actually there is no login system for that application.The user can enter into …

Web Development coldfusion
0
97
Member Avatar for Siege

Hi, I want to make a page that has a code that can make my image change into another image. Lets say I arrive at work one morning. I go to my "website" click on a red image, and in turns green. Now I want it to stay green all …

Web Development php
Member Avatar for dietdew12z
0
199
Member Avatar for bello.ojo

Hello all, I am just learning AJAX because I find it interesting but my first example does not work the way I planned it. Here is the code: This is my HTML file named ajax.html <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <meta name="author" content="" /> <title>Untitled 3</title> <script type="text/javascript" …

Web Development javascript
Member Avatar for SolidSolutions
0
119
Member Avatar for enbeeone3

anyone please can you suggest me a good script (free or Commercial) for a file search engine like, filestube.com ??

Web Development
Member Avatar for The5sisters
0
205
Member Avatar for charlie123

ok guys , because I’m really confused -- which is better in order to have a good website I need it secured , nut I want it fast also with a very good looking actually could u help me with which one to choose plz ? Thanks [URL="http://www.infysolutions.com"]http://www.infysolutions.com[/URL] [URL="http://www.infysolutions.com"] Outsourcing …

Web Development asp php
Member Avatar for kwesiaryee
0
248
Member Avatar for network18

Hi to all experts in the forum. I know scripts can be executed through the command prompt,but what are other ways to execute it, if the file is on remote server. Please specify if any clarification is needed.

Web Development client-server php
Member Avatar for jan.cajthaml
0
3K
Member Avatar for captain.don

I have an html form which has 2 fields realuser and useremail it then submits on the php page .i have a database table named auth .my database has 3 fields i.e realuser,useremail and details ,in which i have filled "details" field already and rest 2 fields are blank.i have …

Web Development mysql php
Member Avatar for lyrico
0
110
Member Avatar for johnt68

Hello :) I have got to the stage where I get the user to make a choice from one radio button list, press submit and then they are taken to another page with a hyperlink that then takes them to their choice. The problem that I have now is that …

Web Development asp.net
0
72

The End.