17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for xenon3000

First , i want ask you excuses for my bad english. Well, i'm a beginner in c# but i need it to my work in this time. I have a SqlDataSource1 with "SELECT field1 from table1" I have an Accordion linked with SqlDataSource1, and inside of Accordion1 i have a …

Web Development asp.net
Member Avatar for xenon3000
0
105
Member Avatar for sarithak

Hi frnds... I saw previous threads regarding photo gallery in this forum.. All threads start from errors in code.... But i want Image gallery total code with db...I was also doing gallery, but it looks not good..code is working fine..but look and feel is not good...also it takes more time …

Web Development javascript mysql php
Member Avatar for mrcniceguy
0
161
Member Avatar for mickel200

hi there, I have a phpbb forum . and I want to install a new style for it. I have tried to do that , have not sucessded. please how can I do that ?

Web Development php phpbb
Member Avatar for mickel200
0
156
Member Avatar for mshravs

here is the problem, i wanted to create a login page, where in when a given username and password is created it should directly to the webpage showing the details. but if i give any other username and password it should be directed to the member sign in page. the …

Web Development asp asp.net
Member Avatar for dnanetwork
0
473
Member Avatar for thecodingbee

[ICODE]<?php $con = mysql_connect("localhost","teachms_fooduse","science0"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("teachms_foods", $con); $result = mysql_query("SELECT * FROM Foods"); echo "<table border='1'> <tr> <th>Name</th> <th>Shop</th> <th>Price</th> </tr>"; while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . $row['Name'] . "</td>"; echo "<td>" . $row['Shop'] . "</td>"; echo "<td>" …

Web Development mysql php
Member Avatar for emarshah
0
103
Member Avatar for jcanaway

alright im making a sortable displays in my website but i am trying to figure out how to pass my javascript array to and external php script through POST method so i can update the column, position, hidden, or closed in the database i am using jQuery Sortable Portlets located …

Member Avatar for sysel
0
6K
Member Avatar for ayesha789

Hi, This is a code which shows all the records from database and also show EDIT and DELETE Button for each Record, Now I want only one DELETE Button for ALL Records and use check boxes to select and DELETE. Please Check this Code: [CODE=php] <?php $server="localhost"; $user="root"; $pass="root"; $database="new"; …

Web Development php
Member Avatar for emarshah
0
155
Member Avatar for culebrin

Hello folks, I need to create a html table dynamically, so I used HtmlTable and HtmlTableCell ... but I need to put inside a HtmlTableCell another HtmlTable object, so the structure will be: HtmlTable | ---HtmlTableRow | ---HtmlTableCell | ---HtmlTable I hope someone could help me Thanks Omar

Web Development asp.net html-css
Member Avatar for IdanS
0
732
Member Avatar for IntegrityWebDev

Hello all. I wasn't sure if I should post this here or under DB? I'm a PHP user that is new to C#/ASP.NET/MS SQL. I have a table with rows of string values (not sure why they were made strings as they are numbers but thats what they are). I …

Web Development asp.net
Member Avatar for IntegrityWebDev
0
348
Member Avatar for BigFormat

I'd like to redirect the user to another page, i.e. after a login check. I'm used to doing this via header location directive, it's all ok, but, if I'd like to print a message and redirect the user in 2/3 seconds, like on this forum when you login? Is it …

Web Development php
Member Avatar for BigFormat
0
5K
Member Avatar for soyabeanmilk

hi all, i have a php generated image that i want users to download as png, but as it is generated on the fly, the default save as option is <php_name>.php so i just want to ask if there is any way to change this default file name to a …

Web Development php
Member Avatar for soyabeanmilk
0
664
Member Avatar for IntegrityWebDev

Hello all...my first official post (after the introduction) I'm relatively new in the area of C# (some PHP experience) and I'm hoping someone can help me. I have 2 arrays of variable lengths, with int data in them. Something like this: FreeNumbers = 1,2,3,4,5 UsedNumbers = 1,2 I want to …

Web Development asp.net c#
Member Avatar for IntegrityWebDev
0
116
Member Avatar for brianzet

Hi Is it possible to insert nl2br to these two? [icode]<?php print $laes_artikel ["artikel"]; ?>[/icode] and [icode]<?php print substr($row["beskrivelse"], 0, 250); ?>[/icode] .. If so, can someone tell me how? Thanks for now.

Web Development php
Member Avatar for brianzet
0
235
Member Avatar for emarshah

Hi to All, Please tell me briefly that in PHP, what type of errors occured to the developer. Thanks in Advance

Web Development php
Member Avatar for ShawnCplus
0
100
Member Avatar for ayesha789

Hi, How I can show summary of thread like Daniweb. I have attached picture so please guide me. its really cool without opening the thread we can read whats inside . idf interesting we can go inside. Thanks Ayesha Developer

Web Development php
Member Avatar for peter_budo
0
264
Member Avatar for anarki2k3

Ok so I created an instance of the mysqli class: [code=php]$siteconn = new mysqli($dbhost, $dbuser, $dbpass, $dbname);[/code] But when I try to run a query using this I get the error that's in the title... code as follows: [code=php]$result = $siteconn->query("SELECT * FROM categories ORDER BY id LIMIT $limit");[/code] Any …

Web Development php
Member Avatar for anarki2k3
0
358
Member Avatar for memegha123

hi! I m using netbeans 6.5.1 i am trying to read a text file from a jsp using the code [code] BufferedReader input = new BufferedReader(new FileReader("contactus.txt")); [/code] this file "contactus.txt" is placed in the same folder (ie web folder) as the jsp file. but the browser is giving the …

Web Development file-system java-jsp web-browser
Member Avatar for memegha123
0
124
Member Avatar for sampat19

hi, I am struggling with the code on attached file. Don;t know what the problem is. Please help me if possible:

Web Development asp
Member Avatar for chsab420
0
90
Member Avatar for BrettOwnz

Hey guys.. I have been trying to debug this mysql statement for the past 2 hours.. here is the statement: [CODE] $sql1 = "SELECT * FROM cpmip WHERE adid='$a' and ip='$ip'"; $res1 = mysql_query($sql1) or die(mysql_error()); [/CODE] I just can't figure out why this won't work.. it throws the following …

Web Development mysql php
Member Avatar for BrettOwnz
0
142
Member Avatar for praveen_dusari

hii all, i developed a shopping cart which has many features like grid view,list view and floating cart which is also dragable.now my problem is its taking to much time to load becoz of conditions and images now,i want to generate html pages of my php pages,i dont want url …

Web Development html-css php
Member Avatar for praveen_dusari
0
918
Member Avatar for Kusno

Dear all, I used to use pure ASP.Net code like this : [CODE] Protected Sub CmdLocateCustomer_Click(ByVal sender As Object, ByVal e As System.EventArgs) Dim S As String If TxtCustomerID.Text.Trim = "" Then S = "<SCRIPT>var w = 0, h = 0;if (document.all || document.layers) { w = screen.availWidth; h = …

Web Development asp.net
Member Avatar for jbisono
0
2K
Member Avatar for vizy

Hi Friends, I have a web Application created, there is an option to Add/Edit the forms. My requirement is something like... When a user opens any record for editing, the details are displayed(binded) in texboxes,dropdowns,radiobuttons.. etc Here if the user modifies any data and clicks on any other link(within the …

Web Development asp.net
Member Avatar for vizy
0
130
Member Avatar for whayman

When I enter the integer, I'm not getting the prompt that states if it is odd or even. I am new to this, so this stupid thing has taken me a week to do, but now I am just frustrated. Can someone help me out. [code=html]<?xml version = "1.0" encoding …

Web Development javascript xml
Member Avatar for sysel
0
105
Member Avatar for DaveyMoyes

hi all - php.home Im trying to pass a varible of "MOBILE" from a form i have set up [code=html]<td><span class="style61">Mobile number</span></td> <td><span class="style61"> <label for="mobile"></label> <input type="text" name="mobile" id="mobile" />[/code] To a differnet .php called test.php On this test php i have the following [icode]$mobile = $HTTP_POST_VARS['$mobile'];[/icode] how do …

Web Development php
Member Avatar for DaveyMoyes
0
76
Member Avatar for Reliable

Hello any and everyone, I have a form inside of an HTML page. The result I want is that when the user hits the submit button that only the section of the page containing the form refreshes. Wen it refreshes it refreshes with a thank you message. Is that feasible. …

Web Development javascript
Member Avatar for buddylee17
0
115
Member Avatar for HITMANOF44th

i am building some thing that will grab part numbers and description from a data base works great when you type in part of a word or part of the part number the issue i run into is when i type in the full part number for example A11-123 this …

Web Development php sql
Member Avatar for HITMANOF44th
0
169
Member Avatar for sureronald

Hi all. Anyone know of a good ajax resource out there. I have been googling all along but I don't seem to be getting the right thing. I'm still new to Ajax. Any help will be highly appreciated. Thanks

Web Development javascript
Member Avatar for sureronald
0
90
Member Avatar for vizy

Hi Friends, I am using Ajax AutoCompleteExtender for my search results(autoSuggest). The Control works fine and I could get the results coming from WebService in Panel with scrollable option. But I need the results shown are formatted as columnwise for ex : Name | Address | Phone# | EmailId with …

Web Development asp.net
Member Avatar for vizy
0
132
Member Avatar for andrewsCWD

Hello, I have just a regular .html page. I want to take my PHP source code from one of my PHP scripts and display that to the viewer so they can see my code on the HTML page, as if it was just regular content on a page. When I …

Web Development html-css php
Member Avatar for prateek shri
0
97
Member Avatar for ivanichi

Hi, everyone, I'm a new member here. Currently, I'm developing a web application and there's a need to make an activation for the product I developed. I want give activation on my product for a time session on local. My question is, is it possible to make that? As we …

Web Development php session
Member Avatar for ivanichi
0
126
Member Avatar for BrettOwnz

Hello... I am working on a CPC and CPM ads system for a client, and they wanted to use an iframe displayed on another persons site in order to actually serve the ads. So, i have developed the whole script, and it is working when used by getting the $_SERVER['hostname'] …

Web Development client-server php
Member Avatar for BrettOwnz
0
93
Member Avatar for lstammer

This is what I have from another posting: [code=javascript]<script language="JavaScript"> <!-- // Create arrays to contain all the values // for links and image locations link = new Array image = new Array link[1]="http://www.sugarshack.com" image[1]="/images/stores/sugar-index.png" link[2]="http://www.clientswebsitecompany.com" image[2]="http://www.bastropdba.com/images/services/clients-index.gif" // Create a random number between 1 and last number random_num = (Math.round((Math.random()*2)+1)) …

Web Development javascript
Member Avatar for JugglerDrummer
0
102
Member Avatar for troy19

hey .... i have a problem when i try to update/delete/add to the database (microsoft access 2007) it gives me the error : Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] Could not delete from specified tables. /internet project/delmsg.asp, line 7 LINE 7 is …

Web Development asp microsoft-access
Member Avatar for troy19
0
63
Member Avatar for vigneshsr

Hello Everyone, Below is the working code, that I just coded for you guys to understand in a easier way: [code=html]<html> <head> <script type="text/javascript"> function updateTotal() { var sundayTotal = Number(document.getElementById('sunday').value); var mondayTotal = Number(document.getElementById('monday').value); document.getElementById('total').value = sundayTotal + mondayTotal; } </script> </head> <body> Sunday Duration: <input type="text" id="sunday" onkeyup="updateTotal()"> …

Web Development asp asp.net html-css
Member Avatar for serkan sendur
0
185
Member Avatar for Zurompeta

This issue has me absolutely stumped. I have a drop-box on my site that contains 26 options (each options being a letter of the alphabet). This drop-box is being used to sort a database full of records by the records that correspond with the selected letter chosen. The "onchange" event …

Web Development php
Member Avatar for Airshow
0
113
Member Avatar for diafol

Hi all, I'm a bit of a jobber with JS, so please excuse me. I'm use prototype quite a lot for ajax calls, but have always used inline onclicks. I'm trying to be less obtrusive by creating event handlers/listeners. I used to do this with the aid of pHp to …

Web Development javascript
Member Avatar for Airshow
0
243
Member Avatar for MashMeli

I need to get selected index value from the dropdownlist and sort it on the GridView. The code above can only sort by column. Anybody has any idea how to add the column with the selectedValue into the Sort? [code] dv.RowFilter = "NOID = '" + ddl.SelectedValue.ToString() + "'"; dv.Sort …

Web Development asp.net
Member Avatar for kvprajapati
0
81
Member Avatar for vuyiswamb

Good Morning All I have the Following code that sends an e-mail, let me first post the markup and the code behind. The following is the markup of my page [code] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!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 …

Web Development asp.net client-server
Member Avatar for vuyiswamb
0
892
Member Avatar for ROTC89

ok my assignment is to make a login form that will accept a user name and password. if the user name and password don't match it doesnt do anything, but if it does it takes it to a website. my only problem is when i go to run it i …

Web Development php
Member Avatar for Gori
0
120
Member Avatar for khr2003

Hi I am trying to use onclick to add text to a textarea, the function I am using is: [CODE]function addtxt(input,add) { var obj=document.getElementById(input) var txt=document.createTextNode(add) obj.appendChild(txt) }[/CODE] and the line that I use to call the function - through php- is: [CODE]<a onclick=\"addtxt('post','$code');\"> <img src=\"smiles/$smile\" alt=\"$smilename\" border=\"0\" style=\"cursor: pointer;\"></a>[/CODE] …

Web Development javascript
Member Avatar for khr2003
0
170
Member Avatar for dwlamb_001

I've searched through the threads and I can't find what I am looking for exactly. I apologise if I'm posting something already resolved for someone else. I have a page for browsing the contents of a database. An option for each of those records is to update/edit. The user clicks …

Web Development mysql php
Member Avatar for djjjozsi
0
1K
Member Avatar for spidermite

This is driving me nuts!!! I am passing a text array from a form to another file and trying to display the data. I have reduced the process to it's simplest form and still can not make it work. FormSend.php: [code] <?php echo '<form method="post" action="FormRecieve.php" name="Activate"> <input type="text" name="fruit[]" …

Web Development apple php
Member Avatar for kvprajapati
0
126
Member Avatar for websurfer

Hi, all: I got a form where some checbox fields will hide or show as user clicks specific choices. Problem is, if one mistakenly checks one of these checkboxes and then hides it, it still does retain the checked value, even if hidden. How can I make sure that the …

Web Development javascript
Member Avatar for websurfer
0
127
Member Avatar for kireol

Is there a better way to do a search within an array of associative arrays? :) Basically a way to replace the function that I did that works, but was wondering if there's a better way. [ICODE]<?php $employee = array(); $employee [] = array("name" =>"Chris Apple", "company" => "Acme inc.", …

