52,566 Archived Topics
Remove Filter ![]() | |
Hi All, I would like to seek for help in the matter above.. How can I delete row data in datagrid? Web Development asp.net | |
Hi all In my web application i have validation controls. On selected index change of drop down list i set Enabled property to false of certain validations but they are still enabled. Drop down list is inside update panel. Strange part is the that it works fine on my local … Web Development asp.net | |
Hi, In our project, I wrote the below code to upload any file of size less than equal to 2MB, in my local XP system working fine, when i deployed to client server having config windows server 2003, i got request time error when size is more than nearly more … Web Development asp.net client-server file-system windows-server | |
Hello, I'm working on a hardware project based on the RabbitSys chips, which are ideal for web based hardware development. My task now is to divide a table up in pages and i'm able to set a variable from a webpage like "CurrentPage=1" and calculate my way around. the ZHTML … | |
hi.... ZSLGRREN i am to late to reply , sorry i have used your code of changing color of selected row of gridview but problem is that color is not stable . after click event fire color is disappear... so plz help... Web Development asp.net | |
Hi friends In one of my project I just need a rich text editor . A simple one which containing bold, Italics, Underline, Image , Link ... which must output like [CODE][url=""]asdasd[/url][/CODE] I m very new to this and can anyone suggest me a free one ? Thanks in advance … Web Development php | |
hi... frnds i want to hold the position of selected row of gridview using update panel... plz help.. | |
I am having problem with the yahoo search API,sometimes it works and sometimes don't why I am getting problem with that I am using this URL [CODE]http://api.search.yahoo.com/WebSearchService/rss/webSearch.xml?appid=yahoosearchwebrss&query=originurlextension%3Apdf+$search&adult_ok=1&start=$start[/CODE] The code is given below: [CODE]<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <? $search = $_GET["search"]; $replace = " "; $with = "+"; $search = str_replace($replace, … | |
I am getting this error ,can anyone help me : Warning: Invalid argument supplied for foreach() in /home4/thesisth/public_html/pdfsearchmachine/classes/rss.php on line 14 Here is the rss.php code [CODE] <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <? $search = $_GET["search"]; $replace = " "; $with = "+"; $search = str_replace($replace, $with, $search); if ($rs = … | |
Hello, I posted here as although it's in regards to mysql the thing i want to ask is in regards to php itself. I have two tables below as follows: [CODE]CREATE TABLE `users` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `status` char(10) NOT NULL, `username` varchar(15) NOT NULL, `email` varchar(50) NOT … | |
Hello, I'm encountering an AJAX problem when I try to execute multiple AJAX requests at the same time. What I want to do is delete a message and display the status (succes or failure) of that in [I]div1[/I], and refresh the messages on the page in [I]div2[/I]. This needs (for … Web Development javascript | |
hi to all, I'm new in mysql and I have a problem regarding deleting rows. I have 38 tables in database and I want to delete rows in all tables with specific ID that is executed in just 1 click. For example, I executed ID number 1 then it will … Web Development php | |
I am making a mysql fulltext search. my database table article1 has ~18000 articles, article2 has ~7000 articles, article3 has ~13000 articles. FIELD cat is a INDEX field Now I want to make a union search. there are 5 groups words put into 3 table, match out the results. But … | |
Hi, I was in a urgency of some requirement that was given to me.. I want to access my mater page control in my child page can any one give some assistance regarding this.. Web Development asp.net | |
I keep getting this error when I try to run and print out the results of my database query. I know that this error usually mean that my query failed but i can't figure out what is wrong with it. [CODE=PHP] $genre=readline("Enter Genre: "); $query = "SELECT movie_title FROM movie … | |
hi to all, I'm new in mysql and I have a problem regarding deleting rows. I have 38 tables in database and I want to delete rows in all tables with specific ID that is executed in just 1 click. For example, I executed ID number 1 then it will … Web Development php | |
hi, although, database is connected and admin table of my database consist of 2 rows of data, I still get 0 value for $numRow=mysql_num_rows($result); And mysql_fetch_array doesnt fetch values properly plz can any body help me thx in advance [code]<?php //include_once 'config.php'; /* 1. Got the username and password from … | |
![]() | Hi, Does anyone know how to add an [URL="http://ajaxload.info/"]ajax loader[/URL] to the [URL="http://jquery.bassistance.de/validate/demo/milk/"]remember the milk[/URL] validation example? So that while the backend is busy, it shows the gif, when it's finished, it hides the gif... Thanks, Ashton. Web Development javascript javascript-jquery |
the below code is to updata a database with calculated taxes and days late. It results in the message:[QUOTE]error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\invoice[/QUOTE]. Can someone help with this? [CODE]<?php $stat = mysql_connect("localhost","root",""); $stat = mysql_select_db("oodb"); $query = "SELECT invnum FROM oocust WHERE payrec = 'R' … Web Development php | |
Can anyone explain what the $PHP_SELF global variable does in the following script? <html> <body> <?php $db = mysql_connect("localhost", "root"); mysql_select_db("mydb",$db); $result = mysql_query("SELECT * FROM employees",$db); if ($myrow = mysql_fetch_array($result)) { do { printf("<a href=\"%s?id=%s\">%s %s</a><br>\n", $PHP_SELF, $myrow["id"], $myrow["first"], $myrow["last"]); } while ($myrow = mysql_fetch_array($result)); } else { echo … Web Development php | |
I have some image, in my page, code: [CODE]<img src="/path/to/the/upload/folder/<?php echo $filename; ?>"/>[/CODE] Can you help me display it as link, ex: [CODE]<img src="http://imagelink.jpg"/>[/CODE] if you have free time, teach me how to display multi image with code above. Thank you so much | |
Hi everyone, I need to find the Latitude and Longitude values for a moving vehicle from the Google Maps, using javascripts. Can you give the sample code, please help me. Web Development javascript | |
Hi every1, I have a recursive function for building dynamic menu, and it gives me this error: "Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261900 bytes)" Any ideas? Web Development php | |
Hello; Could you please help me figure out why this form of mine does not show all the DIVs when I choose all the checkboxes of the Page Kind. [ICODE] <%@ Page Language="VB" MasterPageFile="~/_templates/MasterPage-ContentNormal.master" autoeventwireup="false" inherits="SierraClub.PublicSite.BasePage" title="Add This" %> <asp:content id="content1" contentplaceholderid="maincontent" runat="Server"> <style type="text/css"> body{ font-family:"Lucida Grande", "Lucida Sans … Web Development http-protocol javascript social-media | |
Hi, I'm a bit new to SQL and this is my question... Do I need to filter user input that has no connection with SQL database, e.g. $x=$_GET['pageno']; if ($x == 'help4') { print "This is help page no4."; <some mysql queries goes here> } ![]() | |
Morning, and greeting to all~ I'm building a [B]registeration form[/B] for a forum i got 3 input : [B]User Name, password, and email[/B] In this case i use [B]ajax[/B] to do the [B]duplicate validation check[/B] once the registering user entered a name or email that has been took by other … Web Development javascript | |
In mysql, the table consist of informationtype, status and informationno , [CODE] $information = mysql_query("SELECT * FROM table WHERE informationtype='message' AND status='waiting'"); $row = mysql_fetch_assoc($information); $result=($row['informationno']); [/CODE] The query result are 4 rows. The informationno are 11001; 11002; 11007; 11009; If I intend to express the results in term of … | |
This script adds a backslash to content added to description when saved. single quote becomes ' while double quote becomes \" I want to remove the backslash. i have tried stripslashes but still couldn't get it to work. <?php defined('_JEXEC') or die('Restricted access'); $newjob = $this->newjob; $editor = & JFactory … | |
Hi, I don't get why my funcion finds the string even if it doesn't exist in textfile: [CODE] function name_exists($name) { $f = fopen($this->path, "r"); //echo $this->path; while ( $line = fgets($f) ) { if(strcmp($line,$name == 0)) { echo 'exists'; fclose($f); return TRUE; //we found it and can stop the … Web Development php | |
I would like to have a picture covered up with another image then I would set a countdown and the top image would be slowly disappearing, pixel by pixel till the bottom image is fully visible, any ideas? I did try a few scripts related to: imagesetpixel imagelayereffect imagealphablending but … | |
[CODE]<html> <head> <h1>Welcome</h1> <h2>back</h2> <form action='get.php' method='GET'> Name: <input type='text' name='fname' /><br> Age: <input type='text' name='age' /> <input type='submit' value ='clik here' /> </form> </head> </html> <?php $fname = $_GET['fname']; $age = $_GET['age']; if ($fname && $age) echo "your name is. $fname , and your age $age <br>"; echo date … Web Development php | |
Hi there. I have a problem: I want send every image to every div and display. My code: all.php [CODE]<? $files = glob("output/*.*"); for ($i=1; $i<count($files); $i++) { $num = $files[$i]; print $num."<br>"; echo '<img src="'.$num.'" alt="random image" />'."<br><br>"; } ?>[/CODE] index.php [CODE]<img src="all.php" alt="image">[/CODE] So, I don't know how … | |
hi i am a new user of webdevelopment. i work with php mysql and load site about 8 months ago i face a problem that google not search my sites. how i overcome from this problem. as i search on google how to do its but not working. please sugeest … ![]() | |
Hi! I have a page and it's on 000webhost.com. But they don't allowed to add upload script. So, I thought, is it possible to make a php script that will upload file to one other server (this other server doesn't have installed php). Is this possible? If so, how? Thanks … Web Development php | |
| |
Hi I have a gridview that based on a table of 18 column which makes the web page of too large width. how to make a gridview in a more acceptable to final user in shape? or is there a better control of the same proprties Web Development asp.net | |
hi I want to set an authentication in two different computers if the master is logedin then the slave authentication can login else the slave authentication on the other computer in a network can not enter to the authentication page. [B]I can not use database to store the authentication as … ![]() | |
hi i would like to do like this +2007 +2008 -2009 +BCA-I +BCA-II -BCA-III Advance Web PRogramming.pdf JAVA.pdf OB.pdf +PGDCA +M.Sc. +2010 like this code i want as when user click on + then open like 2009 example and open classes like BCA etc. and after click on bca than … ![]() | |
1.<?php 2.session_start(); 3.$con = mysql_connect("localhost","root","") or die(mysql_error()); 4.$db = mysql_select_db("registration", $con)or die(mysql_error()); 5.function mss($value){ 6. return mysql_real_escape_string(trim(strip_tags($value))); 7.} 8.function s($value){ 9. return stripslashes($value); 10.} 11.function topic($input){ 12. return nl2br(strip_tags(stripslashes(htmlentities(htmlspecialchars($input))))); 13.} 14.if($_SESSION['uid']){ 15.if(mysql_query("UPDATE signup SET gender='".$_POST['gender']."',status='".$_POST['status']."',date='".$date."',option='".$_POST['option']."',religion='".$_POST['religion']."',description='".$_POST['description']."',political='".$_POST['political']."',location='".$_POST['location']."',home='".$_POST['home']."',other='".$_POST['other']."' WHERE id='."$_SESSION['uid']."'")){ 16.echo"<p>updated successfull</p>"; 17.} 18.} 19.else { 20. if (!$_SESSION["uid"]){ 21. header("Location:unregistered.php"); 22. exit(); … Web Development php | |
I saw one page where image was loading. First, there was something like this image (in this text: first image): [URL="http://www.lutrijabih.ba/images/loading.gif"]click[/URL]. And then, when image (real) loaded, it replace first image. Do you maybe know how to do that? (I don't remember the URL of this page.). Thanks! Web Development javascript | |
This contact.php will process the data and send it to my email. I want to achieve this effect, when user submit the form correctly, it will display a alert, and then redirect the page to : thankyou.html. When there is some error, it will display another alert, and then redirect … Web Development php | |
I have made two programs in servlet....one for setting attribute and another for getting that attribute.... Here are those programs... /* For Setting Attribute */ [code=Java]import javax.servlet.*; import java.io.*; public class SettingCntx extends GenericServlet { ServletContext ctx; public void init(ServletConfig cfig) { /*Obtain the ServletContext object*/ ctx = cfig.getServletContext(); } … Web Development java-jsp | |
Hey guys, I am wanting to find to see if a variable is in the array: Here is my code: [CODE] $domainlist = array(".com.au",".com",".co.nz",".net.au",".net",".net.nz",".org.au",".org",".org.nz"); $serverlist = array( ".co.nz=whois.srs.net.nz|220 Available", ".com=whois.crsnic.net|No match for", ".net=whois.crsnic.net|No match for", ".org=whois.publicinterestregistry.net|NOT FOUND", ".com.au=whois.aunic.net|No Data Found", ".net.au=whois.aunic.net|No Data Found", ".org.au=whois.aunic.net|No Data Found", ); foreach ($serverlist as … Web Development client-server php | |
Hi there This is my problem: - Upload image (not important) - Store its in [filename].php - Show [filename].php like image.jpg in show.php (gallery) Can you solve? Thank you so much | |
i have a hyperlink that when i click then will show me an output of listed names. i want to have this list arranged from A to Z in . thanks. um using PHP. Web Development php | |
Hi all, I have a html page with html form input boxes in it. What I want to do is validate these input boxes with javascript. I have a span element(error message) next to the text boxes which will only be visible when the user submits the form without entering … Web Development javascript | |
i've been attempting to execute this code , all i got was an error. [CODE]<?php $connect = mysql_connect("localhost","root","") or die ("connection failed!"); mysql_select_db("users") or die (mysql_error()); echo "connected!" $extract = mysql_query("select * from member order by id ASC") or die mysql_error(); ?>[/CODE] and this error appeared : [ICODE]Parse error: syntax … | |
can somebody check my code...i really don't know what's the problem is... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <style type="text/css"> <!-- body { margin-top: 50mm; } --> </style> <script src="gen_validatorv4.js" type="text/javascript"></script> <script type="text/javascript"> function upperCase() { var x=document.getElementById("specification").value; document.getElementById("specification").value=x.toUpperCase(); … | |
Hello, I'm building a database using SQL and PHP and I've started on the user interface first rather than the database queries and everything - a little backwards perhaps. I have a login button that disappears for some reason when I add in a function for my search button. Here's … Web Development html-css php session user-interface | |
The End.