17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for pjrey

site with issue: [url]http://pjrey.com/guestbook[/url] ok, ive tried and tried, no luck. what i am trying to do is: 1) the modal dhtml sign/window auto load (but only one time per user) 2) on completing the form, and hitting submit, i want the parent window refreshed (to show new content that …

Web Development html-css javascript
Member Avatar for pjrey
0
129
Member Avatar for oggiemc

Hi Everybody, Im having a bit of a problem with an assignment..Im trying to write a JDBC servlet which checks the value of a name in the database against the value inputed in a form..USER and PASS are the values inputted to the by user into the form.. The code …

Web Development java-jsp sql
Member Avatar for oggiemc
0
83
Member Avatar for kunyomi

Hi guys, I'm trying to UPDATE the image that has been already in the database with another image using a form in PHP. I got the uploading working all fine already. Just the edit part. With this code, I get no error, but the MySQL table is not written with …

Web Development image mysql php
0
416
Member Avatar for kunyomi

Hey guys, I've just started coding php, for a school project. I'm creating a member login system with functions to add/edit contacts. Currently I'm stuck at updating the contacts. I'm able to pull up data into a form in a page called 'edit.php', but after updating and clicking submit, it …

Web Development mysql php
Member Avatar for kunyomi
1
504
Member Avatar for lll_ari_lll

Hi, i am facing problem in log out section, which redirects to the file logout.php. where after unset-ing and destroying the session, it redirects to index page again, but when i type the following page address which should be seen only when an user is logged in, shows.. can anybody …

Web Development php session
Member Avatar for lll_ari_lll
0
127
Member Avatar for Encrypted

I've been scratching my head for a bit now and I can't think of a way to make a mysql_query pull a set of data that matches a number in an array. It's easier to explain what I want to do with code.. so here goes.. Then I need my …

Web Development mysql php
Member Avatar for Encrypted
0
129
Member Avatar for z_jun

Hi, I am having problems with the passing of a variable to the next page. I want to pass the $title so that I can use it in the changejob.php page. The following is my code:- [CODE]<td> <a href="changejob.php?id = "<?php $title; ?>""><?php echo $title; ?></td>[/CODE] Please help me. Thanks.

Web Development html-css php
Member Avatar for z_jun
0
210
Member Avatar for Rohith Reddy

Hi, Can any one suggest me a java script to make a master page fit to all scree resolutions. Regards, rohith

Web Development asp.net
Member Avatar for kvprajapati
0
85
Member Avatar for Barrett1

