52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sherinpoulose

I have input data in excel and csv format.so depending upon whether user is giving excel or csv ,i have to use that.i have attached the code. [CODE] if (excelfileupload.HasFile) { String FilePath = Server.MapPath("~/Files/FileName.csv"); System.IO.File.Delete(FilePath); DropDownList1.Visible = true; DataSet excelds = (DataSet)Session["excelDataSet"]; DataTable samples = excelds.Tables[0]; ArrayList rowcontents = …

Web Development asp.net dataset session
Member Avatar for sherinpoulose
0
105
Member Avatar for Braden0007

hello can somone please tell me why i cannot submit this twice i have a php form doing the validation and mailing but if there are errors in the form filling out it will send back an errorand tell them to fix it, without refreshing the form. the problem is …

Member Avatar for twiss
0
212
Member Avatar for talala

a strange thing happend, suddenly all the pages became "stretched" if before apage was like hello, user how are you? it's now like hello, user how are you? never happend to me before, any suggestions to solve it?

Web Development asp.net
Member Avatar for talala
0
71
Member Avatar for twistidphreak

I want the images to change (rotate) in sequence when the page is refreshed not random like i have below. Can someone help me with this please? Also I also need text to change on refresh to because I am going to have a descritption of the image below. So …

Web Development image javascript
Member Avatar for twiss
0
211
Member Avatar for abusive

Basically i have a script that outputs a list of information about a file, Here is a sample [CODE] File Size:15423 bytes File Name:Test.txt File Location:C:\home\Test.txt File MD5 Hash:1caf4a063526d84cd5b1ae6383a426d6 File SHA1 Hash:e79bfba095a8531adcb855d7c286f5c3ca93a535 [/CODE] My problem is that i want to split the data into two columns, For example "File Size:" …

Web Development file-system php
Member Avatar for diafol
0
292
Member Avatar for Buppy

Hello, I have a JS/jQuery based date picker - calendar. The algorithm itself is simple - a Calendar class that generates calendar, several methods for year/month change, etc, nothing that special. Since i have several independent date fields in the page, i am creating several independent calendars, for example, var …

Member Avatar for stbuchok
0
105
Member Avatar for jonadams51

I'm designing a new intranet system but the requirements have changed and I've now been asked to make it more scalable and to allow any content to be integrated into the site seamlessly. Currently, the site is very simple using the IIS URL Rewrite module (basically the IIS answer to …

Web Development apache php
Member Avatar for john.cooper
0
68
Member Avatar for ivan3510

Hi! I'm getting these warnings: Warning: session_start() [function.session-start]: Node no longer exists in (file) on line 2 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at file:2) in file on line 2 Warning: Unknown: Node no longer exists in Unknown on line 0 I …

Web Development php session
Member Avatar for Stefano Mtangoo
0
171
Member Avatar for programmer12

Hi, My codes at the moment are [CODE]mysql_query("SELECT * FROM table WHERE date = CURDATE()");[/CODE] It outputs the correct stuff that i want to show that has been uploaded that day (newest) but I want it to show it for 3 days or maybe even a week... Is there a …

Web Development php
Member Avatar for Stefano Mtangoo
0
105
Member Avatar for maxlipman

Hi, I want to learn php and how to develope my own code and stuff, how can i learn php fast amd easy? Does anyone reccomend a sertain book or website? Thanks

Web Development php
Member Avatar for Stefano Mtangoo
0
79
Member Avatar for danholding

apologies if this is in the wrong section, the situation: i have a drop down box with the values 1 - 10 [CODE]<asp:DropDownList ID="DD" runat="server" Text='<%# Bind("DD") %>'> <asp:ListItem Value="1"></asp:ListItem> <asp:ListItem Value="2"></asp:ListItem> <asp:ListItem Value="3"></asp:ListItem> <asp:ListItem Value="4"></asp:ListItem> <asp:ListItem Value="5" Selected="True"></asp:ListItem> <asp:ListItem Value="6"></asp:ListItem> <asp:ListItem Value="7"></asp:ListItem> <asp:ListItem Value="8"></asp:ListItem> <asp:ListItem Value="9"></asp:ListItem> <asp:ListItem Value="10"></asp:ListItem> </asp:DropDownList>[/CODE] …

Web Development asp.net
Member Avatar for danholding
0
533
Member Avatar for eduardc

I don´t understand the error: Parse error: syntax error, unexpected T_VARIABLE in /home/eduardli/public_html/web_designer/insert.php on line 21 php file: [CODE]<html> <body> <?php $con = mysql_connect("localhost","eduardli_user","-z.x,c"); if (!$con) { die('Could not connect: ' . mysql_error()); } $description = $_POST["description"]; $price = $_POST["price"]; $quantity = $_POST["quantity"]; mysql_select_db("eduardli_company", $con); mysql_query ("INSERT INTO Products (Description, …

Web Development html-css php
Member Avatar for karthik_ppts
0
584
Member Avatar for bob on whidbey

PHP and MySQL problems with ' and " have been discussed ad nausea on the web. I still don't get it. For example my db has an Author's name field with someone called O'Brien. If I create the DB with phpMyAdmin by reading in a CSV file, that field will …

Web Development mysql php
Member Avatar for bob on whidbey
0
309
Member Avatar for programmer12

Hi, I am trying to organize the way my episode titles output. At the moment it prints like this. (I want to be able to upload the newest episodes and also go back and upload the older shows but i want the newer shows to stay at the bottom in …

Web Development php sql
Member Avatar for technical_amit
0
133
Member Avatar for anand01

hi friends, This is Anand, am beginner to jsp, now am trying to connect jsp with mysql. Is this possible to code connection code separately and include each and every page. am trying the following code.I code these lines in separated.and I want to use it other pages.at the same …

Web Development java-jsp mysql
Member Avatar for anand01
0
142
Member Avatar for bufospro

Hi all, I am trying two days now to insert a cart link on my page. It is a e-shop bookstore. I save my books in a database : +-------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------------+--------------+------+-----+---------+----------------+ | bookid | int(11) | NO …

Web Development html-css php session
Member Avatar for bufospro
0
148
Member Avatar for weblexie

Hi, please help me with my code. Javascript function if (document.myform.Available.checked == false) { document.myform.Save.disabled = true; <?php $query = mysql_query("UPDATE rewarditems SET Available = 'Yes' WHERE RewardItemID = '{$_GET['item']}'",$link1) or die(mysql_error()); ?> } else if (document.myform.Available.checked == true) { document.myform.Save.disabled = false; <?php $query = mysql_query("UPDATE rewarditems SET Available …

Web Development javascript mysql php
Member Avatar for ko ko
0
109
Member Avatar for toskers25

I have a PHP object that I'd like to convert to XML so that I can use SimpleXML to run an xpath on the data. Can someone suggest some way to do this? Basically, I have the following PHP object and I need to be able to search for certin …

Web Development career php xml
Member Avatar for blocblue
0
9K
Member Avatar for abhi10kumar

I am no submitting form (i.e. no button usage), then How I can preserve the value of a control. I am using pagination.

Web Development php
Member Avatar for ko ko
0
98
Member Avatar for arsenalfun

Hello guys, So I wrote this code that fetch data from mysql table: [code]while($row = mysql_fetch_array($result)) { $src = ''; switch( $row['speed'] ) { case 'fast': $src = 'fast.png'; break; case 'slow': $src = 'slow.png'; break; default: $src = 'default.jpg';} } } echo "<tr>"; echo "<td><a href='http://" . $_SERVER['HTTP_HOST'] . …

Web Development php
Member Avatar for urtrivedi
0
126
Member Avatar for zenghoong

I've made a "more" button and whenever i click it, another upload input will be displayed. Problem is, once I add the <div>, then it stops working. Is there any way around this? [CODE] <html> <head> <script type="text/javascript"> var instance = 1; function newUpload() { instance++; var newInput = document.createElement("INPUT"); …

Web Development html-css javascript
Member Avatar for urtrivedi
0
122
Member Avatar for johndohmen1963

Hi I have a problem With the $_POST Here is the code i have i called this albums.php [CODE] <?php Echo" <table cellpadding='5' width='100%' border='1' bgcolor='white'> <tr> <td width='50%' align='left'> Usere Alben die schon bestehen. </td> <td align='right'> <form action='createalbum.php' method='POST'> <table> <tr> <td align='left'> <font face='arial' size='2'> Albumauswahlliste.</font> </td> …

Web Development php
Member Avatar for johndohmen1963
0
270
Member Avatar for Ritesh_4

Hello Anyone can recommend me the best php IDEs available which also provide support for frameworks like zend or codeigniter?

Web Development ide php php-codeigniter
Member Avatar for Ritesh_4
0
130
Member Avatar for thjchhu0ngthu

Hi everyone, could you tell me how to check if email exist in jsp :( ??? thank you.

Web Development email java-jsp
Member Avatar for jwenting
0
136
Member Avatar for manish250

hi all I am new to web services.I want to know how to extract the java file from the given WSDL in which i have https based URI. please suggest

Web Development http-protocol java xml
0
154
Member Avatar for dalip_007

Hey guys I am getting a random number using built in function in a given range of number, like between 300 to 10000. but i want to make sure random number should not be repeated, e.g. if rand() function has output 305 once, it should not come again, for this …

Web Development php
Member Avatar for urtrivedi
0
158
Member Avatar for kained

On Thursday the [URL="http://www.theregister.co.uk/2010/09/17/eu_cookie_law/"]EU law[/URL](which the uk has passed verbatum) regarding cookies comes into effect. From my reading of it, any site that has among other things google analyitics present on it, will need to inform the user that cookies are present on the site, refer them to the sites …

Web Development advertising php
Member Avatar for edwinhermann
0
211
Member Avatar for Whilliam

Hello guys, I have this school project. There is one aspect that I'm not sure of. So, here's the project description. The project is chatting. Well, you know how chatting works. When I type a message, that message will appear on the other person's computer. Anyway, the part wherein Im …

Web Development php
Member Avatar for maxlipman
0
103
Member Avatar for PinoyDev

Hi guys! This is a continuation post of my last thread regarding login with session..Now the main task is, the login form is now driven with Fancybox.. What i need to know is how to let the fancy box check/compare the value on mysql table if the username & password …

Web Development mysql php session
Member Avatar for PinoyDev
0
484
Member Avatar for Inny

Hi there, firstly I want to disable this part of an epic script. I dont want anything to happen onclick. [CODE]function checkOnClick(e,n){ window.open('http://www.camosreptiles.com.au/','_self'); return ;[/CODE] I tried making the bit at the end return false; but it had no effect. If I cannot do that, I need to fix a …

Web Development javascript
Member Avatar for Airshow
0
231
Member Avatar for abhi10kumar

An Ajax function is not working ?? [B]selectBatch1[/B] is not replacing combobox [B]1.[/B] [CODE] <?php session_start(); if($_REQUEST['action']=='') $_REQUEST['action']="sp"; if(empty($_SESSION['uid']) && empty($_SESSION['username'])) { $url="index.php"; header('Location:'.$url); } else { if(isset($_COOKIE["PHPSESSID"])) { $uid=$_SESSION['uid']; $username=$_SESSION['username']; } } //DB Connection $con=mysql_connect('localhost', 'tak27310_admin','admin123'); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("tak27310_followup", $con); //Pagination …

Web Development html-css php
Member Avatar for diafol
0
143
Member Avatar for souravsikka

Hi, I am working on this curl function.The problem is it is not executing. 1)When we use $URL value directly in browser its working fine & SMS is going to number. 2)When i am trying to call a function having some curl function its not working. Need help. Thanks [CODE]<?php …

Web Development php
Member Avatar for hielo
0
1K
Member Avatar for drewpark88

Hey Guys, I need some assistance if possible. I am using MySQL & PHP, I have an "events" table with a row field called "Users_Attending" and can't seem to figure out the best way to add multiple users to an event rows "Users_Attending" field. I want to store user emails …

Web Development mysql php sql
Member Avatar for drewpark88
0
147
Member Avatar for md_salman

I am trying to create an HTML form in which user will enter different items (he wants to purchase) in text fields. One text field is used for one item. Now it is not known in advance how much items the user will purchase so we cannot decide the total …

Web Development html-css javascript
Member Avatar for zenghoong
0
858
Member Avatar for Stefano Mtangoo

So I was asked to integrate live webcasting in the next version of this website and I have no Idea. I did little reasearch and bump, I only hit shoutcast. May I ask anyone with Idea on good webcasting software for live internet Audio and video broadcasts to throw out. …

Web Development audio php
Member Avatar for Stefano Mtangoo
0
124
Member Avatar for Dannis86

Sorry if this is a stupid question, but I'll take the crap for what its worth. Im really asking myself every day the same question: What programming language should I learn? I really need to clear some things up, first of all some questions: 1. Ruby on rails, I hear …

Web Development android iphone php ruby
Member Avatar for Stefano Mtangoo
0
289
Member Avatar for karthik_ppts

How to add control for marking area using points,lines and polygons on google map and how to store that area in mysql db? Becoz i need to give alert message when my vehicle cross that area in my vehicle tracking system.

Web Development google php seo
Member Avatar for karthik_ppts
0
164
Member Avatar for masocha

l havinf problems sending individual emails with a loop within joomla The code is sending multiple emails to a single users something like its triggering an infinite loop. Please see code below [code] unction sendRequests() { $db = & JFactory::getDBO(); $sql = "SELECT * FROM `#__quotehunter_hunt_quotes` WHERE `flag` = '0' …

Web Development email php
Member Avatar for masocha
0
130
Member Avatar for kiran33

[CODE]<td align="center" bgcolor="#FFFFFF"><input name="checkbox[]" type="checkbox" id="checkbox[]" value="<? echo $row['Inq_id']; ?>"></td> <td colspan="5" align="left" bgcolor="#FFFFFF"><input name="delete" type="submit" id="delete" value="Delete"></td></tr> <?php foreach( $_GET['checkbox'] as $del_id ){ $sql = "DELETE FROM Inq_cat WHERE Inq_id='$del_id'"; $result = mysql_query($sql); } ?>[/CODE]

Web Development php
Member Avatar for kiran33
0
919
Member Avatar for Dean_Grobler

Hi there, The thread title pretty much says it all. How exactly do you send data to, and from portlets? Does it have something to do with the RenderRequest and RenderResponse objects? I haven't a clue... There's hardly any information on the net regarding portlet development, very frustrating. Thanks in …

Web Development java-jsp
Member Avatar for peter_budo
0
115
Member Avatar for souravsikka

I am getting this error while working on curl code[CODE][/CODE] Warning: curl_setopt() expects parameter 1 to be resource, string given in C:\xampp\htdocs\ [CODE]<?php //initialize the request variable $request = ""; //this is the username of our TM4B account $param["username"] = "kacs"; //this is the password of our TM4B account $param["password"] …

Web Development php
Member Avatar for souravsikka
0
2K
Member Avatar for PinoyDev

Good day! I just to ask why require_once function display the content of the whole page in the second page? I have two pages index.php and mem_accnt.php. I have session in index.php. Now i need to get the session in index.php and display it in mem_accnt.php. In order to get …

Web Development display php session
Member Avatar for PinoyDev
0
193
Member Avatar for cliffcc

I want to limit the length of text shown in php. What is the code in php? But i want to keep the full of text in database.

Web Development php
Member Avatar for diafol
0
89
Member Avatar for veledrom

Hi, When i hit the F5 key on the keyboard after Insert into process, it adds same record into database again. How can solve this problem? Thanks

Web Development php
Member Avatar for diafol
0
179
Member Avatar for cliffcc

When the users login , i want to show the status is online in php. What is the code? Thanks!

Web Development php
Member Avatar for rayidi
0
526
Member Avatar for suvisoya

hi i am using visual studio 2008 and i have multiple textbox with my form. After i submitted the button data need to fill in same textbox . so i set enabledviewstate = "false" for form but its not working can u give anyone solution f this thanks sureh.S

Web Development asp.net visual-studio
Member Avatar for shakeb@techwave
0
92
Member Avatar for jacob21

How to call a PHP function on submit button My function is [CODE]function sendSMS($mobile, $msg, $sender, $sendPass, $sendID) { $msg=urlencode($msg); $ch = curl_init(); $url="abusms.com/pushsms.php?username=kas&password=6117&sender=SHRIA&to=$mobile&message=$msg"; //echo $url; $url=urlencode($url); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_POST, 1)or die("error1"); curl_setopt($ch, CURLOPT_POSTFIELDS, $curlPost); $data = curl_exec($ch); echo $data; echo curl_close($ch); …

Web Development php
Member Avatar for karthik_ppts
0
7K
Member Avatar for scarcella

Hi guys i was wondering if you guys could let me know how i can post a form field using jquery and then be declared in a variable after post. The code for the html: [CODE]<table cellpadding="0" cellspacing="0"> <tr> <td></td> <td>Name:</td> <td>Email:</td> </tr> <tr> <td><label for=fri accesskey=f>Friend 1</label></td> <td class="tablePadding"><input …

Web Development first-post javascript-jquery php
Member Avatar for scarcella
0
175
Member Avatar for seahawk182

Hey guys! I know I'm bothering you and it's probably a dumb question anyway but i just can't seem to find a good tutorial on this... I'm creating a website and I'd like the admin of the site to be able to post to the site without having to change …

Web Development php
Member Avatar for diafol
0
211
Member Avatar for adamworld

I have this script that I am using that work to upload a file and to make sure the file is either jpg, jpeg, or gif. However, I want to restrict the user with the image width no larger than 150px. Is there an easy way to implement in the …

Web Development image php
Member Avatar for adamworld
0
260

The End.