52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for elangobala

Hello sir, I m need of help regarding form validation using ajax.I need a sample code.It should be like when i have two text fields without entering the first one when i keep the mouse in to the second text box it should say in the red mark as in …

Web Development javascript
Member Avatar for MrRundog
0
250
Member Avatar for jigneshdesai
Member Avatar for khadakbist
0
147
Member Avatar for ayesha789

Hi, I am in a company where SMTP is currently not available and port 25 is also blocked, Therefore I have choosen to send email via PHP Mailer Class but whrn I setup everything its giving me error... Second I did not understand this line [ICODE]$mail->IsSMTP(); // telling the class …

Web Development email php
Member Avatar for ayesha789
0
2K
Member Avatar for ddellostritto

Hi all - I need some help w/something that I'm not sure what the proper technique is. [B]How to deal with 'dynamic' forms?[/B] I'm working on an event registration form, where the person who registers normally registers their team members, so the number of team members could range from 1 …

Web Development php
Member Avatar for ddellostritto
0
707
Member Avatar for [omega]

Hi there, I am totally new to neural networks and am trying to train a network now. I am using a php script from tremani.nl for the neural network. Now what I wonder is that. How long does it usually take to train a network? I mean I am training …

Web Development php
Member Avatar for waisalima
0
328
Member Avatar for Imratzio

I created a admin page for adding editing and deleting items for making a e commerce site. Adding items is fine but can't seem to delete them. It does not show an error but I included a print_r($sql); and prints an error [CODE]<?php session_start();//works with session cookies, helps have persistant …

Web Development html-css php session
Member Avatar for Imratzio
0
2K
Member Avatar for anita_86

Hi again!!I wanted to know that is it possible to backup the mysql database just by running query?I am trying to find out the code so that if a user clicks backup button, the whole database will be stored somewhere.

Web Development mysql php
Member Avatar for smantscheff
0
72
Member Avatar for Powerponken

Hi, I have received a web application that needs to be upgraded for IE8. IE7 has been used earlier showing no problems but when testing with IE8 there were a lot of strange things showing up on the screen. I have managed to fix most of them that I have …

Web Development html-css php web-browser
Member Avatar for Powerponken
0
194
Member Avatar for newbieJS

I'm working on an exercise using array methods, unshift() and shift() among them. In the script below I'm attempting to log an ID from the user, such as "B123" and log their corresponding bid such as "1250." I want to list each bid and id in order from greatest to …

Web Development html-css javascript
Member Avatar for vsmash
0
191
Member Avatar for Netcode

i have a file upload control. Please how do i specify a file size and file tyoe to be uploaded. Its very urgent

Web Development asp.net file-system
Member Avatar for Netcode
0
103
Member Avatar for blackxswil

I have a web page where it has: 1. A search button 2. two iframes Lets say I press the search button, the result page will be displayed on the first iframe. the result page has a picture link where if i click the link an image will be displayed. …

Web Development php
Member Avatar for blackxswil
0
93
Member Avatar for ptara1

I'm trying to display a picture stored in a msyql database. I have the following script, picscript.php, to call the picture from the database: [CODE] <?php $username = ''; $password = ''; $host = ''; $database = ''; mysql_connect($host, $username, $password) or die("Can not connect to database: ".mysql_error()); mysql_select_db($database) or …

Web Development display image mysql php
Member Avatar for ptara1
0
115
Member Avatar for rajeesh_rsn

Hi friends, I want to delete an element from an array and re order the array ie [ICODE]$myArray=array('a','b','c','d'); echo $myArray[1]; // print b;[/ICODE] I want to delete [ICODE]$myArray[1][/ICODE] From $[ICODE]myArray[/ICODE] and re order the array So that [ICODE]echo $myArray[1]; // Return c insted of b[/ICODE] Thnaks In Advance Rajeesh

Web Development php
Member Avatar for Agarsia
0
150
Member Avatar for dhairyaguptha