Display Div tags after 4 results not from database [CODE] $a = 0; while(){ if($a == 4){<div class="result"><p>}//Display after 4 results $results .=''.$result.''; if($a == 4){</p></div>}//Display after 4 results $a++; } example: <div class="result"><p> result 1 result 2 result 3 result 4 </p></div> <div class="result"><p> result 5 result 6 result …

Web Development display php
Member Avatar for Barrett1
0
109
Member Avatar for mrcniceguy

i have this weird problem and i dont know how to make it work. the problem appears after i consider the OR statement.without or statement the first part is working . So idont how to use this statement in mysql. i hope someone can help me. Down is my script. …

Web Development mysql php
Member Avatar for mrcniceguy
0
376
Member Avatar for SCoder1

My code I'm working on has a table db the data is 4.5 I wanted it to be 4.50 any help would be great. here's my code: [code] <?php $con = mysql_connect("localhost", "root", ""); if(!$con) //If we can't connect then stop trying and say so { die("Could not connect to …

Web Development php
Member Avatar for almostbob
0
100
Member Avatar for Dan08

Hello everyone, well I'm having some problems changing line every time my PHP code writes something to a file. Right now, it's writing the time of everyone, who visits my website, then it adds a comma and his ready to write the time of another person that visits the website. …

Web Development php
Member Avatar for Dan08
0
99
Member Avatar for Frankey

Hi there, I am building a blog at the moment i have a amazing script that search a post for the images in it. So i can just setup a post template, call the images that are in the post and go. In this way i put the images unedited …

Web Development image php regex wordpress
Member Avatar for Frankey
0
203
Member Avatar for baseballfury

Hi there, I've created a page that uses 2 seperate functions for passing variables. The first runs when the page loads and requests categories from a database to fill a dropdown box. The second function sends a date value and the contents of the select from the dropdown box to …

Web Development javascript php
Member Avatar for baseballfury
0
184
Member Avatar for chakde

Hi, I am trying to display a number of text boxes and drop down menus using a For Loop. I can only display one of each time I select any number from the drop down menu. Currently the For loop is commented out, but if I leave it there nothing …

Web Development javascript
Member Avatar for Taywin
0
96
Member Avatar for Excizted

Hi. I'm just trying out Ruby on Rails, and I'm trying to create some application that takes a hostname from the user and then checks if it is connectible through Net::SSH and if it is, it should check if a file is present. Quite simple, and I also almost reached …

Web Development ruby
Member Avatar for Excizted
0
186
Member Avatar for andy_brain

hi there I'm new to php but im trying to replace items on page with a certain id with a image or anything i want. So i have this code on the page [vimeo 123456] [vimeo 345675] my php goes off to vimeo to get the correct image based on …

Web Development api php xml
Member Avatar for andy_brain
0
110
Member Avatar for gedas

hey guys new to all the web programming i have got a little task and have no idea where to start could someone help me please. well i have to draw a line between to different coordinates which are going on google maps so for example : [CODE] <Placemark> <name>mark …

Web Development javascript xml
Member Avatar for gedas
0
92
Member Avatar for Vigasdeep

Hey Experts, Please Help me.. i am facing this error: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in C:\wamp\www\tf\process.php on [B]line 22[/B] [CODE] for($b=1;$b<$_POST['studentcount'];$b++) { $c='sname' . $b; $ql="INSERT INTO stud (name) VALUES ('$_POST['sname1'])"; /*line 22*/ mysql_query($ql); } [/CODE] Please do checkwhats wrong with this, Regards, Vigas …

Web Development php
Member Avatar for BzzBee
-1
129
Member Avatar for phpDave

Hi, I have a counter and it works fine in firefox, but when I try to bring up the page to be counted in internet explorer in does not work. The page wont even be brought up in the browser. If I disconnect the include file to the counter it …

Web Development php
Member Avatar for phpDave
0
114
Member Avatar for amby

Hi, I have added web reference using Visual Studio tool i-e Website > add web reference but it add only .disco and .wsdl file. My question is, are these the only 2 files to add? i mean i was expecting .asmx file so that i can see its methods properly. …

Web Development c# visual-studio xml
0
112
Member Avatar for pritaeas

I can reproduce this bug in IE7 (and a colleague in IE6), my link is here: [url]http://www.pritaeas.net/tools/linkfarm/[/url] If you select a tag the list gets filtered and the tag added to the selected div. Unselecting it will reset the taglist, and remove() the tag from the selected div. Selecting another …

Member Avatar for pritaeas
0
303
Member Avatar for Hakoo

I connected jsp with mysql. i m beg. level programmer in JSP. So, plz dont comment on my code writing style, bt plz help me to improve ma programming. I can execute query bt whn i try RESULTSET to retrive, getting error. my code is below : <%@page import = …

Web Development display java-jsp
Member Avatar for Smith5646
0
118
Member Avatar for s32ialx

Ok so i have a template script my friend built for me. I'll include all file names OK so what is not working is file_get_contents is not grabing the content (1 I don't know where the content should be placed and 2 i want it placed in a directory so …

Web Development html-css php seo
Member Avatar for s32ialx
0
340
Member Avatar for amby

Hi, I have added web reference to my web space but dont know how to call its method from my code behind .aspx.cs file. can somebody please guide me in this matter. Thanks

Web Development api javascript
0
101
Member Avatar for jellybeannn

Hi, I've got a DropDownList with a list of colours, when one is selected and the "Add to ShoppingCart" button is pressed, all the colours in the DropDownList are duplicated. Can somebody please help. [CODE] // fill the control with data private void PopulateControls(ProductDetails pd) { // display product recommendations …

Web Development asp.net
Member Avatar for bhavu4u
0
120
Member Avatar for rahul8590

i want the user to enter the name in the query and only after entering the name the next input text appears. Unfortunately it doesnt work the way i want it to. here is the code [code] <?php // formtest2.php $flag = 0; if (isset($_POST['name'])) { $name = $_POST['name']; $flag …

Web Development display php
Member Avatar for rahul8590
0
138
Member Avatar for judge6

Hi all. I have a web application which upon page load, creates a number of buttons on the page. For each button which is created, i add a handler for the click event. Inside the click event code for the button, i identify the ID of the sender. I then …

Web Development asp.net session
Member Avatar for judge6
0
136
Member Avatar for emilio

hi i'm trying to run an exe file on the client side using the following code: [CODE=javascript]var oShell = new ActiveXObject("Shell.Application"); var prog = "C:\\Program Files\\Microsoft Office\\Office12\\Excel.exe"; oShell.ShellExecute(prog,"","","open","1");[/CODE] when i run the code it fails with "Access denied" error which i cannot resolve. i modified my ie (8) settings to …

Member Avatar for emilio
0
183
Member Avatar for alyssajones

Hey people, I don'r know much about PHP so I think you can help me on this one. I have a email form and the action says: [CODE]<form id="contato" method="post" action="[COLOR="Red"]contact.php[/COLOR]">[/CODE] The php is placed as follows: [CODE]<?php $to = "conde.taly@gmail.com"; $subject = "Site Contact" ; $email = $_REQUEST['email'] ; …

Web Development http-protocol php
Member Avatar for diafol
0
231
Member Avatar for hassancool

1). Well I am using a PhpBB forum.... Everything is working fine but I have a little question that where should I paste the php META TAG refresh code so that its not annoying for users!!! 2). My second question is that "is there any advantage of META TAG refresh …

