52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kamweshi

I am trying to make a servlet thread-safe by synchronizing a block of code.The counter needs to count how many times a page has been visited.But it starts at 2 and when i refresh the page, it increments by 2(so it goes 2,4,6).I tried to remove the object variable while …

Web Development java-jsp
Member Avatar for Taywin
0
106
Member Avatar for Kniggles

I am trying to get a text box to show a number and then add it to another number,[CODE]<html> <body> Field1: <input type="int" id="field1" value="1" /> <br /> Field2: <input type="int" id="field2" /> <br /><br /> Click the button to add the content of Field1 to Field2. <br /> <button …

Web Development php
Member Avatar for Kniggles
0
186
Member Avatar for mbarandao

Hello All: I'm working on a project that requires me to perform a process of taking user input from a form's textarea and appending it to another text field in the database. This field already has information in it. I want to be able to append the new value separated …

Web Development php
Member Avatar for mbarandao
0
151
Member Avatar for kakaliki

I need to do project about online banking. so i was told i need to learn php n mysql. I dont have access to any tutor coz its a distance program course. I know php.net website. and mysql.com. I am assuming i just need these two sites and a book …

Web Development mysql php
Member Avatar for kakaliki
0
114
Member Avatar for nats01282

Hello, i am trying to create a script that will allow me to visit a page and enter some information and when i click submit it will send that data to anther page, i have managed to do it with a http link, but my question is how to keep …

Web Development php
Member Avatar for nats01282
0
105
Member Avatar for ayooshkasmth

I am trying to do some JavaScript calculation with checkboxes, and have been able to modify some codes to do bits of what i want to do. (Screenshot attached) However, i want each checkbox to have multiple values, and therefore multiple results. I can't find any examples, but i've come …

Web Development javascript
Member Avatar for Airshow
0
3K
Member Avatar for Dartz654

So, i'm making a forum and need to do a few things to the string stored in the variable $body. How would I go about doing this? A) Not strip, but make where all the HTML/PHP/Javascript/CSS/etc. doesn't work. Like, that way people could share code but it wouldn't execute. Someone …

Web Development html-css php
Member Avatar for diafol
0
133
Member Avatar for HaKoNa MaTaTa

Greetings, After A Long Search on the Internet , after i left my Graphic Design Career , I Want to start Scripting With JavaScript So I Need to know the first steps for this world and also want to know a good program for HTML like front-page or dreamwaver or …

Web Development career javascript
Member Avatar for HaKoNa MaTaTa
0
125
Member Avatar for terabyte

Well I got a doubt.. I have been away the whole web development scene for about 1 year and a half and I'm trying to finish some old projects but i don't remember anything. I have this blog I coded myself with basic php knowledge I have the index PHP …

Web Development php
Member Avatar for pritaeas
0
297
Member Avatar for Kniggles

[CODE]<?php // open base $con = mysql_connect("xxxxxxxxxxx", "xxxxxxxxxxx", "xxxxxxxxxxxxxxxxxx"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("xxxxxxxxxxx", $con); // open table $result = mysql_query("SELECT * FROM leader"); // print table & column headders echo "<table border='1'> <tr> <th>id</th> <th>Club</th> <th>Website</th> <th>Club Badge Url</th> </tr>"; // get data …

Web Development display image php
Member Avatar for Kniggles
0
223
Member Avatar for yanoli

Hello, I'm trying to modify an existing php page by adding a submit button, to allow the user to change the unit cost of a product in the inventory. I can get the product informations from the database, but nothing happens when I press the submit button. The fist submit …

Web Development php session
Member Avatar for nonshatter
0
6K
Member Avatar for samsons17

Okay,i try to call a function of mysql_prep() that i made in functions.php. I try to call this function at the page of create_subjects.php by typing this [CODE]<?php require_once("includes/functions.php");[/CODE] into the create_subjects.php. and this is the full code of create_subjects.php : [CODE] <?php require_once("includes/functions.php"); ?> <?php $connection = mysql_connect("localhost","root","mypassword"); if …

Web Development php
Member Avatar for tyutmonster
0
316
Member Avatar for jakizak