I have a form loaded with table values from database. The form is embedded in php page because it is coming as result of AJAX request. I want to update the data in the same form and return to the table in database. the process is working overall. But when …

Web Development javascript php
Member Avatar for dhairyaguptha
0
13K
Member Avatar for alafift

[B]Can somebody help me to retreive one or more checkbox values from the database using php and MySQL? Thanks and I appreciate that.:)[/B] In checkbox.html file the checkbox as follow: [CODE] <form method="post" action="Process.php"> <fieldset> <legend>Choose feature(s) to search for apartment</legend> <table border="0"> <tr> <td><input type="checkbox" name="feature[]" value="walkincloset">Walk in closet</td> …

Web Development mysql php storage
Member Avatar for sudeepjd
0
6K
Member Avatar for jrotunda85

I am creating a login script and I need to check that the username and e-mail don't current exist in the database otherwise it will print an error. I've tried the following but it's not working: [CODE=php]//Create Username Array $SQL = "SELECT Username from user" $Result = mysql_query($SQL); $Array = …

Web Development mysql php
Member Avatar for Javvy
0
270
Member Avatar for babylonlion

Hi folks, I have two divs in my form that contain slightly different fields. The user can view one vid at a time depending on the radio button it's checked (either business or individual). When I submit the form, all the fields in both divs are submitted and emailed at …

Web Development html-css javascript xml
Member Avatar for sudeepjd
0
173
Member Avatar for El Pirata

The idea is pretty simple: Where the timer is made in Javascript, when it reaches zero it performs a query in PHP that alters the database value to add 1. The problem is that the timer in question must not be reset with page refresh, just like any browser based …

Web Development php
Member Avatar for sudeepjd
0
120
Member Avatar for luweegee

This code is to update the record into the database. Assuming there's a record that you want to edit, when you submit the button the page looks nothing happened because you need to refresh the page before appear the output here's the code. Help me guys pls... sorry for my …

Web Development html-css php
Member Avatar for lyrico
0
192
Member Avatar for dhairyaguptha

[CODE]xmlhttp.open("GET","tablebase.php?q="+str,true);[/CODE] I can get value to the [COLOR="Green"]$q[/COLOR] variable in tablebase.php by above method. But how i can get a value to [COLOR="Green"]$q2[/COLOR] by using the above method. Thank you!

Web Development javascript
Member Avatar for dhairyaguptha
0
86
Member Avatar for ptara1

I'm a php noob and I have a feeling that there is a simple solution to my question. I have a php mysql table search that returns a result sucessfully. What I would like to be able to do is select one of the results to be inserted into a …

Web Development mysql php seo
Member Avatar for ptara1
0
180
Member Avatar for jrotunda85

I have set up a DB which uses a Code table to store numerical values that correspond to a "Description" of the cigar. For example, a Cigar made in the Dominican Republic would be stored in the DB as being made in "80004." I'm not completely immovable on the Code …

Web Development php
Member Avatar for smantscheff
0
2K
Member Avatar for MoreBloodWine

The below block of code generates stuff like the below array but here's where it gets somewhat interesting. I took the legend and turned them all in to variables because of what I would like to have done which I will now describe below. Of the four arrays that this …

Web Development client-server php ubuntu xml
Member Avatar for jimforsyth
0
131
Member Avatar for uopdom

Hi, I've been racking my brain for the last few days to figure out what is wrong with my PHP coding. I've managed to get the default value from my combo box into my database, but when I change the option it is breaking on me. I have reduced my …

Web Development mysql php
Member Avatar for uopdom
0
834
Member Avatar for dudzkie

Hello! hello i'm a newbie learning php scripts, so here's my question i query a data from my database, the list i query was way too long, how can i make the list much more shorter? I want it to like to show 10 data list and on the next …

Web Development php
Member Avatar for jimforsyth
0
72
Member Avatar for bangla