Web Development php phpbb
Member Avatar for saiprem
0
93
Member Avatar for jrw89

Hi all, I am trying to get an object to be aware of its own changes e.g. have it execute one of its functions but only when a variable has been changed from outside the object. Google gave me lots of references to XMLHttpRequest.onreadystatechange and this resource at MSDN: [URL="http://msdn.microsoft.com/en-us/library/ms536957%28VS.85%29.aspx"]http://msdn.microsoft.com/en-us/library/ms536957%28VS.85%29.aspx[/URL]. …

Web Development javascript microsoft-access
Member Avatar for jrw89
0
187
Member Avatar for tearose49

I'd like to display the contents of some fields in a MySql table as a table on a webpage. I found sample scripts, but I'm doing something wrong in trying to adapt them. Can anyone give me a link to a webpage that displays a table like this, so I …

Web Development display mysql php
Member Avatar for tearose49
0
103
Member Avatar for PierlucSS

Is there a way I can know what is the Url I am currently browsing? If I would use that command or script it on this page it would return me: [url]http://www.daniweb.com/forums[/url] And if I would be testing on localhost or on some acceptance server, it would return me [url]http://localhost:1996/forums[/url] …

Web Development asp.net
Member Avatar for PierlucSS
0
96
Member Avatar for amby

Hi, I am calling web service through jquery ajax call for the first time and getting an error. Can please somebody help me in this i would really appreciate it. Below is the code: [CODE]<%@ Page Language="C#" AutoEventWireup="true" CodeFile="userNTID.aspx.cs" Inherits="Default2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html …

Member Avatar for amby
0
188
Member Avatar for hassancool

HI all, I am using a php Code for Image hosting script and having this kind of error continuously..... "Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpbihhaX' to 'http://masalalook.com/imagehost/upload/41270034561.jpg' in /home/masalalo/public_html/imagehost/config.php on line 83" Line Number 83 contains this "if (move_uploaded_file($_FILES['file']['tmp_name'],$filedir."/".$newname))" Help me plz how to get out of this trouble...... …

Web Development image php
Member Avatar for saiprem
0
96
Member Avatar for Pooja J.

Hi, I have one page session-bom.php, in which computer parts are availlable for shopping. e.g. mouse , keyboard ect. with the checkbox. and textboxes to enter quantity and label of prices. When user hits 'submit' button, only selected parts goes to the bill.php page and showing their price multiplied by …

Web Development php session
Member Avatar for as.bhanuprakash
0
252
Member Avatar for amitshrivas

Hello to all..plz help me in this plzzzzzzzzzzzzz i want to view/download a files from production server and after downloading i want to delete the same file from 2 places i.e from (database and one Uploaded folder in server). i have 2 quries: 1: View Only ? i have this …

Web Development asp.net file-system
0
92
Member Avatar for Pooja J.

Hi to all, I have 4 pages. page1.php, page2.php, page3.php and last.php. page 1, 2 and 3 pages have one text and submit button. The values enter by user in page1.php store in session var. and clicking on 'Submit' button. page2 shuold be open. In this page same procedure should …

Web Development php session
Member Avatar for liamfriel
0
149
Member Avatar for Th3nutz

