52,566 Archived Topics
Remove Filter ![]() | |
Hi i have 2 files one is Left.php which is is getting categories of product...code is [CODE] <?php require('Connection.php'); $query ="select distinct(P_Category) from tblProducts_info"; $result = mysql_query($query); if(!$result) { die('echo invalid query:,mysql_error()'); } else { if(mysql_num_rows($result)>0) { while($rows= mysql_fetch_array($result)) { $P_Category = $rows['P_Category']; $cat_List=""; $cat_List = "<li class=\"odd\"><a href=\"services.html\"?P_Category=$P_Category>$P_Category</a></li> "; … Web Development php | |
[CODE]Protected Sub Button1_Click(ByVal sender As Object, _ ByVal e As EventArgs) Response.AddHeader("content-disposition", "attachment;filename=FileName.xls") Response.Charset = String.Empty Response.ContentType = "application/vnd.xls" Dim sw As System.IO.StringWriter = _ New System.IO.StringWriter() Dim hw As System.Web.UI.HtmlTextWriter = _ New HtmlTextWriter(sw) GridView1.RenderControl(hw) Response.Write(sw.ToString()) Response.End() End Sub [/CODE] how do i set the format for that after … | |
Hellow. I have installed IIS7 in windows 7. I have a ASP.NET project. Now i want to run it through IIS7. But whne i try it from by web browser by [B][url]http://localhost/Myweb/Default.aspx[/url][/B], it shows the following error on my browser.. [CODE] Server Error in '/' Application. -------------------------------------------------------------------------------- Configuration Error Description: … Web Development asp.net file-system visual-studio web-browser windows-server | |
Hi peeps, I wonder if anybody can give me a hand with this. Basically on my website [url]http://antobbo.webspace.virginmedia.com/photography/testing/gloom.htm[/url] to view a picture you need to use the left hand-side menu. Now, all good except that when you want to view any picture at the bottom of the left hadn-side nav … Web Development javascript javascript-jquery | |
I have some code-behind and I am running in to an error. I am still very new to ASP.NET so I am having difficulty figuring out the "identifier expected" error. Here is my code: [CODE] Partial Class Comments2 Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) … Web Development asp.net | |
Hi, In my system,when i submit my form there is a message comes as "A new account number 1 is created successfully. Thereafter when i try to click on the "refresh" button another new account number is automatically created. Can anyone give some piece of code to avoid that problem? … Web Development php | |
Hi Friends, I am stuck for passing values from drop down list of a HTML page to a servlet file for further processing. Actually i am developing a small model of "Railway Reservation System" for my mini-project. The problem is to how can i pass values from various number of … | |
Hello everybody. I've tried the following code in the head: [CODE] <script language="JavaScript"> var TxtArea = 0; function insert_bui( t ){ if( !TxtArea ) return; tx = document.selection.createRange( ); switch( t ){ case "B": tx.text = "-b-" + tx.text + "-/b-" ; break; case "I": tx.text = "-i-" + tx.text … Web Development javascript | |
Hello everyone, i am new comer to web development & netbeans, i m a student. I have been given a task to create registration page with username & password, & after submitting this form it automatically stores data into databse, which can later be seen by admin only...or can be … Web Development java-jsp java-netbeans | |
I am receiving the following error: Notice: Undefined offset: 1 in /home/content/53/7382753/html/Summer/wootsummer.php on line 68 Error, insert query failed on my code that is live at [url]http://obsidianpunch.com/Summer[/url] The offending line is [code]$topnow=$top[$countforme];[/code] however $top and $countforme are defined, so I am not sure why this is causing an error. Any … | |
how to deploy a asp.net projects in webserver | |
My professor gave us a sem-long project, before he introduce us php.. so here it goes create a dynamic website with the following situation 1. there will be an existing database, the database contains the following a. student name b. student id no. c. address d. other personal info 2. … | |
Hi Frendz, How to find the javascript is enabled in the browser or not? Web Development javascript php | |
Okay, here's the scenario. The same user accesses the same form a second time in order to place a new order. Both the new order and the old order are stored in a MYSQL table (called "orders"). My thought is that, when the new order is placed, I need to … Web Development php | |
Hi, How to avoid the data insertion in mysql tables by refreshing the page using php. I am not redirecting my page. I am using $_SERVER['PHP_SELF'] in form action. Please help me out. its very urgent Web Development php | |
Hi... I want to find out whether a file is existing or not The file is stored on another machine in the same network . I tried the following code.But always showing "The file is not existing". [CODE] <?php $filename = 'file://192.168.0.15/E:/PDF/p.pdf'; if (file_exists($filename)) { echo "The file $filename exists"; … Web Development file-system pdf php | |
I am using Joomla with the Ambra Subscriptions module to accept payments. When a new customer signs up and makes a payment, their account is not being automatically activated. I find myself having to activate every account manually after a new customer complains that they can't log in. Under 'Site … Web Development php | |
Hi, I want to make my website in two language. I need to make library for both of language. And I get template of those library with extension .mo. And those library are included in file .php. I want to make a new library but I can't open and create … Web Development php | |
Hi I'm getting a few spammers bypassing certain form elements on my site which I attribute to them having javascript disabled. Is there any way of diplaying the <form></form> content if it's enabled and otherwise displaying a message saying "We are no longer taking registrations". I'm not too concerned about … Web Development display javascript | |
Hi There, I have an XML file and I list them by check boxes, categorized by their parent (branch). After selection of the check box, I take them and give the values `$branch`(only one at a time) and `$roles`(can be many eg. SBP|BNA) to web services. And run this web … Web Development advertising first-post peer-to-peer php xml | |
Hey, I'm trying to catch the incoming request to my Tomcat server and redirect to another page (a servlet). I don't have Apache installed so no mod_rewrite will work (as I understand it). I need to redirect the incoming request aimed at a standard URL [url]http://www.somesite.com[/url] and send it to … | |
Hi , i am using mssql. I had a field with datatype [B]datetime[/B]. [CODE]My php coding: $requested=date("d/m/y : H:i:s", time()); i am using this query insert into tbl values('$requested')[/CODE] while inserting into my mssql table, i am facing the following error Warning: mssql_query() [function.mssql-query]: message: Syntax error converting datetime from … | |
Hi I am trying to connect my server through PHP script as below. But i am unable to reach my server and getting error. If i connect my server through ftp software with [B]FTPES[/B] protocol my server is getting connect I am getting an Error as [B]"Warning: ftp_connect() [function.ftp-connect]: php_network_getaddresses: … Web Development client-server file-system php | |
Hey first of all THX ;) @ add product.php wen i browse image and go save i have this error : [B]Fatal error: Call to undefined function imagecreatetruecolor() in C:\wamp\www\plaincart\admin\library\functions.php on line 228[/B] [CODE]<?php /* Check if a session user id exist or not. If not set redirect to login … | |
I want to send my information on a database. just wondering if I could use MYSQL? If its not possible, can I use JavaScript to send it on Java and make it work on MYSQL? Web Development javascript mysql | |
[code]import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.ServletException; import javax.servlet.http.HttpSession; import java.util.ArrayList; import java.util.StringTokenizer; import java.io.PrintWriter; import java.io.IOException; import java.text.DecimalFormat; public class ShoppingServ extends HttpServlet { String link; String[] books; String[] music; String[] computers; String<ArrayList> selitems; // JAVA.STRING.LANG doesnot take parameters error String<ArrayList> cartitems ;// JAVA.STRING.LANG doesnot take parameters error … | |
Hi In my site I have a search function but have hit on a problem that I can only partly solve. A user makes a search - one or more results are returned. A user can click on an entry and view additional resources on a new page (word2.php) (that's … Web Development php | |
![]() | I am fairly new at web developement. I created a web site for the dealership in which the dealer can list used motorcycles for sale along with a picture of the motorcycle. Currently, the client emails me the year and model information, the asking price, and a jpg picture file … Web Development php ![]() |
I m getting this error while using http api.. i cant use post method..... what changes should i made to rectify this error..!! thanks.! | |
I'm using Microsoft tags to get the cell phones unique "did' number loaded into a htm form field. The customer is then asked to enter thier email address on the form. The form is then submitted to be added to our customer mysql database. If it's new it is added … | |
Hi, I am having a table A...and i am copying(inserting) the content of the table A to the empty table B.I am doing changes in the values in table A ....but my table B always should remain constantly ...the changes done in table A should be reflected to the table … Web Development php | |
Hello, I need to write an extension for Chromium Browser. First i will just write a code to change the proxy. After that i will write all the extension. But i could not use proxy API. I write this code on the background page of extension but it did not … Web Development javascript router-proxy-firewall web-browser | |
I am looking for a readymade jQuery gallery script which allows for animated words which show with each image. Can anyone point me in the right direction. Web Development | |
From last few months I'm trying to create my own WEBMAIL system from scratch. I'm using IMAP, POP3 with php/mysql coding but failed to create. Somebody Help me to create [COLOR="Red"]WEBMAIL system [/COLOR]from scratch. | |
I am building a site and very often change my mind on something and changing all over again. So I am wondering if things such as a google gadget, does it have to be actually written inside the html or can I just insert it through php, so I can … Web Development php | |
Okay, so i get this error on line 19 in this pagination script. The error goes like this: Notice: Undefined index: page in C:\wamp\www\pagination.php on line 19 This is wrong: $page = $_GET['page']; But i don't realy understand what is wrong, because the targetpage is set to "pagination.php". Maybe it's … Web Development php | |
Hi.. Related Posts for wordpress thesis blog.. I need related posts by categories. But not in ul and li , i need full post show in related post. Just like home page posts.. I think you understand. thanks waiting | |
Hi! Im pretty new to this whole thing with PHP and have looked at some examples to learn it. I currently made a site that for now, runs on WAMP localy. The thing is, i was wondering if this would be a good code to use on the upload.php site. … Web Development file-system html-css php storage | |
Hi, I am having problem on getting value from dropDown list. [CODE] using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.OleDb; public partial class _Default : System.Web.UI.Page { OleDbCommand comm; OleDbConnection conn; //conn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=G:\\Demo11(1).accdb;Persist Security Info=False"); protected void Page_Load(object sender, EventArgs e) { if … Web Development asp.net open-source | |
im using a stored procedure to load a number of galleries and then photos within the gallery, however when linking them to the listView only the first two photos are returned. Stored procedure [CODE] ALTER PROCEDURE dbo.test AS declare @galID int Declare c Cursor For Select Distinct gallery_id From galleries … | |
I have problem starting tomcat now that I have installed macos lion. I get the following error in catalina.out : [CODE] Aug 7, 2011 4:12:01 AM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.20. Aug 7, 2011 4:12:01 AM org.apache.catalina.core.AprLifecycleListener init INFO: APR capabilities: IPv6 [true], sendfile … | |
hi guys.. how are you all?? ok, i need you help to make this happen... i want to create a system that allow people to upload big files and you all know that php time limit is 5 minutes and size limit is 5 mb max.. in case we increased … Web Development file-system php | |
I have seen several posts but I haven't really got around it. I am finding out PHP is a lot more useful than I thought so I'm trying to use it as much as possible for its flexibility to modify content from a single file. Can I include the contents … Web Development php | |
Hi, I was wondering whether it is possible to use a parent class' properties without calling its constructor. In the following example: [CODE]<?php class Shop { public $location; public function __construct($location = ''){ if(!empty($location)){ $this->location = $location; } else { $this->location = 'a place far far away'; } $this->location .= … | |
I need to know if there is a way a folder upload can be made through php in an email. Web Development php | |
This is my normal file upload code. [B] HTML[/B] [CODE]<form action="" method="post" enctype="multipart/form-data" name="form1" id="form1"> <input name="theFile" type="file" /> <input name="Submit" type="submit" value="Upload"> </form>[/CODE] [B]PHP Variables to receive file[/B] [CODE] $fileName = $_FILES['theFile']['name']; $fileTempName = $_FILES['theFile']['tmp_name']; [/CODE] Now i would like to use remote upload. So i created a form … Web Development file-system php | |
Hi, I am having the table of the following details. [B]rollno subject standard[/B] reg01 maths III reg01 physics III reg01 english III This reg01 student has registered this courses. He can make changes this registered courses. How can i find the "updation"(or differences) of my table as the previous using … Web Development php | |
Hello every body; i hope you all are fine, i need help on my project where i got stuck; i have a page where user browse and then upload the swf file, i want to extract all the existing images from that swf file when user click on upload button..... … | |
Hi, This piece of code works in chrome & IE but not Firefox, can anyone see why? [CODE]function openimage(a, b, c, d) { var b = document.getElementById('photo' + a).value; var c = document.getElementById('album' + a).value; var d = document.getElementById('clicks' + a).value; if (d = 1) { jQuery.facebox({ ajax: 'profile/previewphoto.inc.php?photo=' + … Web Development javascript |
The End.