52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for still_learning

Hello, I have a very interesting issue that I want to solve but I need some help because I do not know if it is possible. I am using some radio buttons on my website, but instead of the user actually clicking a radio button to set it as "checked" …

Web Development html-css javascript
Member Avatar for still_learning
0
293
Member Avatar for jviney

New to PHP and MySQL, any help would be appreciated. Using PHP, I'm pulling fields from my MySQL database into a table and I would like to link one of the fields (club_id) to another web page. How would I do that?

Web Development php
Member Avatar for jviney
0
137
Member Avatar for trient

How to limit the user to decimal (10,2) when he enters number in the textfield? Can anyone show how to do it in javascript?

Web Development javascript
Member Avatar for ShawnCplus
0
315
Member Avatar for Kusno

Dear all, I'm newbie in Java/JSP. I have created project with Java Desktop for university lecture subject. But I still have one task, still with Java but in Web environment. I have this class. This class is used to get connection to MySQL. I create it for Java GUI [code=JSP]import …

Web Development gui java-jsp java-swing web-server
Member Avatar for ~s.o.s~
0
141
Member Avatar for Realgy

Hi all, I am looking for a software to index my images. Essentially just having keywords are not enough, I would like there to be customizable fields which I can add text and it is stored into database and can be searched. Fields I would like are: Number of people …

Web Development php
Member Avatar for Realgy
0
82
Member Avatar for CasTex

Hi everyone. I know how to make image in php, but I want to make url like this [url]http://my2.statcounter.com/project/standard/graph_summary_barchart.php?rand=193244925&PHPSESSID=[/url][B]1eb9e464667493b2a1a7038ce4b9f69c[/B] Especially, the randed code. For example, I have this script uret.php [code=PHP]<form action="uret.php" method="post"> <input type="text" name="siteadi" value="http://" size="35" \> <input type="submit" name="submit" value="Kodu Al"> </form> <? $web = $_REQUEST['siteadi']; [B]$weble …

Web Development image php
Member Avatar for CasTex
0
111
Member Avatar for didi00

Hello, I'm new in coding in php I want to transfer a webpage (news5.html) to another webpage (in a table). (Like it is done on the news websites "www.domain.com/index?ID=4343" How can I do it? I read about passing variables through url, but if it is how it should be done …

Web Development php
Member Avatar for fanaticweb
0
127
Member Avatar for RockyY

Hello everyone! Ok i have a question, I have a php calandar and when you click on a date a pop up comes up and you are able to add entrys to the main calandar. That works just fine, but i need help figureing out how to refresh the main …

Web Development php
Member Avatar for RockyY
0
89
Member Avatar for zainul.dss

how do i define dynamic array in php like in c or cpp if any body find this pls reply me soon regards zainul

Web Development php
Member Avatar for ShawnCplus
0
329
Member Avatar for desiguru

I have a database called "App" and a table called appinfo. I am able to connect to the database. It has only two entries since I am just trying to learn how to use php and sql together. The first column in the appinfo table is called [B]ID[/B] followed by …

Web Development display php sql
Member Avatar for desiguru
0
1K
Member Avatar for Doctoremote

This maybe an old chessnut to you old sweats but I am a newbie to this.. I getting this error:- [B]mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\wamp\www\dsg\Mytest.php on line 9[/B] the database is called Camsdb the table is called DBF the fields of which there …

Web Development mysql php
Member Avatar for Doctoremote
0
143
Member Avatar for gpdrums

I'm looking for a php/mysql customer service module that will do two things: [LIST=1] [*]manage user login/session without self registration [*]allow customer to download document packages in pdf [/LIST] Our customers are overseas. We want to provide documents to them online to save document shipping costs. Ideally, I will provide …

Web Development pdf php session
Member Avatar for gpdrums
0
192
Member Avatar for yangyang

Trying to build a cute little php site statistics script, now I'm stuck with getting the average visiting time on site. How to do that? I'm using JS badge. HTTP is stateless, if that is the case how the server knows when the visitor navigates away? JS onunload?

Web Development javascript
Member Avatar for yangyang
0
90
Member Avatar for aran87

hello, im using a delete function but some how i want to use an if statement; for example if the current server date matches the date from a row from a database table and if the date is 2days from the current date it can't be delete. [CODE] Delete from …

