52,566 Archived Topics
Remove Filter ![]() | |
Hi guys, This one is a bit out of left field but someone somewhere must have tried this before. Does anyone out there know how to control the width of the filepath textbox in a fileupload control? I have a form with a comment textbox, a filetype dropdown and a … Web Development asp.net display file-system | |
Hi, I am using paypal IPN integration and it is not working.Its IPN log is giving me this error FAIL: IPN Validation Failed. IPN POST Vars from Paypal: mc_gross=10.00, protection_eligibility=Ineligible, item_number1=9, payer_id=5PRJ3GQN8ES3J, tax=0.00, payment_date=00:11:51 Jul 26, 2011 PDT, payment_status=Pending, charset=windows-1252, mc_shipping=0.00, mc_handling=0.00, first_name=Test, notify_version=3.1, custom=, payer_status=verified, num_cart_items=1, mc_handling1=0.00, verify_sign=AiPC9BjkCyDFQXbSkoZcgqH3hpacA50-5o5SUpQAYyn8d.LtMHyzASv4, payer_email=test@test.com, … | |
hi i attached calendar.ics file with mail.It is sending fine after i opened the gmail inbox all contents are available but there is no available in download link but the download image displaying Thanks regards Web Development asp.net | |
Hi Frendz, How to get the id of an element using onClick Event in <body> tag using javascript? Web Development javascript | |
I am using a acript to control the input field of my page where it can enters numbers only in telephone field. Can anyone help me on how to modify the code to allow a symbol '+' ? [CODE] <script> function zz(txt) { var txt1 = txt.value.replace(/[A-z]/g, ""); document.getElementById('aa').value = … Web Development javascript | |
hello everyone. .i am an IT student. .can u help me how to make an online voting sytem?? i really dont know how to start my thesis :( Web Development php ![]() | |
I'm new to php, as my question will probably clearly show. I'm writing a simple program to track bills, and one thing I'm trying to do is include a "Find text that contains" box that will highlight certain fields in my table that match the search. The code I've written … Web Development php | |
hello everyone .... i have a submit form (number to word converter) .... my problem is when i clicked a my submit button it will not work ... "but" when i duplicate my form it WORK.. i wonder why...btw this is my code: (dont mind my coding hehe )... <html> … Web Development html-css javascript | |
I've tried a number of the HTML/CSS techniques to get my table to scroll horizontally but none of them work. The table has been wrapped with a DIV and the CSS has included the OVERFLOW code but all to no avail. The code is basically like this: [code=html] <div class="Divscroll"> … Web Development html-css javascript | |
heres my script [CODE]function count_chars(tarea) { if ( document.getElementById("checkchars").checked ) { x=document.myform.tarea.value; document.myform.charcount.value=x.length; } else { var x ; x = document.myform.tarea.value.replace(/\n/g,''); var y = x.split(' '); document.myform.charcount.value = x.length - ( y.length - 1) ; } } function count_words(tarea) { var y=tarea.value; var r = 0; a=y.replace(/\s/g,' '); a=a.split(' … Web Development javascript | |
Hi, Can anybody, give me some sample coding to list out the ouput by page wise in PHP. [CODE]Example: PAGE 1 2 3 4 NEXT PREVIOUS[/CODE] I needs to use this concept in my project. For example, in my database table, am having 1500 records with the field 'id' and … | |
![]() | hello, I have a DB table with records that have connection to one another. sort of like object a comes before b, and object c comes after c. table1- [U]Id, pre, post[/U] I have all the connections in the DB, what I'm trying to do is to make some sort … Web Development php |
One WordPress site on one of my servers is giving an incorrect HTTP response code when a page can not be found. On the end-user side, the user sees a custom 404 page. But on the web-server side Apache is giving a 200 or 300 response (not sure which one) … Web Development apache php web-server wordpress | |
Hello everyone, I am trying to write a simple web application where I have a mySQL table. I am using drop down menus to select options on how to filer the table.... i.e. select the subject, filter the table for just that subject and continue on. Anyways I'm trying to … Web Development javascript | |
Ok I'm trying to build a forum site. I have multiple tables representing the different categories that the user can select from. I'm working on the head page and what I want to do is retrieve the 10 last most recent comments posted across all tables. I want to use … Web Development php | |
Good day, The challenge I am experiencing is obtaining the contents of the private necessary to decrypt data. I've reviewed tutorials on public/private key generation and my keys are properly formatted. To debug, I substituted a pair of keys created a year ago when I took a course on secure … Web Development php | |
I designed an invoice system that add rows automatically and computes the results, print it in another file that can be downloaded by other users.can i get help on how to multiply the price and quantity to get amount? this is my code: <SCRIPT LANGUAGE="JavaScript"> function showamt() { //var unitprice … Web Development html-amp html-css javascript php | |
Hello everyone, I am working on a project and this is the error I keep getting.. Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\wamp\www\member-form.php on line 69 error on connect Can someone help me understand.. this is my code [CODE]<?php function FormDisplay($strMessage="**All fields are required!"){ … | |
I am trying to setup a form that will output html to the email recipient so the format of the email doesn't look all jacked while at the same time making sure the person is human and doesn't allow bad characters. (so it has a verification script and it strips … | |
I've tried this a number of different ways and I've even downloaded the Regular Expression reference sheet from addedbytes.com, but I just can't figure out how to move this eregi_replace() statement into a preg_replace() statement. I've read and understood the delimiter requirements for preg_replace(), but I think the problem is … | |
Hello all, I am trying to transfer some variables to another page for editing. I am having troubles with the checkboxes. [CODE]GridView1.Rows(e.NewEditIndex).Cells(12).Text & "~\/~" & _[/CODE] is a checkbox and when passed and split it comes up as a empty string. I know there has to be a way to … | |
I've created a toolbar in html that displays a series of icons that act as link to perform a variety of different functions. (the links aren't fully live yet but they will be!). I need to take this html and turn it into a bookmarklet so upon clicking the bookmark … Web Development html-css javascript | |
hey guys, I'm just wondering how you can link to another set of results within the original search results. For example with my code it displays a table and in one of the coloums, plot number, there is a list of number. I would know what to do once the … Web Development php | |
Good morning all, I recently started an entry level job creating web pages in ASP.NET/C#. I've been getting along fairly well but when I began doing cross-browser testing on a site I just finished, I discovered that while the site renders fine in IE, only the master page is rendering … Web Development asp.net web-browser | |
hello, I have a DB table with records that have connection to one another. sort of like object a comes before b, and object c comes after c. example- table1- Id | pre | post a..|..0..|..d.. d..|..a..|..g.. g..|..d..|..x.. g..|..b..|..x.. g..|..c..|..x.. ...... ...... I have all the connections in the DB, … Web Development php | |
hey there, in Java, I can take a text file and build a two dimensional array out of it. I hope I can do that in PHP as well but I can't seem to be able to do it. these are the specifics of my problem: I have an xml … Web Development php | |
I am working on a project on online e-commerce website.My requirement is that when a user clicks on "Add to cart" option some queries will be sent to the database and no redirection will take place.how to do this using jsp.(I don't know javascript). Web Development java-jsp | |
![]() | Hello, i attempting to edit an online payment form to connect to MySQl, i have managed to get everyting working up until the payment page. The problem i am having is sending the cart contents via encrytion to the server. When there is one product, there are no issues. If … ![]() |
Hello, I am trying to program my page so that when a user clicks on a column heading of a gridview, the data is sorted either in ascending or descending order. So far, I have done it so that the gridview can be sorted: [CODE] <asp:GridView ID="GridView1" runat="server" Height="143px" AllowSorting="true" … | |
I have the following code I am using to writing and reading cookies: [code=Javascript] //Get Villages from cookie function getVillageFromCookie(villageCount) { var currentVillage = -1; var villagesCookie = getCookie("tw_ratio_villageCount"); if (villagesCookie!=null && villagesCookie!="") { currentVillage = villagesCookie; } else { storeCookie("tw_ratio_villageCount", villageCount, 1); currentVillage = 1; } return currentVillage; } … Web Development javascript web-browser ![]() | |
How can i rename a part from a cell in a data table i have the folowing table id -------------- 35 albumdescription -------------- test 1 name -------------- 001.jpg type -------------- image size -------------- 97182 location -------------- test 1/thumbs/thumb001.jpg location1 -------------- test 1/slides/001.jpg I can change albumdescription and folder with [CODE]if(isset($_POST['change_name_alb_wein'])) … Web Development php | |
a javascript that count the number of words,lines,letters, spaces,special characters, vowels,consonants, sentence in a textarea I'm really noob in javascript but I do have an idea for counting words and letters Web Development javascript | |
Hi every one,pls am trying to copy the content of my fileupload unto an hidden text box so that users will not have to copy it manually,but it just copies the file name wit exception of the path.I need the path name but in IE9,firefox,opera all i get is the … Web Development asp.net file-system | |
Hi i have made a web page in html in which i want as user enters his data and press a button load then computers MAC id,CPU id and Motherboard id is automatically inserted in the check boxes.if u have any idea how to do it then tell me This … Web Development javascript | |
hi im working on on a personal project and i need some help on how to structure my database and query. so here is my problem and searching for a solution. on my site everyday there will have a daily article or item grouped in categories. now a user has … | |
hey there, I am trying to write a simple script that lets me remove lines from a file. I have an elementet.txt file that contains one-word lines. I thought that if I put the file lines onto an array, and then put back the array elements back on file, excluding … Web Development file-system php | |
Hi, I worked in PHP earlier. About 2 months ago, I decided to learn asp.net. I read book ASP.NET For Dummies (2006) and try the most of things in this book. Now I want some advanced things. Which book would you recommind for advanced ASP.NET? I would like to read … | |
Hi everybody, i make page which display all the record of the user in a table,i want to check if the time of the user login is great than 9:15 am the row background must be red, if not the normal white sisplay, i have the following script but not … Web Development php | |
I have the following HTML in a webpage that I want to mine for data: [code=HTML] <td id="topdisplay" class="menu-item"> <div class="bg"> <a href="/game.php?village=55303&screen=ranking">Ranking</a> <div class="rank"> (4<span class="grey">.</span>120.|2<span class="grey">.</span>124 P) </div> <table class="menu_column" cellspacing="0"> </div> </td> [/code] I want to get the data inside the rank class and get the numbers, … Web Development html-amp javascript | |
Can You Please help me where I am getting error.. :( I am using NetBeans and MicroSoft SQL Server 2005. [B]HTML CODE[/B] [CODE]<html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <form action="movie.jsp" method="POST"> <p><strong> List Of Movies:-</strong>s</p> <select name="moviename"> <option>powe</option> <option>ghi</option> <option>xyz</option> <option>Troy</option> <option>poer</option> <option>abc</option> <option>pqr</option> <option>qwe</option> <option>ghj</option> <option>RA … Web Development apache java-jsp java-netbeans sql | |
I need to use the mysql query result.following is the mysql query. [CODE] while($row = mysql_fetch_array($result)) { $name=$row['name']; } [/CODE] For example: result of above query is (name1,name2,name3...) The problem is... i need to return that result in the following function.How can i do it? [CODE] function results() { return … | |
[CODE]function populateHarga() { var x=document.getElementById("barang").value; document.getElementById("harga").value=x; var y=document.getElementById('barang')[document.getElementById('barang').selectedIndex].innerHTML; document.getElementById("nama_brg").value=y; } function populateTotal() { var y=document.getElementById("jumlah").value; var x=document.getElementById("harga").value; document.getElementById("totalnya").value=x*y; } </script> <html> <body> <?php include ("db.php"); $now=date("Y-m-d",time()); ?> <? if($_REQUEST['action']=="del") { mysql_query("DELETE FROM temp WHERE t_no={$_REQUEST['id']};"); } ?> <table border="0"> <tr> <td>No.Faktur</td> <td><? echo "$no";?></td> <td></td> <td>Tanggal Order</td> <td><? echo "$now";?></td> … Web Development javascript php | |
Dear All, I got few tables as below. So then what I do on any time I will calculate the total points collected based on each table via some of this queries like below. What I am using now is the sum function. I am confuse should I like run … Web Development php | |
Good day, I am climbing a wall trying to figure out why I can not retrieve the results of a mysql query to a php array. My query polls the database and it is retrieved but all the data is encrypted. I need to take the results and put them … ![]() | |
Hi Why there is a var function when we create classes?? I tried to use a variable with out type var before it and it worked Web Development php ![]() | |
I am reading a book and there is the following code inside : [CODE] if ( !isset( $_POST[$requiredField] ) or !$_POST[$requiredField] ) [/CODE] I can understand the first part of the use of isset function but I cannot understand what the second part does. Any ideas? Thank you very much. Web Development php | |
Hi, I'm getting the following error when i try to get the next sibling of the current node in php: Fatal error: Call to undefined method DOMElement::next_sibling() in C:\wamp\www\Ajax\getcd.php on line 1 does anyone know on what i'm doing wrong? thank you. cd_catalog.xml [CODE]<CATALOG> <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bob Dylan</ARTIST> <COUNTRY>USA</COUNTRY> … Web Development javascript php xml | |
This script displays the way I need it to when I manually insert it into my script with the correct value for $expdat: <span style="background-color:yellow">Expires ' . $expdat . '. </span> How should I escape the quotes to be able to echo it from a mysql table? If I just … Web Development php | |
[CODE]<?php //set host, username and password for MySQL $dbhost = "localhost"; $dbuser = "root"; $dbpass = "root"; //connect to MySQL or return an error $conn = mysql_connect("$dbhost", "$dbuser", "$dbpass") or die('Could not connect: ' . mysql_error()); //set database name $dbname = "database"; //select database or return an error $dbselect = … Web Development php ![]() | |
Hai frnds, Ahh...:?: I started learning PHP by my self frm somr Online tuts,And tried my first script.yes here it is [CODE]<html> <Head> My first PHP By my own </head> <body> <?php echo "My first program and its a failure" ?> </BODY> </html> [/CODE] But,The problem is..:confused: that iam not … Web Development php |
The End.