Web Development apple php
Member Avatar for kireol
0
158
Member Avatar for virang_21

Hi, I have hosted a website that has MSSQL Server 2005 database on different machine. I am using the following connection string [code]<add name="ConnectionString" connectionString="Server=mssql2005.ableos.com.au;Database=visualinventory_ableos_com_au;Uid=myuserid;Pwd=mypassword;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />[/code] I am getting the following error. [B]A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server …

Web Development asp.net mssql
Member Avatar for smithroy9
0
151
Member Avatar for k2k

say i have: document.writeln("0") document.writeln("1") document.writeln("2") document.writeln("3") document.writeln("4") how i do generate them in different order each time but all of them must display? ... please help ex: .... 1 ........ 3 ...........0 ...........4 ........... 2 then another output would be: ........3 .........2 .........4. .........1 ............0 ... all random but …

Web Development javascript
Member Avatar for essential
0
136
Member Avatar for lithodora

Form Validation Script: [code]<script language="javascript"> function handler(where){ //check for unusual characters var iChars = "!@#$%^&*()+=-[]\\';,./{}|\":<>?"; var wspace = " "; for (var i = 0; i < where.value.length; i++) { if (iChars.indexOf(where.value.charAt(i)) != -1) { return false; } if (wspace.indexOf(where.value.charAt(i)) != -1) { return "nope"; } } } function emailhandler(where){ …

Web Development javascript
Member Avatar for foryounow
0
139
Member Avatar for DealthRune

I am using this thread to show an example to a website on my javascript table editer I made. To see the script in action, just put it in one of your text editers (i.e Note Pad, ect... ect...) Description: With this, you can add cells, delete cells, add rows, …

Web Development javascript
Member Avatar for DealthRune
0
143
Member Avatar for tiger86

I'm developing a program in PHP. I'm still a beginner in PHP thus said I may ask some questions that may seem basic. How would you go around compressing PHP into a downloadable file for redistribution.

Web Development php
Member Avatar for almostbob
0
124
Member Avatar for gingank

Can anyone tell me is i want to post the $to with the select box how to do it i write the code [code=php]$to= $_POST['to']; if($to == ''1") {POST "address 1";} else { $to=="0" {POST "address 2"}}[/code] Then i mail will post to email address 1 or 0. But the …

Web Development php
Member Avatar for cwarn23
0
138

The End.