Web Development php
Member Avatar for amigura
0
138
Member Avatar for rickya100

Hi, I am hoping someone can explain to me a better way of coding than I currently do right now. It concerns accessing the results of a SQL query stored in an array. OK so right now I do somthing similar to this: [code=php] $rows = @mysql_query("select count(*) from debate_queue") …

Web Development php queue
Member Avatar for rickya100
0
114
Member Avatar for FrankThePostman

Hi, I have list of items on a PHP page, and a <div> for each which i wish to populate with an AJAX request. Each <div> has a unique ID. The code that i am using falls over due to the apparent static nature of this line: [CODE] document.getElementById("full-details").innerHTML=xmlHttp.responseText [/CODE] …

Web Development javascript
Member Avatar for ~s.o.s~
0
3K
Member Avatar for dottomm

Hi. I'm trying to search multiple DB fields with a Select Menu and I don't know where to start. for example, from the code below I would like the value ='strAuthorname' to actually search the fields 'AuthorFirstName' AND 'AuthorLastName'. [code] <form method='post' action='{$_SERVER["PHP_SELF"]}'> <!--select tag --> <select name='metode' size='1' > …

Web Development php
Member Avatar for dottomm
0
77
Member Avatar for Hercf

Help! Hi, everbody! I have this problem: There is a “textbox” and a “submit” button. “Submit button” is disabled until something is written within “text box”. I am not able to do this switch. Could anybody help me? Here you are the code: [code=html]<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" …

Web Development coldfusion
Member Avatar for jamba
0
159
Member Avatar for sDJh

Hello all together, I've a JS-script that forces the mouse pointer to become a hand. It does work perfectly on IE, Opera, Safari and Konquerer (that's what I've tested so far). Just FireFox doesn't want to change the icon. What's the matter? Here is the script: [CODE]document.getElementById(wid+'0a').style.backgroundColor="#E0E0E0"; document.getElementById(wid+'0b').style.backgroundColor="#E0E0E0"; document.getElementById(wid+'1').style.backgroundColor="#E0E0E0"; document.getElementById(wid+'1').style.cursor="hand"; …

Web Development javascript
Member Avatar for ShawnCplus
0
141
Member Avatar for kevin wood

i have done little bit of research on this but all the information i could find was about unlinking text file i need to unlink an image. i have a variable which store the path to an image stored in file on the server which is what i am trying …

Web Development php
Member Avatar for kevin wood
0
8K
Member Avatar for Jihad

I want to make a server authentication login. First I logged in with windows authentication, changed the server authentication from windows authentication mode to sql server and windows authentication mode. Then I created a login, named it jihad and changed the password for that login. Then I gave that login …

Web Development asp.net sql windows-server
Member Avatar for majestic0110
0
87
Member Avatar for frantara

I am trying to use swap imagesto swap two separate images on the same page but I can't get it to work. Here is the code for one image, rotator. I also have a second image,rotatorB that I want to swap different images with. I think I need two separate …

Web Development javascript
Member Avatar for peter_budo
0
129
Member Avatar for trient

Can anyone explain the concept and guides and show some codes as how one does use only signup.php only for getting different information only by passing at the example: first page: [COLOR="Green"]signup.php?fer=1[/COLOR] Example: Username: Password: [Button:Save AND Next] next page sequence: [COLOR="Green"]signup.php?fer=2[/COLOR] Example: Please Input Your Personal Information: Address: Zipcode: …

Web Development finance php session user-interface
Member Avatar for peter_budo
0
112
Member Avatar for lydia21

[CODE]<html> <head> </head> <body> <?php $days_array = array(""); for($_GET['days'] as $val2) { $days_array[] = $val2; echo $days_array[0]; } ?> <form name="fors" method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>"> Enter text:<input type="text" name="days"> <input type="submit" name="submit" value="submit"> </form> </body> </html>[/CODE] get the text box value using array and display the value using array.

Web Development display php
Member Avatar for peter_budo
0
112
Member Avatar for shravan.donthul

Hi all, In my form i have listbox,file upload control and button . Using file upload control am adding the files to listbox which i want to upload to server. On clicking button, i want the files to be uploaded to server which are in listbox. Please suggest me how …