I am needing a dropdown menu to pull data from table on a mysql database and then with the selected item, send it to a new table along with the rest of the data from the form. I have got the dropdown pulling data from the database with the following …

Web Development php
Member Avatar for chrishea
0
99
Member Avatar for eorns

Hi all, I have a page on which I've done several successful ExecuteNonQuery calls that added new rows to existing tables. But one, despite all the parameters being correct and receiving a positive return value and also a valid output parameter, seems to have no effect on the database. Several …

Web Development asp.net
Member Avatar for eorns
0
146
Member Avatar for trampman

Hi all Im trying to create a site that is multi language, in order to do this all copy, alt tag text and url links are stored in a db. I then get all the info for that language and put it into a cached dataset. i then loop through …

Web Development asp.net dataset image
Member Avatar for haseeb1431
0
175
Member Avatar for new SE

hi all.. i'm working with slide show extender.. i'm referred to this website [URL="http://www.dotnetspider.com/resources/27734-Ajax-slide-show.aspx"]http://www.dotnetspider.com/resources/27734-Ajax-slide-show.aspx[/URL] on how to make it.. it is completely tell the way to make it but i want to modified it to make it suitable with my requirement.. this is the code [CODE] using System; using System.Data; …

Web Development asp.net image
Member Avatar for haseeb1431
0
184
Member Avatar for TechySafi