Hi, I am using xampp 1.7.3. Downloaded in c/program files. when i click xampp_start.exe, i get a window saying "starting xampp..". then disappears. Then i click stop_xampp, it comes and disappears in one sec. Can you pls tell me what i should do? Thanks.

Web Development php
Member Avatar for petkovski
0
115
Member Avatar for lulemurfan

Hello, I have been moving my websites from one server to another. On my old server I was able to send php header information in the middle of a php document (part of a logon form). My new server just shows 'Warning: Cannot modify header information - headers already sent …

Web Development php
Member Avatar for jimforsyth
0
94
Member Avatar for banmikko

hi every! im a newbie and im stocked with some edit codes,. can u make me a code on how to edit records with images? i really need it now. If u can, then it is very much appreciated. here is my database and table CREATE DATABASE db1; CREATE TABLE …

Web Development image php
Member Avatar for smantscheff
0
103
Member Avatar for ITHRIL12

Hey there,i just started learning php and i'm having some problem in forms. This is the code. [CODE] <html> <form> Enter username<br> <input type=text name=username><br><br> Enter password<br> <input type=password name=pass><br> <input type=submit value="Submit"> </form> <?php printf("Username is %s<br>", $username); printf("Password is %s",$password); ?> </html> [/CODE] The problem in the code …

Web Development php
Member Avatar for jajarvin
0
222
Member Avatar for alim18

Hello Guys, firstly i wanna say that this is really great forum. this my first on this forum and hoepfully will not be the last one. okey let me explain what is my problem; on that site [url]http://www.paid-surveys-at-home.com/[/url] i saw this form is created which calcuates "How Much..................." etc.. i …

Web Development php
Member Avatar for alim18
0
263
Member Avatar for lit108

I have a script which is parsing xml code and displayed the title of blog posts, the date, and a breif extract from each post. However I also want to show any mp3 links within that blog post too but I am not sure how to do this. If anyone …

Web Development php xml
Member Avatar for lit108
0
123
Member Avatar for dudzkie

Hello! I created a login form that is connected to the MySQL database, what i wanted to do now is to record who successfully login to the form and will also record the time and date he/she login Can you give me some hint on how to do it Thanks!

Web Development php
Member Avatar for dudzkie
0
98
Member Avatar for AntiNL

Hi, I've been busy writing a script to upload photo's to my webserver, and after a lot of searching I finally managed to get the permissions correct, but now I'm having another problem. There are quite a lot of posts about it, but they all come down to having the …

Web Development file-system mysql php web-server
Member Avatar for smantscheff
0
259
Member Avatar for nats01282

Hello all im am after a script that allows for a drop down menu that allows the user to select a item and store that item into the database currenty i have [CODE] //all database stuff here $player_chr_pet = $_POST['chr_pet']; $chr_health = '10'; // var set at 10 incase error …

Web Development php
Member Avatar for smantscheff
0
358
Member Avatar for public-image

I am trying to detect if a users password is less than or equal to 5 characters then to error the user otherwise continue.. <? $pass = $_POST[password]; if($pass <=5){ echo"Error"; }else{ echo"YAY no errors!"; } ?> I can't get it to work can anyone point out a way to …

Web Development php
Member Avatar for public-image
0
99
Member Avatar for heshanm

Hi all, I am developing a MIS for a bank.There i want to create various types of accounts and i want something like this to be done. Ex: Account type Account Number A 1001, 1002, 1003, etc B 2001, 2002, 2003, etc C 3001, 3002, 3003, etc Likewise i want …

Web Development php
Member Avatar for public-image
0
270
Member Avatar for abhi10kumar

The email is going to spam. How I tweak the code so that email would sent into Inbox not into SPAM. Please help....

Web Development email php
Member Avatar for Javvy
0
84
Member Avatar for public-image

I am currently making a change password area and I wish for users to be able to change it although for passwords to be more secure we ask that passwords contain both letters and numbers and if users so choose they may have special characters as well.. I could not …

Web Development php
Member Avatar for MagicMedia
0
265
Member Avatar for joban.ali

