52,566 Archived Topics
Remove Filter ![]() | |
hello guys? i was recently studying how ajax work, problem is i followed some codes on the net and check if they work..they work on the site,but the time i tested those codes it wont work anymore..any ideas?ive tested js and it works on my browser... [code] <html> <head> <script … Web Development javascript | |
Can anyone help? I want to execute a function depending on what select dropdown is chosen. The select name is dynamic so I need it to happen in one function loop For e.g. The following function works and returns the correct class but its not going to work for my … Web Development javascript | |
I need some help with my coding:(. I have a php file with a delete link. It flags the user record with "1" when delete is clicked. What I don't know is that "how to remove the user record from my php file". The user record is fetched from mysql … | |
I am desperately trying to figure out HOW to add tracking code to my rotating banner. I have random "onload", rotating banner ads on my website. The script works like a charm and will randomly load a banner ad when you go to the site and will continue rotating the … Web Development javascript | |
Hi frnds.... i need Javascript Validations...these validations by using [B]onchange or onblur[/B] events..i mean when focus out from a textbox or any field then immediatley shows the error msg and focus will be at error field(not after submitting the form)..i want error immediatley focus out from the field...plz provide 4 … Web Development javascript | |
Hello all, I have spent a good few days looking over daniweb trying to get the right answer, But I am yet to find what I am looking for. I have successfully upload my image to a folder store and named my uploaded image. The path and file name is … Web Development display file-system image mysql php | |
when posting a new message on my forum and it contains a url. How do i automatically add the bbcode url tags to a url in the message? Web Development php | |
guys, i have this function: [code] Public Function GetDataSource(ByVal dataItem As Object) As DataTable Dim intNo As String = DataBinder.Eval(dataItem, "Item_No") Dim blahdt As DataTable = tempdt [COLOR=Red]'blahdt.DefaultView.RowFilter = "Item_No='" & intNo & "'"[/COLOR] [COLOR=Navy]'blahdt.Select("Item_No='" & intNo & "'")[/COLOR] Return blahdt End Function [/code] i want to filter my datatable, … Web Development asp.net | |
![]() | I am posting this code snippet as I continue to see login and user registration scripts that store passwords in databases as unsalted md5 hashes, and passwords in cookies as raw text. This snippet includes an example user registration function, as well as an example user login, login check, and … Web Development php |
hi all, i am having a page with date picker. so now when i select a date, images uploaded on that date will be displayed in a table.The date picker will not change,only the below div will change. so now i had a edit button beside date picker.so when i … Web Development html-css javascript-jquery php | |
hi.. i m getting parse error ...... can anyone help me how can i remove it........... [B]Parse error: parse error in c:\apache\htdocs\newhr\attendnce.php on line 21[/B] [CODE] <?php mysql_connect("localhost","root","root"); mysql_select_db("master"); $dates = array(); $employee = array(); $attendance_record = array(); $getdates = "select * from mar10 order by Date" or die(mysql_error()); $dates_resultset … | |
Hello, I'm trying to create an app where the user can search the database using different controls. For example let's say the user can search by date (calendar control), country (DropDownList), states (DropDownList) and cities (DropDownList). So far I have the DropDown controls working. The user selects whatever they want … | |
hi, In this example: [CODE]public void init() throws ServletException { bookDB = (BookDBAO) getServletContext() .getAttribute("bookDB"); if (bookDB == null) { throw new UnavailableException("Couldn't get database."); } }[/CODE] As it is not instantiating the BookDBAO instance and the connection with entity manager is done in the constructor: [CODE] public class BookDBAO … Web Development java-jsp | |
Hi, I have created table in database mysql and I created register form and I wrote insert code ,when we run the php file there is no but given data is not inserted in database....I need help,I am new to php.... This is my code i have used,........ <?php if(isset($_POST['submit'])){ … Web Development php | |
this is my table structure [CODE]CREATE TABLE IF NOT EXISTS `test` ( `id` int(11) DEFAULT NULL, `disable` timestamp NULL DEFAULT NULL, UNIQUE KEY `id` (`id`,`disable`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;[/CODE] Assume values as [CODE]INSERT INTO `test` (`id`, `disable`) VALUES (1, NULL), (2, '2010-07-27 15:52:20'), (3, '2010-08-03 00:00:00'), (5, '2010-07-28 15:53:39'), … Web Development data-structure mysql php | |
hi all, i had a page in which list of images can be seen by selecting some date. so now in that table i am having a dropdown of users. so if i select a user and click submit that username, imagename,size,type should be stored in database,but i cant store … | |
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class userreg : System.Web.UI.Page { SqlConnection con; protected void Page_Load(object sender, EventArgs e) { } protected void ImageButton1_Click(object sender, ImageClickEventArgs e) { … | |
I have an Update query to update a MySQL database. Everything seems to work fine except one form field..."bulbDesc". When I enter data into this field, which is longText type in MySQL, it disappears. Meaning when I go back to my view page, the bulbDesc in that particular record is … Web Development coldfusion | |
hi all, i have a code that add dynamic row and it has an option that it allow to delete rows by checking checkboxes. can anyone help me to check all checkoboxes at here is my code [CODE]<HTML> <HEAD> <TITLE> Add/Remove dynamic rows in HTML table </TITLE> <SCRIPT language="javascript"> function … Web Development javascript | |
Can anybody pls help.. I need the script to upload image in ASP... Thanks in advance... | |
Hi there, I couldn't find a solution to this small problem so posting it here. I have some hardcoded values I want to send back to the browser. When I have this code: [code=php] ... $cr1 = '{"date_added":"8/3","type":"1","contact":"John Smith"}'; $cr2 = '{"date_added":"8/7","type":"2","contact":"Jane Smith"}'; $company_reqs[0] = json_decode($cr1,1); $company_reqs[1] = json_decode($cr2,1); $company_data['reqs'] … | |
Dear Friends, Please help me with this issue. the design of my database isnt well normalized, but due to the ammount of work done based on this queries i found it more difficult to have to change the whole design . Instead im trying just to solve it. i have … Web Development database-design mysql php | |
Now, knowing I'm fairly new on this whole PHP, MySQL, and HTML project. I'm working as an intern and my boss has run out of things for me to do so I'm creating a data driven website for him. I'm having a hard time with getting to work right. Here … | |
this snippet is to create random passwords with a chosen length and a specified number of numbers. Uses both lower case and capital letters, which are chosen at random. And example is: wep5Q268LtTe. [B][U]How to use.[/U][/B] Using this is very easy just add to the appropriate page and call the … Web Development php | |
I just used: ant ant deploy and it gave me following error: [code=text] deploy: [echo] localhost [echo] 8080 [echo] order [echo] C:\glassfishv3\glassfish\docs\javaee-tutorial\examples\bp-project\ma in.xml/../../../../../../bin/asadmin.bat [echo] order [echo] SQL92 [exec] Deprecated syntax, instead use: [exec] asadmin --port 4848 --host localhost deploy [options] ... [exec] com.sun.enterprise.admin.cli.CommandException: remote failure: Excep tion while loading the … Web Development java-jsp java-netbeans xml | |
Hi all, I have a big problem. I am very new to php and sql and I need to create a login web page page for access to a database I have created in mySQL. I have located a script online here: [url]http://php.about.com/od/finishedphp1/ss/php_login_code.htm[/url] that basically explains the entire process. My … Web Development php | |
Maybe someone can figure this out because I sure have been having problems with it. I am looking to have a javascript that can be included a page that can highlight or set a border for a the div, p, span, or img DOM element when clicked on. Now this … Web Development cms javascript | |
Hi all, 3 tables : one events table (each event can have differents types) one types table (each type can have differents events) and one liaison table (link between events and types tables) I have some problems when I show screen. [code=php] <select name="type[]" size="10" multiple="multiple"> <?php $req_type = "SELECT … Web Development php | |
Hi, I am outputting a query into a table. I am listing titles of workshops, and dates and times. If there is more than one date/time for a workshop, I add a separate row for each date/time. I would like to have all the rows for each workshop be the … Web Development coldfusion | |
I am trying to debug a form that is basically a popup where the user enters a date and then two more dates are generated based off of date and the user can then edit those dates. When the user tries to save the second set of dates the "Element … Web Development coldfusion java session | |
I'm really new to javascript how do I make it that when I click a button a number on my page in the <p> tag with the Id of num gets 1 added to it so it i like 2,3,4,5 each time I click Web Development javascript | |
We have developed a website which connects to a third party Server and sends a request with some data, and receives the result and displays in our Website. We used IIS server to host this site. How this IIS server handles if two different users send data to server simultaneously? … Web Development asp.net | |
I don't know if there is something unstable about using $_SESSION variables or not, but I've written user management scripts for my website, most of the time everything works okay but sometimes my server goes off on it's own and I can't load any pages on my server until I … Web Development apache client-server hard-drive php session | |
Hi everyone This is my first post here and it would be great if someone could help me with this small problem. I have a PHP script which inserts form data into a MySQL database. But clicking on the Submit button produces the following error:- [COLOR="red"]Database ERROR: You have an … Web Development php | |
Hi, I have a bunch of uploaded files in a folder. Now I want to be able to get the names of these files that are stored in the folder using PHP so that can I create direct links to each file from my page. ie can PHP read the … Web Development php | |
[url]http://www.lincolnsrealdeals.com/loc2f.php[/url] produces three javascript errors: Line 49, Column 27: character ";" not allowed in attribute specification list Line 49, Column 27: element "innerdivs.length" undefined Line 54, Column 9: end tag for "innerdivs.length" omitted, but OMITTAG NO was specified What are the errors really saying? Web Development javascript | |
Hello people, On my site i am using a .htaccess file with a simple rewrite rule: [code] Options +FollowSymLinks RewriteEngine on RewriteRule ^servers/(.*)/ index.php?action=servers&id=$1 [/code] Allowing visitors of my site to use [url]www.example.com/servers/1/[/url] - which will grab and display the correct page from [url]www.example.com/index.php?action=servers&id=1[/url] In the index.php file, there are … | |
Hi everybody, I don't understand waht does bigint(20)in MySql means. First I thought bigint(20) means number from 0 to 99999999999999999999 digits, but I made a test with bigint(2). I thought bigint(2)=number from 0 to 99, but it's not. Did you know anybody? I'll be happy to know. Thank you :) | |
hi guys, pls can someone pls help look into this code.. i'm trying to create a code that will add data into the database.. after inputing, its giving me the "ERROR: Please fill in all required fields!" error [CODE]<?php /* NEW.PHP Allows user to create a new entry in the … Web Development php ![]() | |
Hi, I am using DataGrid, Now I want to know to get all values from that Datagrid. How can I acheive. Thanks in Advance, Visweswaran V | |
Hi all I am in need to of some help. As I just sorted out a loging scritp to. I can't seem to add a downloading counter within the members page. So say for example after when the user logs and then wants to view the speacial page the download … Web Development html-css javascript-jquery php | |
I am copying from microsoft word a simple word into my application(rich text editor).. i get special characters added to it. how can i get rid of them? how can i solve the issue? thank you Web Development javascript | |
Hi all I have multiple select boxes that have various options such as 'bangles', 'rings', 'earings' etc and I have a div that doesn't display until an option has been selected from one of the select boxes. If the option 'rings' is selected I don't want to display the div … Web Development javascript javascript-jquery | |
Hi everyone. Could some assist me? I have a link. [code] <a href="index.php?make=<?=$mead_make?>&model=<?=$model?>&veh_id=<?=$vehicle_id?>">Add to Cart</a> [/code] This HREF link is generated by a for loop from a mysql DB. All I want to do is add the veh_id to a array and keep adding them to a array until I … Web Development php | |
i have a form that i'd like to duplicate on the press of a button? [code] echo "<form enctype='multipart/form-data' action='rapidinsert.php' method='post' name='changer'> <br /><br /> <font color='#D99C29' face='Arial' size='3px'>Add Noun </font><input type='text' name='noun' value='' size='30' /> <input type='submit' value='Submit' style='font-size:10px' /> <input type='submit' value='Add form' style='font-size:10px' /> </form>";[/code] How do … Web Development javascript | |
Hi all, Here is my htaccess code for url rewrite: [CODE] RewriteRule ^(.*)/test.php$ test.php?language=$1 [NC] [/CODE] which will redirect [url]www.domain.com/english/test.php[/url] to [url]www.domain.com/test.php?language=english[/url] It is working fine... But when i have extra variable with that url then it doesn't work. e.g. [url]www.domain.com/english/test.php?name=abc[/url] should work like: [url]www.domain.com/test.php?language=english&name=abc[/url] But it is not working.. … Web Development php | |
Hello, I am currently developing a review site that requires displaying video reviews. I have created a PHP page that successfully retrieves all records from my video database called reviews.php. I have also created a page that a user gets redirected to when he/she selects a video entitled watch.php. The … Web Development javascript php session | |
Hi there, here is my code and I don't know how to add <br /> to get a return in the email received: [CODE]<?php $to = "myemail@gmail.com"; $subject = "From the website"; $email = $_REQUEST['email'] ; $yname = $_REQUEST['name'] ; $ycompany = $_REQUEST['company'] ; $yphone = $_REQUEST['phone'] ; $ymessage = … Web Development php |
The End.