17,029 Solved Topics
Remove Filter ![]() | |
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 | |
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 | |
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 ? | |
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 … | |
[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>" … | |
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 … Web Development first-post javascript javascript-jquery php | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
Hi to All, Please tell me briefly that in PHP, what type of errors occured to the developer. Thanks in Advance Web Development php | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 … | |
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 … | |
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 | |
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 | |
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 | |
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()"> … | |
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 | |
![]() | 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 |
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 | |
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 | |
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 | |
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 | |
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 … | |
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[]" … | |
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 | |
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.", … | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 |
The End.