Hi I have a while loop set up to call data from the database which is successfully doing. i would like my users to edit their own content on the database, a user can have many publications and so the user should be allowed to amend each publication. At the …

Web Development php
Member Avatar for sudeepjd
0
114
Member Avatar for elson.james

Hi there, I've search all over the internet on how to list a directory in PHP but failed to do so. I've seen other php scripts but it didn't have the features I want. Do you have something like this: 1. It allows you to display all the directories and …

Web Development file-system php
Member Avatar for elson.james
0
280
Member Avatar for sudiyer

hi .. i am new to jsp coding - i hav created a database using mysql workbench - it is a Graphical Interface to creating databases and tables... but the problem is that i dont know how to access my tables through jsp coding .. where should i put my …

Web Development apache java-jsp
Member Avatar for peter_budo
0
291
Member Avatar for Stefano Mtangoo

a apart fro SQL injection what are risks to comsider when querying database? What are risks when uploading files other than limiting some extensions (like exe's)?

Web Development php
Member Avatar for Stefano Mtangoo
0
117
Member Avatar for hotice47

hi i was making calendar for my website some how using different tutorials i made it but i want to makes some changes but cant figer out can some one plz help me ... i am also comparing emp date of leave if thats true then it will change the …

Web Development php
Member Avatar for diafol
0
106
Member Avatar for petrakid

I have two text boxes and I want them both to submit the same data, such as if the user changes one text box, the other changes to the same value [U]and vise versa[/U]. I am easily able to make one textbox update the second with javascript, but not the …

Web Development javascript
Member Avatar for petrakid
0
495
Member Avatar for OmniX

I am trying to see the restrictions of $_GET global variable and when I use the URL localhost/test/test.php?abc.def I am getting the variable abc_def in the global variable $_GET, any ideas? Any other restrictions?

Web Development php
Member Avatar for OmniX
0
164
Member Avatar for ricvik

Hello, As this forum has been so helpful before, this time it's a JS question: I have a list of checkboxes from which the user can select 1 or more to check and perform an action upon. Thus, all checkboxes have the same "name" (in ASP code, since it's DB-related): …

Web Development javascript
Member Avatar for ricvik
0
162
Member Avatar for tiggsy

I have a piece of code as follows: [CODE] $query = preg_replace('/\<a href=\"(.*)\"\>\<img height=\"(\d+)\" border=\"0\" width=\"(\d+)\" alt=\"(.*)\" src=\"(.*)\" \/\>\<\/a\>/',"INSERT INTO newproducts (productName,supplierName,productLink,imageLink,groupCode,currency,price,updated) VALUES ('$4','supplier','$1','$5',",$ad); $query .= "'$group','\$',$price,CURRENT_DATE)";[/CODE] which works fine. But I would like somehow to amend it so that the field productName ($4) can have slashes added to it …

Web Development php
Member Avatar for tiggsy
0
152
Member Avatar for abhi10kumar

Send email from a website to a specified email. I am using user@puruinvestech as an email (Google Email Apps is setup). Email contains fields like Name, Mobile, Email of the user in feedback form.

Web Development email php
Member Avatar for dasatti
0
107
Member Avatar for banmikko

anybody i need the codes to display image. im stucked with it. Im already done doing the codes for uploading. see it below.. i badly need it <?php // Create MySQL login values and // set them to your login information. $username = "root"; $password = ""; $host = "localhost"; …

Web Development php
Member Avatar for smantscheff
0
205
Member Avatar for ankurmawanda

i have a html form and with a few fields i want to md5 my password field before posting it here is my code [code=java] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Employee Payroll System NIC-APSC</title> <link rel="shortcut icon" href="images/favicon.ico"> <script language="javascript" type="text/javascript" src="md5.js"> function crypt() { document.form1.password.value = calcMD5(document.form1.password.value); } …

Web Development java-jsp javascript
Member Avatar for Airshow
0
764

The End.