If I put this line [ICODE]$friends = $connection->get('followers/ids', array('screen_name' => '2020volt'));[/ICODE] Twitter api returns something like this : [CODE]Array ( [0] => 173605790 [1] => 187372244 [2] => 17535566 [3] => 190756198 [4] => 184577861 [5] => 119247538 [6] => 183813521 [7] => 18013082 [8] => 149601084 [9] => 186491393 …

Web Development api mysql php
Member Avatar for TechySafi
0
137
Member Avatar for human2600

Hello, I want to ask you if you can give me an advice in how to make a secure login and register application in php and mysql. If you can give me a link or an idea I would be very thankful. Thank you!

Web Development mysql php
Member Avatar for madiyasa
0
150
Member Avatar for muralibobby2015

hello.. i want to do a website wich is having search functionality. in this i have to do search flights,hotels etc.., some one suggested me to use kayak api for this. i searched every thing for this. but i didn't get any idea. anyone could suggest me how to use …

Web Development api php
Member Avatar for muralibobby2015
0
240
Member Avatar for feoperro

Hi, I have my project folder in www\project - for some reason, some of the images don't work and some do. All pictures are in the same path (project root) but some display a red cross and some display perfectly fine. As far as I know - theres no way …

Web Development file-system image php
Member Avatar for feoperro
0
167
Member Avatar for gikonyo

please advise on how to go about implementing pop up messages on a web based system. where by a user logs in to the system using the email address and when logged in he/she can be notified on incoming emails. how can i capture incoming emails and implement a pop …

Web Development javascript
Member Avatar for gikonyo
0
66
Member Avatar for djcrab

Don't see what I missed to get this working. I've looked over it a couple times bumping it to my book and didn't notice any difference. Anybody see what I missed? Thanks. Jake [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Personal Organizer</title> </head> <body> <script type="text/javascript"> <! …

Web Development javascript
Member Avatar for Taywin
0
128
Member Avatar for pikkas

i want some help for an onChange event for 2 drop down lists in javascript. if the 2 lists for example contains exactly the same values. let say A B C D, if the user chooses the B then automatically the B value in the second list should dissapear, if …

Web Development javascript
Member Avatar for Taywin
0
124
Member Avatar for alanlee9898

I got problem verify the link from the email...now I can receive the email... but the link pointing is a empty link... [CODE]$item_hash = md5($item_id); //Send the email user... $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'X-Mailer: PHP/' . phpversion(); $subject = …

Web Development email php
Member Avatar for hielo
0
140
Member Avatar for wxflint

Hello i am trying to pull the hosted domains from my sql database i am able to pull them and see them I just cant get the links to Phrase properly the link to the working script is here [URL="http://www.a1khosting.com/test/index2.php"]http://www.a1khosting.com/test/index2.php[/URL] as you can see the links are not correct when …

Web Development mysql php
Member Avatar for monica singh
0
162
Member Avatar for amitbhanot

Hi I have started doing servlets. I am stuck somewhere. I have installed weblogic server and also configured it. I have also installed the J2EE SDK on my machine. But when I compile my servlet program, it says javax.serlvet.http.* and javax.serlvet.* packages are not found. Please help me out how …

Web Development java-jsp
Member Avatar for amitbhanot
0
112
Member Avatar for ryan-t

Hi, i wasn't to be able to transfer variable data on to a script that I've include()'d. I've tried passing it through the URL like "include('function.php?username=$session->username');" but it says that it cannot find that file. So I'm kinda stuck at the moment :)

Web Development php session
Member Avatar for ryan-t
0
119
Member Avatar for fobos

Hello, well i have a problem, i was wondering if there is a way to return a query in a function? This is what i have so far, but i get an error. [CODE] <cffunction name="select_query" access="public" returntype="any"> <cfargument name="as" type="string" required="yes"> <cfargument name="status" type="string" required="yes"> <cfset var sql = …

Web Development coldfusion
Member Avatar for arrgh
0
94
Member Avatar for Capt Spaghetti

I am allowing the user to select a city and state and presenting them with a list of organizations from a MySQL table which is formatted by the code shown below. The user then selects a particular organization by clicking on the ID for their chosen oranization at which point …

Web Development json php
Member Avatar for Capt Spaghetti
0
158
Member Avatar for druggeri1

I am using cake php I have a table called relates that holds the primary id values from the other tables. I used cakephp to generate the crud. it works fine. if you click on the number in the relates table it goes to the appropriate table and displays the …

Web Development display mysql php
Member Avatar for P0lT10n
0
406
Member Avatar for gunderjj

I have read many posts like this and can not get this to work right. The box always remains empty, yet there are rows in the table. Any help would be appreciated. Thanks. [CODE] <?php //Variables for mysql database connection $user='testuser'; $password='testpass'; // connect to MySQL $connection = mysql_connect(localhost, $user, …

Web Development mysql php
Member Avatar for gunderjj
0
74
Member Avatar for scofro

Hi all, I'm looking for some help with a PHP / MySQL scheduling component that our website users will use to schedule our services. I've drawn out 2 calendars that sit side by side using PHP. One for the current month, and one for the following month...to give users the …

Web Development mysql php
0
128
Member Avatar for timbad2021

I am trying to allow a user to download a directory on the server as a zip file. How do I do this?

Web Development coldfusion
Member Avatar for arrgh
0
101
Member Avatar for thenvk

I am working on a simple tool for my office.We have a very huge database with 5000 tables. All the tables, Columns and their attributes are stored in to excel sheet. Tool I am designing is for mapping between front end and back end values. Now I will use an …

Web Development html-css javascript
Member Avatar for Airshow
0
273
Member Avatar for Surreal_one

I've having very much trouble with the last piece of my site. I retrieve my database including checkboxes. From here I want to check/ucheck the boxes and save it back into the database. The problem I run into is when I check some boxes it doesnt take any notice witch …

Web Development mysql php
0
100
Member Avatar for PeterWaij

I want to use two jQuery popups on one page. The problem is that i can't get it to work.[CODE]<div id="popupContact2" class="popupContact"> <a class="popupContactClose">x</a> <h1>Title popup</h1> <p id="contactArea"> sutff goes here </p> </div> <div id="popupContact" class="popupContact"> <a class="popupContactClose">x</a> <h1>Title of our cool popup, yay!</h1> <p id="contactArea"> sutff goes here </p> …

Web Development javascript javascript-jquery
Member Avatar for PeterWaij
0
101
Member Avatar for ivan3510

Hi! Sorry for my bad english! I made an editor. When user passes mouse over the picture, the picture changes color ( Here's code: [CODE] <style> .button:hover{ filter:alpha(opacity=20); opacity=0.2; } .field{ background:#aabbcc; border:1px solid black; } </style> <fieldset class=field> <img src=blablabla.bmp class=button> </fieldset> [/CODE]) I want to make that, when …

Web Development html-css javascript
Member Avatar for hielo
0
119
Member Avatar for dougalmaguire

I have select list which submits the page and the page is then re-rendered with various fields hidden depending on the value of the select list. There is a button at the top of the page which is causing problems if it is pressed before the page is fully rendered. …

Web Development javascript javascript-jquery
Member Avatar for pritaeas
0
207
Member Avatar for HelenLF

Is it possible to make the first letter of every word uppercase unless it is one of a group of words? I have to get some data from a database and present it on a page as a menu. The format would be that all words would start with a …

Web Development php
Member Avatar for quasipickle
0
88
Member Avatar for andrewliu

Hello, I have a variable that I want to pass into my include file but not sure how to do this say i have this in my index.php file [CODE] <?php $new_id = $row['id']; include('main.php') ?> [/CODE] How would my $new_id get passed into my main.php file? I'm trying to …

Web Development php
Member Avatar for hielo
0
312
Member Avatar for kali Annan

Hello, I want to check the username & password of the user with the already stored database and then login. Iam using asp.net(vb) with sql server as database. Please help ME [CODE] Imports System.Data.SqlClient Imports System.Data Partial Class MasterPage Inherits System.Web.UI.MasterPage Dim con As New SqlConnection("server=localhost;database=reg1;integrated security=yes;") Dim ds As …

Web Development asp.net dataset session web-server
Member Avatar for nigelzephyr
0
454
Member Avatar for hassancool

Hi, I want a simple Email form script that I can implement on this form.... [URL="http://intedupk.com/inquiry_form.html"]http://intedupk.com/inquiry_form.html[/URL] If you can share just php code for that it will be ok..... Regards....

Web Development email php
Member Avatar for hassancool
0
91
Member Avatar for saisakthi

I am new to java, I need to save a image file from my system to my web application. How to do that in jsp or java? Need help urgently.....

Web Development image java-jsp
Member Avatar for javaAddict
0
892
Member Avatar for knrakesh

Hello Friends, I am Rakesh, iam facing a problem regarding HTML in PHP page iam pasting the link of error can any one please tell the solution. [URL="http://screencast.com/t/yrFqDdsf"]http://screencast.com/t/yrFqDdsf[/URL] iam unable to understand why its comming so please tell the solution Thanks in Advance

Web Development html-css javascript php
Member Avatar for diafol
0
73
Member Avatar for avinash_545

Dear All, I am currently working on an assignment. I am having one error with this php file but I cannot figure out the problem. Can you please help. Fatal error: Function name must be a string in C:\xampp\htdocs\idareyou\searchUser.php on line 2[code]<?php $fme=$_GET('search_fname'); $lme=$_GET('search_lname'); $con=mysql_connect("localhost","root",""); if(!$con){die("could not connect".mysql_error());} mysql_select_db("idareyou",$con); echo("dbconnect …

Web Development php xml
Member Avatar for avinash_545
0
177
Member Avatar for snehalj

above code not working, y is 2010 and year0 is also 2010, as per my knowledge Equal should be displayed as output, but the condition does not get equal. Pls help me for this.

Web Development asp vbscript
Member Avatar for snehalj
0
553
Member Avatar for edwoodt

hi, i'm entry level webdesigner- following the advice of youtube tutorial "rrphillps" of serverside includes. [url]http://www.youtube.com/user/rrphillips?blend=2&ob=1#p/u/143/9TrsRxFtgSA[/url] really simple stuff; the idea is to put all your hyperlinks in an ".inc" file and link all your webpages to it. but then he explains that your server needs to know to look …

Web Development html-css php
Member Avatar for edwoodt
0
282
Member Avatar for ml.williams

were i work has an access they use to record customer details which has been running forever and just uses a access macro form to enter the data. i am wanting to try viewing and editing this using vb,net which i have a little bit of experience with. can you …

Web Development asp.net vb.net
Member Avatar for achinaseller
0
72
Member Avatar for navi17

How to transfer files from one server to another in php? Any ideas?

Web Development api php
Member Avatar for vibhaJ
0
191
Member Avatar for niths

hi all, i had a image upload code and it is working fine but while uploading i need some progress bar. so i got some progress bars..so can any one suggest me how to integrate that progress bar in my code...Is there any examples... Thank u.

Web Development php
Member Avatar for muralibobby2015
0
83

The End.