52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Farhad.idrees

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
Member Avatar for MagicMedia
0
158
Member Avatar for GAiXz

[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 …

Web Development asp.net vb.net
Member Avatar for steave123
0
108
Member Avatar for six_sic6

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: …

Member Avatar for steave123
0
298
Member Avatar for Violet_82

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
Member Avatar for Violet_82
0
372
Member Avatar for rosiec

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
Member Avatar for rosiec
0
449
Member Avatar for heshanm

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
Member Avatar for heshanm
0
160
Member Avatar for shan2

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 …

Web Development html-css java-jsp
Member Avatar for gvsubhu
0
190
Member Avatar for Hani1991

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
Member Avatar for Hani1991
0
111
Member Avatar for pjyankee

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
Member Avatar for pjyankee
0
816
Member Avatar for hardinguse

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 …

Web Development mysql php seo
Member Avatar for hardinguse
0
846
Member Avatar for pradeepdreemz
Member Avatar for spixy

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. …

Web Development php phpbb
Member Avatar for spixy
0
236
Member Avatar for karthik_ppts

Hi Frendz, How to find the javascript is enabled in the browser or not?

Web Development javascript php
Member Avatar for IIM
0
128
Member Avatar for mgt

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
Member Avatar for mgt
0
123
Member Avatar for jacksantho

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
Member Avatar for sDJh
0
74
Member Avatar for divyakrishnan

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
Member Avatar for sDJh
0
102
Member Avatar for vinaysrk919

how i can show only current date excluding time in any textbox... and how i found the difference of the date in asp.net

Web Development asp.net
Member Avatar for vinaysrk919
0
93
Member Avatar for vectro

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
Member Avatar for vectro
0
233
Member Avatar for titusnainggolan

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
Member Avatar for pritaeas
0
126
Member Avatar for cormee

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
Member Avatar for karthik_ppts
0
170
Member Avatar for kadriirdak

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 …

Member Avatar for kadriirdak
0
85
Member Avatar for hericles

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 …

Web Development apache java-jsp
0
125
Member Avatar for jacksantho

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 …

Web Development mssql php
Member Avatar for vibhaJ
0
295
Member Avatar for rpv_sen

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
Member Avatar for rpv_sen
0
2K
Member Avatar for gonidelux

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 …

Web Development image php session
Member Avatar for gonidelux
0
163
Member Avatar for Punny

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
Member Avatar for rv1990
0
80
Member Avatar for sarathsshanker

[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 …

Web Development apple java java-jsp oracle session
Member Avatar for Slimmy
0
192
Member Avatar for Bazzaah

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
Member Avatar for Bazzaah
0
107
Member Avatar for bikertz

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
Member Avatar for bikertz
0
119
Member Avatar for sam023

I m getting this error while using http api.. i cant use post method..... what changes should i made to rectify this error..!! thanks.!

Web Development api php
Member Avatar for Jack_M
0
710
Member Avatar for ray@lauray.net

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 …

Web Development mysql php
Member Avatar for ray@lauray.net
0
246
Member Avatar for jacksantho

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
Member Avatar for G&G Designing
0
105
Member Avatar for ferat_tes

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 …

0
341
Member Avatar for HelenLF

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
Member Avatar for G&G Designing
0
101
Member Avatar for raf.fredi

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.

Web Development email php
Member Avatar for muzitex
0
109
Member Avatar for manchurianCEO

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
Member Avatar for sDJh
0
132
Member Avatar for kaizokupuffball

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
Member Avatar for cereal
0
158
Member Avatar for zagam2

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

Web Development php wordpress
Member Avatar for G&G Designing
0
158
Member Avatar for kaizokupuffball

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
Member Avatar for kaizokupuffball
0
272
Member Avatar for six_sic6

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
Member Avatar for six_sic6
0
194
Member Avatar for barriegrant1

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 …

Web Development asp.net listview
Member Avatar for barriegrant1
0
158
Member Avatar for skiabox

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 …

Web Development apache java-jsp macos
Member Avatar for skiabox
0
203
Member Avatar for Awah Mohamed

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
Member Avatar for G&G Designing
0
226
Member Avatar for manchurianCEO

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
Member Avatar for G&G Designing
0
222
Member Avatar for iThaos

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 .= …

Web Development oop php
Member Avatar for iThaos
0
214
Member Avatar for saybabs

I need to know if there is a way a folder upload can be made through php in an email.

Web Development php
Member Avatar for G&G Designing
0
111
Member Avatar for Viruthagiri

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
Member Avatar for cereal
0
407
Member Avatar for jacksantho

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
Member Avatar for ppetree
0
128
Member Avatar for 080346

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..... …

Web Development flash php
Member Avatar for sDJh
0
639
Member Avatar for Waynef

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
Member Avatar for Waynef
0
130

The End.