Web Development asp.net client-server
Member Avatar for shravan.donthul
0
167
Member Avatar for pip86

Hi all, I have just upgrade from php 4 to 5 and now I get a hole lot of weird text on my site. I have try to disable all errors and warnings, but I cant get it to dissapear. hope somebody can help me. [url]http://demo.topnordic.com[/url] [url]http://demo.topnordic.com/info.php[/url] Thanks

Web Development php
Member Avatar for OriginalCopy
0
86
Member Avatar for flforlife

I'm trying to update multple queries but the update is not working. here is the code.... [code] if (isset($_POST['btnSub'])) { // Preset counter $p and switch $sw to 0 $p=$sw=0; // Create UPDATE queries foreach($_POST["entry"] as $data) { $sql[$p]="UPDATE major SET "; foreach($data as $key => $value) { // Save …

Web Development php sql
Member Avatar for amigura
0
210
Member Avatar for thymothey

Hello!!! I want to make a web site, and first I want to make the log in page using Login control from ASP.NET and I want to take the users from a database. Thanks for helping!!!

Web Development asp.net sql
Member Avatar for majestic0110
0
95
Member Avatar for rotsap

I am new to php and am getting the following error; Parse error: syntax error, unexpected '+', expecting T_VARIABLE or '$' in… on line 14. Here is the code; [code=php]<?php /* Subject and Email Variables */ $emailSubject = 'Monthly attendance report'; $webMaster = 'phil@coxwebink.biz'; /* Gathering Data Variables */ $ChurchField …

Web Development php
Member Avatar for mom_of_3
0
217
Member Avatar for kevin wood

i am trying to write a function so that when a user enters onto a page selected images change with each page that is entered. the page uses an iframe to load the new data so i need to swap the images on the main page which holds the iframe …

Web Development image javascript
Member Avatar for kevin wood
0
101
Member Avatar for anish.anick

Hi All, Is there any way to send email in php without user interaction.The scenario is some thing like this.. I want to send email's to persons based on his/her birthday.I need your help. Please help me to solve this... Thanks :)

Web Development email php
Member Avatar for anish.anick
0
92
Member Avatar for JohnS

Hi! I'm trying to create a page with dynamic controls, and I'm having difficulty wrt the liffe cycle. The page has some static controls, but also a table which has dynamic rows, cells of which contain dynamic controls, including a DropDownList. The idea is that the page has an "Add" …

Web Development asp session
0
119
Member Avatar for spiderling

I've tried the following force download script and for the life of me I can't get it to download the file. I get the download dialog pop-up, but the file size is only around 500 bytes. I think it is the pathing. I've tried absolute and relative paths for readfile …

Web Development php
Member Avatar for spiderling
0
115
Member Avatar for sjkisby

Hello all, My final year at uni is looming and I've searched the web for some final year project inspriartion but haven't found too much. I study software engineering and have enjoyed web-devlopment the most so want to do a php/mysql maybe some ajax in there as well type of …

Web Development engineering php
Member Avatar for sjkisby
0
140
Member Avatar for yenyen

halo..i need some help on tis problem.. how to show the URL without .asp or query string with parameters behind? for example, i have a url string : [url]www.abc.com/abc/abc.asp?id=1[/url]. how can i display the url in tis format with out the querystring? example: [url]www.abc.com/abc/1[/url] please help on tis? i have …

Web Development asp
Member Avatar for unholysnake
0
288
Member Avatar for celia05es

Hello, I have a js function that calls a AJAX function. Then, if the return code is correct, another AJAX function is called. It works perfectly with Mozilla but I am having a problem with Explorer... the 2nd AJAX call is not performed!!! I have put an alarm after the …

Web Development javascript xml
Member Avatar for digital-ether
0
164
Member Avatar for kings

