52,566 Archived Topics
Remove Filter ![]() | |
please can anyone tell me how i can create a form with check boxes and also a submit button using post. Web Development first-post php | |
Hi I had a form validation script with me. that is [ICODE]<head> <script type="text/javascript"> function validate_required(field,alerttxt) { with (field) { if (value==null||value=="") {alert(alerttxt);return false;} else {return true} } } function validate_form(contact) { with (contact) { if (validate_required(username,"Userame must be filled out!")==false) {username.focus();return false;} } } </script> </head> <body> <form action="password_process.php" … Web Development javascript | |
Thanks for your help in the past, and this forum is great. I have a question about dates, and in searching, there are huge amounts of results, but very hard to narrow it down to exactly what I'm asking. In using PHP, I have some variables pulled from mysql databases … | |
Hi guys, Iam trying to make some code to check if author of the book is already exist on its authors table or not so if he already exist : get his id number if not exist : insert it to authors table then get its id number i try … Web Development php | |
Hello! I have a small script which dynamically creates select tags (they are placed within divs). Each select has a [B]+[/B] and [B]-[/B] sign next to it, and if you click the [B]+[/B] it adds another select below that one, or if you click the [B]-[/B], it removes that current … Web Development javascript | |
Hello fellow members....... I have been learning a forum creation video tutorial lately and I found few errors in them but the author is just NOT responding to my emails..... Anyhow these are the errors which I am facing: The Error I am facing is 'uid' which it says is … | |
Hey all! I have a question that I just need a real solid answer to ;) Basically, I need a PHP script that checks values inputted by a form for special characters (only allows letters, numbers, and apostrophes). For form validation :D. I'm really not the best with regexes otherwise … | |
Hello, I have a form where I have to say two dropdown lists. Firts dropdown list is populated based on query from a table in access database. I have another dropdown list .I woud like in that second dropdown to show only values that are relevant to the selection in … Web Development asp.net dataset microsoft-access open-source | |
Pleas help me on this i am a new one for php and i want to upload a picture to database can u plz help me to do this ................ thanx............. Web Development php | |
Hi can any one Fix this problem, I am Uploading images to a folder , There i displays images but unfortunately display only the file name and not the image can any help me, BELOW IS THE CODE [CODE][LIST=1] [*]<?php [*] include 'dbcon.php'; [*]?> [*]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 … | |
Hi, [code] function xyz() { <a href="<?=$rame['img_link']; ?>" ><img src="img/<?=$rame['preview']; ?>" width="<?=$w;?>" height="<?=$h;?>" alt="<?=$rame['name']; ?>" /></a> } [/code] Using function I get image and url suppose image->url=http://www.daniweb.com I want to do like... when user click on this image i want to save count(hit) into database(mysql) How to do this...?? | |
Hello friends, I am displaying want to display Comments column. It will display the 1,2,3,4,..n where n is the number of application in proposal_application table. The code dispaly the other information with 2 different color for alternate rows. Can you please help me out to display the Comments column. Here … Web Development php | |
i am trying to get this code to work but there is something wrong with the array (not to good at these). the main part of the code works it is sending out the email but only ever to one registered user. here is the code i have so far. … | |
Hello All, How I can edit rows of gridview using Command Field ‘Edit,Update,Cancel’ of the gridview? I bind the gridview with the Session variable, which contain and returns the DataTable, the coding is as follows:- [code] protected void Page_Load(object sender, EventArgs e) { GridView1.DataSource = (DataTable)Session["MyShoppingCart"]; GridView1.DataBind(); }[/code] One more … | |
Hi i am new to php, can any of u help me, I am storing details such as name , address, email id, phone no, fax no and all. and i am creating edit form to edit those details , i am returns almost all values except address and select … Web Development first-post php | |
hi all. ok i have been able to create an error message - if the user tries to delete a row which has not been selected first; but it still deletes from the gridview... [CODE]void DeleteRowButton_Click(Object sender, EventArgs e) { LinkButton btn = sender as LinkButton; GridViewRow row = btn.NamingContainer … Web Development asp.net file-system | |
Hi All, I was wondering if anyone could help me with this one. If you want to see what I have at the moment goto [url]http://www.personally-yours.co.uk/indev/test/state_dropdown.php[/url] This page has two drop downs, the bottom one is populated depending on what is selected in the top one. What I want to … Web Development image javascript | |
I am looking for a PHP tutorial or a script to write a small email contact form in OOP not the procedural method. I would like to use the mail server connected to my hosting services as opposed to sending it through Google. Thanks! WBR | |
hello, how can I display a data (ex. course) in a drop-down list whenever I add a data? thanks! Web Development php | |
Hi I have a site with 2 pages. The first page consists of a set of input fields where the data input by the users will end up in a db when the user clicks the submitt button, creating a new record. As well as this on click the users … Web Development asp.net | |
I can encrypt with ENCRYPT ------------ $pass = $_POST['sort_code']; $query = "INSERT INTO customer(sort_code) VALUES (AES_ENCRYPT($pass,'key'))"; the above code take a value from form and puts in the database as encrypted value. The field type of the sort_code in my database was varchar but now i have changed to BLOB. … Web Development apache api encryption php | |
Hi I had a php page with some datas. When a visitor visit this page I need to show a div until the page loads completely... I tried many but cant.... Please any one help me with right idea or a bit of script ...... Thank you for your time … Web Development php | |
Hello friends, I am displaying the comments suggested by 4 faculty members for each student. I want displaying three columns. Let me start with the second column first, which displays the Faculty 1, faculty 2, faculty 3, faculty 4. The third row display respectively comments given by faculty. Ok. Now … Web Development php | |
Hello. I am completely new to web development but want to learn PHP. I am currently a Sys Admin working in a Windows environment but I am very familiar with Linux OS server platforms also having built and run both a Windows and Linux web, MS SQL, and MySQL servers. … Web Development php web-server windows-server | |
Hello, I have this snippet of code to echo out the "mailer_id" with the largest value - [CODE]<?php $result = mysql_query('SELECT MAX(mailer_id) FROM mailer_directory')or exit(mysql_error()); echo 'the max mailer_id is ' . mysql_result($result, 0); ?>[/CODE] My question is how do I echo out the corresponding email value for that field … | |
hi i use a gridview control with a template column which contains textbox as itemtemplate. i'm trying to change the textbox's border color in runtime like this: [CODE=asp]((TextBox)MyGrid.Rows[i].FindControl("txtEnter")).BorderColor = Color.Red;[/CODE] but it doest change anything. what am i duing wrong ? Web Development asp.net | |
hello experts, I have created filter grid in asp.net & C#. My form design has contains 3 dropdown controls and Filter grid(User control). Its working fine(filter), but one problem arise. the form controls are clear when i filter a grid(post back). I tried to reterive values using view state, hidden … Web Development asp.net listview web-design web-server | |
Dear Friends, I am working on a project where i have a JSP page(ex1.jsp) and in that JSP page i have 2 frames((ex2.jsp on top) and (ex3.jsp in bottom))...When ex1.jsp is called..it has to load ex2.jsp frame and ex3.jsp by passing some paramenters to it.. Please see the code.. [code] … | |
Hi alll... Am planning to design my web page with flash. Can any one guide me. Whats the first step to start????? Web Development asp asp.net flash web-design | |
Hi, all. Really new on php!! I want to implement one function which could get the price depending on different size and calculate the total price. So i made foo.php and bar.php. Which people could choose the size and the price in foo.php and want to pass which they choose … | |
Hi, I want to display a java script confirmation box before browser session is timeout with message as "Your session is going to timeout in 2 mins. Do you want to extend session?", if user is clicked on "Ok" button within the session timeout period, session should be extend. If … Web Development asp.net javascript session | |
I created a dataset in the Dataset Designer by draging a database table into it, then I added a new select SQL query to the DataTable. Check the pics I think it helps explain it better. [URL="http://i43.tinypic.com/2qs7707.jpg""]http://i43.tinypic.com/2qs7707.jpg"[/URL] Now the problem comes when I try to use an ObjectDataSource, it sees … Web Development asp.net dataset visual-studio | |
This is an error message i get, [B]Warning: get_meta_tags([url]http://www.fashionworld.co.uk/[/url]) [function.get-meta-tags]: failed to open stream: HTTP request failed! HTTP/1.1 500 Document follows in /home/skmehta/public_html/test/show_booked_1.php on line 671[/B] i am designing a website where the user can save the URL's of the webpage they like most with some pictures from that webpage … Web Development php | |
I have a .htaccess file which forwards non www request to www [code] Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^mysite.com [NC] RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301] [/code] However, I have a problem if i were to put into the url mysite.com/test.php it will not forward to the www site. Any help … Web Development php | |
hi this is chandu.....i realy in a mess...plz do help...i just want to know how to begin within order to create quiz software using php.........plz explain in brief...plz plz.... Web Development php | |
Hi, i want a code to open an exe file in asp. please explain me in detail. Web Development asp.net | |
Hello Daniweb community firstly i would like to thank you for reading this So i am working on a server for a friend of mine, and i am fairly new to PHP, the server is at ambience.selfip.org site is going fairly good so far, i went through a few ideas, … Web Development php | |
please how can i create a form with three drop down list menu and when submit button is clicked it return a result depending on the choice made from the drop down menu Web Development first-post php | |
Hi everyone! I really love this forum, it's by far the best coding forum I've been to. I have been attempting form validation and login security for about a month now, and I made the mistake of using all JavaScript for validation (though my site requires JavaScript...sooo I could always … Web Development php | |
Hey all! Pretty simple I hope :D I have a website that absolutely requires JavaScript to be enabled for it to work. How can I make it so that if a user with JavaScript disabled tries to view my site they are redirected to an error message? Thanks! Web Development javascript | |
Hi Guys, I'm having a problem with the below code. It's probably a simple mistake as I'm relatively new to PHP, and even newer to socket programming. The background is that I'm developing a socket server for a multiplayer game. Here is the relevant code: [CODE]class PlayerList { var $plist … Web Development php socket-programming | |
Hi everyone, Im making a game that requires a login. Ive got stuck on a problem; When a user tries to log in, it wont accept it, its in the database, the script checks the database, but it still says no Here is my login check: [code=php]<? session_start(); header("Cache-control: private"); … | |
hi i design a php event calendar but it showing some error, anyone check it plz.. Parse error: syntax error, unexpected T_ELSE in W:\www\Calendar-php\admin\calAdd.php on line 149 [code=php]<html> <head> <title>Calendar: Add</title> <META HTTP-EQUIV="refresh" content="1;URL=../calendar.php"> <LINK rel="stylesheet" type="text/css" name="style" href="../calendar.css"> </head> <body bgcolor="#FFFFFF" text="#000000"> <?php //returns highest key in the database … Web Development database-design html-css php | |
Hello all, i am receiving this message only when i am loged in as a user, when i view the page as a visitor there is no error. this is the code in the file, if someone know what the problem coul be please tell me. thanx [code=php]<?php include("admin/config.php"); $ipgf=99; … Web Development php | |
i was trying to configure about how to work with <select> tag, when i was stuck with this problem: when i choose the <select> tag with PHP, i just want that that value of the <option> tag on the <select> tag will be the value selected after i submit the … Web Development php | |
Hi ... i need to inserting around 20 values...which method is best in ajax post or get..i dont know abt ajax..plz send me ajax registration or small form (which having inserting records into db) ...i can learn by using this.... Thank u.. Web Development first-post php | |
I have a form that sends the value of my input box to search.php where I cature it using POST: [code]<form method="post" name="boxsearchform" action="search.php"> <input name="INPUT" id="INPUT" type="text" value="" /> <input type="image" name="search" src="searchboxgo.gif" /> <select name="choosevar"> <option value="title">Title</option> <option value="colour">Colour</option> </select> </form>[/code] What I would like is to use … Web Development javascript | |
We have integrated Paypal with our application and everything is working perfectly. But after the transaction is completed and successful we need that it should redirect to our application again. But its not happening. We have turned on the auto return option in the paypal too but its still not … | |
Hello, I'm just trying to gauge how often this is used in real world development, it would seem that most would use databases for storing information instead of putting them in text files right? I'm in my first PHP MySql college course. Last week we just finished a chapter on … Web Development php |
The End.