52,566 Archived Topics
Remove Filter ![]() | |
First of all i'd like to say hello to everybody. I've been working upon a script and i seem to be facing a problem with a mysql_query. Here it goes: I have 2 tables on my data base and there are some html forms through which tha data is entered … | |
Hello all, Just took a JavaScript class, where they didn't teach us anything about slide shows. Now I have a client and I promised them a slide show on their website. I made an external Js file, and Firefox debugger keeps on giving me this error: document[place].src is undefined. Here's … Web Development javascript | |
I don't know how to use the onmouseover event the text , then display the image. For example, I have a <p onmousever="">CHECK</p>, then when I move the mouse over the text, the image will display. Please help me! Web Development display image javascript | |
Hi I have an application that dynamically adds unordered lists forms as needed, then once the user(backroom) enters values in the form fields, the lists are saved to an action page and displayed. The lists are written to a page called vendorProductList.cfm and written as an unordered lists. Then that … Web Development coldfusion javascript javascript-jquery | |
[CODE]<?php mysql_connect("localhost","root","root") or die (mysql_error); mysql_select_db("test") or die (mysql_error); $ProductName = $_POST['ProductName']; $Price = $_POST['Price']; $Quantity = $_POST['Quantity']; $Description = $_POST['Description']; $query = "insert into ProductTable(ProductName,Price,Quantity,Description) value ('$ProductName','$Prioce','$Quantity','$Description')"; mysql_query($query) or die ($query); ?>[/CODE] i already review it,i have the database and is also connected and yet the browser is just … Web Development php ![]() | |
Guys i am trying to create a shopping cart in php + mysql. I have a page with product and one input button for each one of them. I want that when ever the product button is clicked it stores the data of product and amount in the database "cart". … | |
i am writing a program and i need to increment a table row. How would i increment a table row on the click of a button? | |
Using a php to copy a dir and when finished to redirect browser ie 1. print "wait" message in browser. 2. copy the dir 3. finished copy redirect page but noticed if dir is large (ie takes a long time) it is copied but the redirect does not happen, still … ![]() | |
Ok, so I used to be very good in HTML, PHP, and JS, but it's been a long time since I used it. been trying to make just a simple order form for a friends business. Though I wanted it to do server side validation and emailing... But it doesn't … Web Development php | |
First of all i'd like to say hello to everybody. I've been working upon a script and i seem to be facing a problem with a mysql_query. Here it goes: I have 2 tables on my data base and there are some html forms through which tha data is entered … | |
Hi I am after some code to place on my website. What I need is when someone enters text (their licens plate number) and chose some options then it is displayed on my image. I believe this is called dynamic text on a background image to make a new image. … Web Development javascript | |
I need to know how to link (via a regular href anchor on a different page) to content that is inside a tab that is not the default tab. Can this be done? My code will explain hopefully what I require: My Code: The following is my profile_edit.php page: ----------------------------------------- … Web Development javascript javascript-jquery | |
I am currently working on a project (contact IS) built using openlaszlo and I am using mysql as database... I use JSP as the servlet that will handle the connection to the database and present the information to openlaszlo as XML, however when I try to add a new contact … | |
hi, i m trying to make something like a login page and i used the following code to compare the Users password from a password text box and then compare it with the Database password to see if it is the same. nevertheless when i compare the strings the system … | |
Hi! I have created a modal dialog using Jquery and I am opening an aspx page inside the modal dialog. The code is as follows: ASPX Page: [CODE]<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, … Web Development assembly html-css javascript javascript-jquery sharepoint | |
I am creating a website that is going to allow customer's to view photography on the site and purchase it when selected for download. I have created all the php and mysql to be able to display the data correctly. But... to display the search results or recordset, how do … | |
i have a register and a log in page and it will not work. Here is the script for the register:[CODE]$myusername=$_POST['user']; $mypassword=$_POST['pass']; $cleanpwd=md5('$mypassword'); $myusername = stripslashes($myusername); $cleanpwd = stripslashes($cleanpwd); $myusername = mysql_real_escape_string($myusername); $cleanpwd = mysql_real_escape_string($cleanpwd); $sql="SELECT * FROM $tbl_name WHERE email='$myusername' and password='$cleanpwd'"; $result=mysql_query($sql); $count=mysql_num_rows($result); if($count==1){ setcookie('username', '$myusername'); setcookie('password', '$cleanpwd'); … | |
Dear all, Why below program not working .It gives fatal error. NOT WORKING [code] <?php class Class_access{ const a="50"; public $bb="Class Variable \n"; function display(){ //$Function_Variable; echo "Function Display \n "; //echo $this->bb; } } $obj=new Class_access(); $obj->display(); echo Class_access::a; echo "\n"; echo Class_access::$bb; ?> [/code] WOKING ====== [code] <?php … Web Development php | |
In facebook or twitter time of post is changing every minute on every post. Any idea how to make it? Web Development javascript | |
Hi guys, Issue is I have a grid view that I need to select certain values from to go into a SQL table. The following is my code from creating the grid though to the select button. [CODE] Partial Class _Default Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal … Web Development asp.net open-source | |
Hi, My script works but not the way I would like it to. [CODE]$file = $_FILES['content']['tmp_name']; if (!isset($file)) echo "please select an image."; else { $content = addslashes (file_get_contents ($_FILES['content']['tmp_name'])); $content_name = addslashes ($_FILES['content']['name']); $content_size = getimagesize ($_FILES['content'] ['tmp_name']); $user = $row_Recordset1['user_id']; if (!$content_size) echo "Thats not an image"; else … | |
Dear All, I am planning to show dynamically the different wheels setup of vehicles for eg. 4 wheels, 6 wheels etc. Then I want to allow for instance the user to click the front tyre into a icon representing for instance repair, rethread etc. Any idea how make this realise? … Web Development javascript | |
Hello, I want to build a online channels website where user can watch online channels in php. I have already done a lot of research. Can anyone tell me how can i get the live stream url of various channels E.g live stream url of sky sports is mms://live1.wm.skynews.servecast.net/skynews_wmlz_live300k so … Web Development php streaming-service | |
I need to create a script that will validate all of the text boxes the user must fill out by ensuring that: 1. the user inputs doesn’t leave any boxes empty 2. the user inputs a valid zip code 3. the user inputs a valid a email address [CODE][color="Red"]<!-- Hide … Web Development javascript | |
ear All, I have java function as below. If you notice this class calls another class that is SMSClient and in that class I have other classes called too. So then I write a php as below and is just call this function and return the results. I want to … | |
Hi, I have a successfully working system at the moment where a user can choose a file and upload it to my MYSQL database as a BLOB, but before the image gets saved as a BLOB I want to resize it. I have been giving this a try by using … | |
Im new at PHP but learning fast, I need help on getting the mysql result into the $imagedir value [CODE]//Select Query for images from db $query="SELECT id, fld_imagename FROM tbl_banner"; $result = mysql_query($query) or die(mysql_error()); //Loop to get path from query while($row = mysql_fetch_array( $result )) { $mydir = "imge_uploads/".$row['fld_imagename']. … ![]() | |
Hi all, I have trouble in updating my data using update query in which i need to update the a particular student id.Currently in my database table, I have the attendance table below and i need to update it using php update statement. ID Date 143 1/1/10 143 2/1/10 143 … ![]() | |
HI Friends, On Button click(postback), my dropdownlist of gridview is getting blank, so i m getting error of "Object Reference...." on the line "ddl.selecteditem.value" Also, dropdownlist's selectedindexchanged event is fired on Button Click(Page Postback), which is making the dropdownlist to go blank. AutoPostBack of dropdownlist is set as False, still … Web Development asp.net | |
I am fairly new to php but i do have some knowledge of it im justnot sure how to code what i want. if anyone can give me some idea of what code i need i'd really appriciate it :) anyway photo names will be uploaded to database with a … | |
Hi All, What is the importance of adding a favicon. I recently added a favicon to my site, just because I had it as an action item to do. Does it really affect your Search Engine Rankings, etc. or is it only a part of creating brand value? Web Development php ![]() | |
Dear Folks, This is anand, i m new to Tomcat5.5, i have given my directory structure i think nothing wrong with this but it is showing some error. Webapps I anand I WEB-INF, helloworld.jsp I classes,web.xml If i try to run my simple helloworld jsp program it is showing error … Web Development apache java-jsp web-server xml | |
I need some help with inheritance in php. The code below does not produce any output. [CODE] Class Father{ var $car; Function inherited(){ print $this->car; } } Class Son Extends Father{ Function __Construct(){ $this->car='Benz';//I'm assuming here that car is still a property of father. } } $obj= new Father; $obj1= … | |
Hi Guys, I am building a social networking site that is dedicated to nightclubs and night events. Among other tables, I have a users table, events table and establishments table. I am really intrigued with how Facebook in particular is able to query and return matches of not just users … | |
Working with some OOP, I had an error that I have now traced to inistantiation of a class when the file in which the class is contained is included in any other file. Is this the default/normal behaviour of php, and how do I get myself out of this? I … | |
I've been researching this all day, and am having trouble finding something that works. I have installed and used Sphider (PHP/MySQL), and it crawls my site successfully and gives me the URLs and I can do a search for any text on any page, but it doesn't pick up the … | |
I'm currently developing a domain whois lookup script in PHP. I want it to display a snapshot of the homepage of the searched website. Moreover, I would like to get this script to display Google PageRank. Please, does anyone know how to incorporate these features into my script? I would … Web Development php | |
Hi Guys I have been all over the web searching for an answer. Hope someone can help me. I have a script with the following: $total_crt //total available credits (taken from mysql database using php) $credit // Display an ad credit. (also stored in mysql database using php) select dropdown … Web Development javascript mysql | |
Hi, I'm new to this forum so sorry if this maybe in the wrong section for some reason. Basically, what I am trying to do is call several ajax requests using jQuery on the same page, i know that all browsers are capable of requesting multiple requests. However in Chrome … Web Development javascript javascript-jquery | |
I need to know if you can add a javascript within [CODE]my_window.document.write( ); [/CODE] as [CODE]my_window.document.write( '<html><head><script type="text/javascript" src="http://somesite.com/xxy.js"></script></head></html>' ); [/CODE] When i add the code as shown above, it gets printed inthe parent window, how do i overcome this, if there's no way to overcome this, please suggest a … Web Development javascript | |
hi all i have taken from internet a script that adds and removes rows but i made a little changes to that script that is renumbering rows after deleting. but one problem arises. i can delete all rows by selecting at once except firts row. for ex. i have added … Web Development javascript | |
I have a site hosted by zymic and everying has been running fine until the file manager went down so i've bin trying the FTP and i edited my site and when i re uploaded it i found this message Parse error: syntax error, unexpected ',' in /www/zzl.org/a/b/s/absolutelydoctorwho/htdocs/index.php on line … Web Development advertising html-amp html-css php xml | |
Any one help regarding this code... i used <%@include file=" "%> directive code..the code is executing well...but this include code nt working i.e it is nt executing..but simple code with include working well plz plz any one provide me the solution very soon [code=JSP]<%@ page import="java.sql.*" %> <%@ page import="java.io.*" … | |
I have a bit of a problem here. The situation. 1. I have created a Dynamic Web Project. (good) 2. I have created a logon JSP (good) 3. I have created a css (good) 4. I have created a JS file (good) JSP, CSS are located in WebContent/WEB-INF/ JS located … | |
Hello, and thank you for youre time, I have a problem with my jsp application, when i try to get the values from the html form on the jsp page process.jsp, it sets the values of each element but then does not return them to the java page. It keeps … | |
Hi all, In my site, there is timeout session 30 minutes. After 30 minutes as I press on logout. Exception([I]Validation of Mac fialed.If thos applicationis hosted by a web farm or cluster,ensure that <machinekey>configuration specifies the same key and validation algorithm.Autogenerate cannot be used in cluster.[/I]) occurs in my page … | |
I wasnt sure whether or not to put this in the database section but i think the problem is in my php code so i thought it would be best posted here. I intend to use this as a simple search script. I want to compare what the user enters … Web Development php | |
I have this email newsletter field that works. I just dont want the person to be directed away from the page they are on when they submit the form. Is there a way to process the form then have a window pop-up saying: Thank you for submitting $email! My HTML … Web Development email javascript mysql php | |
<script> function close(){ window.open('alert_update.php?id=<? echo"$alertm[id]"; ?>','alert'); document.getElementById("alert").style.display="none"; } </script> The above script is what I am using to send a request as such to alert_update (the file that updates the database which is a small iframe 1px by 1px; but I also need it to onclick hide the div that … Web Development javascript |
The End.