hi i have a application where i want the user to click the button only once.i want the user to have time interval(eg 5 sec,before tat if he tries to clickit should display pop -up thanks

Web Development php
Member Avatar for queenc
0
95
Member Avatar for swapna7999

is it possible to capture images using php plz help thank u very much

Web Development php
Member Avatar for swapna7999
0
58
Member Avatar for ebabes

I had been using my local phpmyadmin for the past few days and its working. But suddenly, I can't access my local phpmyadmin and got this error [COLOR="Red"]"Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server". [/COLOR] I …

Web Development php
Member Avatar for ebabes
0
94
Member Avatar for Designer_101

Hey Im having this problem, im sure theres a simple solution, but i cant seem to see it :D The code bellow is part of a regestration form validation. Basicly when i ask the database if anyone else exists with the same username, password or email address - it works …

Web Development mysql php
Member Avatar for Designer_101
0
116
Member Avatar for lbob

Hi I've got a datagrid that I'm populating and depending on the data returned depends on what button I add. That all works fine until I click on the button and it posts the page and loses everything. Basically I can't get the button to fire. Please help! Lbob This …

Web Development asp.net
Member Avatar for ericstenson
0
103
Member Avatar for niladri.user

Can anyone send me a simple, understandable javascript code for form validation, including e-mail validation,name validation , password validation etc. pls! send me in hurry!!!:'(

Web Development javascript
Member Avatar for peter_budo
0
81
Member Avatar for Fabioisonfire

Here is the error I'm getting: Parse error: syntax error, unexpected T_STRING in /home/fabio/public_html/vote.php on line 21 Here's the code: [CODE]<?php session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us …

Web Development php
Member Avatar for phper
0
113
Member Avatar for Inny

I use an image resizer/veiwer script That works Great in IE, but I've discovered that the custom page I use for Showing the Images, appears as text in Firefox. How can I make it show as text/html ? It's a simple enough page. page code <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML …

Web Development javascript
Member Avatar for Inny
0
1K
Member Avatar for Inny

[code] <body onload=function(){document.getElementById("place_holder").src =document.getElementById("imgurl").value;} > <script> function ResizeThem() { maxheight=250; maxwidth= 250; imgs=document.getElementsByTagName("img"); for (p=0; p<imgs.length; p++) { if (imgs[p].getAttribute("alt")=="user posted image") { w=parseInt(imgs[p].width); h=parseInt(imgs[p].height); if (parseInt(imgs[p].width)>maxwidth) { imgs[p].style.cursor="pointer"; imgs[p].setAttribute('alt','Reduced Image - Click to see full size'); imgs[p].onclick=new Function("document.getElementById('imgurl').value = this.src; iw=document.getElementById('this.src','viewer')open();iw.focus()"); imgs[p].height=(maxwidth/imgs[p].width)*imgs[p].height; imgs[p].width=maxwidth; } if (parseInt(imgs[p].height)>maxheight) { imgs[p].style.cursor="pointer"; imgs[p].onclick=new …

Web Development javascript
Member Avatar for Inny
0
95
Member Avatar for Inny

Im using the following script to resize and Automate thumbnails of user posted images on my forum. However I dont like the white background of the new window. Im wondering if its possible to launch the full size image in a customized window with a background image, such as http://h1.ripway.com/Inny/ImageViewer.html …

Web Development javascript
Member Avatar for Inny
0
315
Member Avatar for Ravenous Wolf

I suppose that this is the wrong place to voice critique of php but does the lack of good php books not make php a bit of a nightmare. i have been on amazon and all the books have a review or two which says something about typos or misleading …

Web Development perl php python
Member Avatar for Ravenous Wolf
0
148
Member Avatar for sadafs

Hi i have a code that runs really well.. unfortunately im really new and to get to here was also quite time consuming.. however i am on a short time line now and need help fast!. can someone please tell me how i can get my page to list results …

Web Development java-jsp javascript session
Member Avatar for jwenting
0
99
Member Avatar for jino

Hi all, Please tell me where is the cookie file stored in my computer when i run the below codes.. I checked it in the C:\ [code=php]<?php setcookie("test","john_joseph",time()+ 3600); ?> <html> <body> <form name="cookie" method="post" action="<?php echo $_server['php_self'];?>"> Enter ur name:<input type="text" name="name"> <input type="submit" name="submit" value="SUBMIT"> </form> <?php if …

Web Development php
Member Avatar for digital-ether
0
153
Member Avatar for Tess James

can we go for ms excel for creating charts in php(with mysql) instead of using jpgraph? please tell me which is the easiest one to use 9between ms excel and jpgraph)?

Web Development php
Member Avatar for digital-ether
0
206

The End.