i've embeded google maps on my site with a marker setup were i wanted, but i cannot use "Get directions" to open in the same div that i use. Is it possible to do that, or my only options are _blank, _self etc. [CODE]<script src="http://maps.google.com/maps?file=api&v=2&sensor=true&key=ABQIAAAAsoAP0MDLt21HBpoCAZ0DLBQD344IlC21WoKHBucdD45AbVnqaxQoNHNKFtJHrVaqBr2Dwfh1G1O2-g" type="text/javascript"></script> <script type="text/javascript"> function initialize() …

Web Development api google google-api javascript
Member Avatar for JayAugust
0
84
Member Avatar for futhonguy

Hi, I am wondering if i am able to insert 2 entries from a form to mysql. for example: [CODE]</tr> <tr> <td bgcolor="#eeeeff"> Is it a shared devices?<br> <font color='#F62817'>** If yes, please indicate the shared device num. </font> </td> <td bgcolor="#eeeeff"> <SELECT name="shared"> <option value="No"SELECTED>No</option> <option value="Yes">Yes</option> <INPUT type …

Web Development mysql php
Member Avatar for futhonguy
0
94
Member Avatar for baseballfury

Hiya Guys, Been working on the w3schools livesearch example but you can only select the option via a link. I'm trying to do it so i can submit a value to return database results. The external php code is below if anyone wants a look: I got it returning the …

Web Development javascript php xml
Member Avatar for baseballfury
0
536
Member Avatar for rochellebeth

I can usually figure out problems like this with some testing or google searches, but nothing is working for me this time. I've installed a comments page on a website for a friend of mine, I got the code for the page from phpjabbers.com (and they aren't very much help!) …

Web Development javascript php
Member Avatar for rochellebeth
0
127
Member Avatar for polly89

I have a form named:"RegistrationForm.php". when i click the "submit button", there's a data inserted in the database (the prove is, there a new row in the database), but there's no value from user textfield(ic_no,name,email...) that have been inserted. It means like there's a row of data inserted but without …

Web Development php session
Member Avatar for diafol
0
131
Member Avatar for Exploded Fiber

Hey Guys and Gals, I have an array: Array ( [Small] => Array ( [0] => 4 [1] => 5 [2] => 3 ) [Butters] => Array ( [0] => 5 [1] => 2 [2] => 5 ) [black] => Array ( [0] => 3 [1] => 5 [2] => …

Web Development php
Member Avatar for Exploded Fiber
0
145
Member Avatar for jrw89

Hi all. I have the following form: [CODE=html]<form id="registrationForm"> <input id="forename" type="text"></input> <input id="surname" type="text"></input> <input id="emailAddress" type="text"></input> <input id="password" type="password"></input> <input id="confirmPassword" type="password"></input> <input id="agreeToTerms" type="checkbox"></input> <input id="clickToRegister" type="button" onClick="javascript:SpeakAtServer(FormToJson('registrationForm'))" value="Register"></input> </form>[/CODE] ...with the following JavaScript... [CODE=javascript]FormToJson = function(sourceElement) { var JsonToServer = new Object(); if (document.getElementById(sourceElement).childNodes) { var …

Web Development javascript json
Member Avatar for Eumenio
0
135
Member Avatar for nccsbim071

Hi i want implement a windows services scheduled task. I already created windows service. In a service i have implemented a timer.The timer is initialized at class interval. The timers interval is set in the start method of service and also it is enabled in the start method of the …

Web Development asp.net microsoft
Member Avatar for zid8ne
0
132
Member Avatar for nonshatter

Hey I hope someone can help me here because I am pretty stumped on this one... All I'm trying to do is to update my user_usr table with the submitted form data. It was working perfectly the other day so I must have changed something somewhere. The code and the …

Web Development php sql
Member Avatar for nonshatter
0
175
Member Avatar for Nemuksis

Hi guys, i want to find something out that will help me out a great deal. I am including a menu from a separate .php file using [CODE]<?php include("menu.php"); ?>[/CODE] but something that i really need to find out before i can continue with this. When I'm at eg 'Home' …

Web Development php
Member Avatar for Nemuksis
0
329
Member Avatar for amby

hey i am new in javascript, i was having problem in including jquery in this file in Visual Studio but i resolved it by using ResolveUrl but after that its giving error "; expected" in the line1 i-e [CODE]<[COLOR="Red"]%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2"%>[/COLOR] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …

Member Avatar for amby
0
198

The End.