52,566 Archived Topics
Remove Filter ![]() | |
Helloo Im new in Databases. I want to create a simple shopping cart i have a table called product [CODE] CREATE TABLE `products` ( `id` int(11) NOT NULL AUTO_INCREMENT, `category` varchar(150) NOT NULL, `name` varchar(100) NOT NULL, `author` varchar(100) NOT NULL, `details` varchar(10000) NOT NULL, `price` int(11) NOT NULL, `imgpath` … | |
Hi. I m having trouble with a small method I wrote. Would be nice f someone can help me. this is my method:- [code] public IQueryable getCustomerOrderList(DateTime dt) { var customerList = from p in dc.CustomerOrders where p.OrderDate == dt && p.OrderStatus == true select new {p.aspnet_Membership.aspnet_User.UserName,p.OrderNo,p.OrderDate,p.Note,p.DeliveryStatus,p.DeliveryTime }; return customerList; … Web Development asp.net | |
[CODE]$thenumber = 0; $thenumber++; [/CODE] i've tried putting this inside the brackets for the for loop and it isn't working. the number stays as 1. theres alot of code so i can't post the whole for loop. Web Development php | |
[b] Split from - [url]http://www.daniweb.com/forums/post1150948.html[/url] [/b] I am having the same error [QUOTE=lqdo;874605] The type specified in the TypeName property of ObjectDataSource 'ObjectDataSource1' could not be found. [/QUOTE] Could you please give more information how to solve this problem. [QUOTE=lqdo;874605] I have figured it out. I was running the webpage … Web Development asp.net | |
hey all, i found a way to click a link and load it into a div. the only problem is that i keep getting the "AHA error" from the if statement in my div. i'm not sure if it is me or the coding but i'll post what i'm using … Web Development html-css javascript | |
I am developing a project in ASP.Net. How to retrieve data using C# from certain table (SQL database) based on user_id after user log in. And how to display the data into text box and label after user click Show button? Web Development asp.net | |
I am developing a project in ASP.Net using C#. I don’t know how to take data from other table (SQL database) in the same project and save the data into another table using C#. Let say that I have two table that is registration and user. In the registration table, … Web Development asp.net user-interface | |
I have a problem. I have an image set to the background, this method is working for fire fox, here is how i got a background image. [CODE]<img src="docs/Plasma.gif" id="background"/> <div id="content">[/CODE] Right after the body tag and [CODE]img#background { position:fixed; top:0; left:0; width:100%; height:100%; } #content { position:relative; z-index:1; … Web Development image javascript web-browser | |
Hi, I have a question about ajax, php si mysql.. In mysql i have a table playlists and here is the code for php: [code] <?php $playlist_result = mysql_query("SELECT *, COUNT(playlist_id) AS NumOccurrences FROM playlists WHERE created_by=$user_id GROUP BY playlist_id HAVING ( COUNT(playlist_id) > 0 ) ORDER BY date DESC"); … Web Development javascript mysql | |
Hi, My name is Ian, and I’m trying to make a put together an eCommerce website. The site is for selling boxes. We have an inventory of specific boxes of specific dimensions, specific styles, board grades, and so on. I’m using Dreamweaver and to try to make my life easier … | |
Hi friends, I have a multi form(actually is one whole form, but split into multiple forms). From the image seen When i typed the name data in Form 1, and click the next button and go to Form 2... In Form 2 when i typed the Email data..and then i … Web Development php | |
Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/redirect_index.php:20) in /home/mysite/public_html/redirect_index.php on line 38 I've converting as asp site to php. I'm a partial numpty in asp and complete numpty in php I keep being told this is a white space problem..... I can't see … Web Development php ![]() | |
this is my code where i am putting values to the checkbox value by getstring i getting problem when displaying the value of checkbox value which displays"Undefined" please give some solution. where i want to get the value of my checkbox which i have been selected Web Development java-jsp | |
hi guyz, i'm developing my own website, when creating news, i'm having this problem, i can't show news by id, i mean i have 5 news item in my db and they are stored by id 1,2,3,4,5... but when it comes to display the news they all display as a … Web Development php | |
hi i wants to create an dll file for displaying selected data form database by using a gridview. for this iam creating a dll file , in that how to declare gridview1 ,,,, here my codeing is given below ..... please correct errors.... [CODE]Imports System Imports Microsoft.VisualBasic Imports System.Web Namespace … Web Development asp.net dataset web-server | |
i am having a small problem. I am having some problem getting variables from the first form into another form to be processed. in other words i am processing the same data i got from the first form twice but i want a break between the two blocks that processes … Web Development php | |
My form Submit button has an onClick="myFocus()" call, which looks like: <code> theFocus = document.getElementById('warning'); theFocus.tabIndex = 'auto'; theFocus.style.background = 'red'; theFocus.focus(); </code> It works - briefly. Right after clicking Submit (top of form no longer visible when Submit reached), the focus goes to the target element and turns red … Web Development javascript | |
I have a page on which I have broken it down into several forms, which relate to specific categories applied to an awards contest for students. At the top of the page, I have a select list which, when a category is selected, I want it to show a particular … Web Development audio javascript javascript-jquery promotion web-design | |
I was wondering if there was a way to create a PHP Contact Form where the email that is sent can be formatted for html. So that for example the email that is received is formatted like an html page where it contains a background, images & formatted text. I … | |
:)Friends. I need some good JQuery PDF ebooks. Please Help me to learn it. Thanks in Advance. Web Development javascript javascript-jquery pdf | |
<script type="text/javascript"> function play(media){ document.getElementById('mediaplayer').innerHTML= '<object classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95"' 'type="application/x-oleobject" width="320" height="285">' '<param name="showControls" value="false">' '<param name="fileName" value="' media '">' '<embed type="application/x-mplayer2" width="320" height="285"' 'showcontrols="false" src="' media '"><\/embed><\/object>' } </script> <div id="mediaplayer"></div> <ul id="menu"> <li><a onclick="play(this.href);return false" href="">Source 1</a></li> <li><a onclick="play(this.href);return false" href="">Source 2</a></li> <li><a onclick="play(this.href);return false" href="">Source 3</a></li> </ul> I have … Web Development javascript web-server | |
I am trying to create an anonymous function for onchange event of file field, so that when a file is selected, the covering text field gets that value. I know how to accomplish this by adding onchange="", but I'd prefer not do that. The code that I have almost works, … Web Development javascript | |
I have no clue why this is happening. When I load a certain page on my site, my content loads twice. Basically, my content appears to flash once. I can't figure out what's going on, but it seems to deal with the following code. The page calls urlCheck(). [CODE] // … Web Development flash javascript | |
I'm sorry about posting this again, but as I said I'm on a deadline, and I'm sure there's someone out there that can help me... I am using a dhtml "Image Slideshow", and I was really happy with I customized its layout to my needs, and it runs perfectly on … Web Development html-css javascript | |
A): First I have a company form, which i create a company name and it is saved in a company table..with an autoincrement id as 001( I used Zerofill in it.) Creating the company --> I did this.. B): Then, I have a project form which create project details, in … Web Development php | |
hello i am trying to pass a large serialized array (12.4kb) using POST via PHP, but it doesn't get passed completely i only recieve 269 bytes, whats wrong? i am using Godaddy linux shared hosting. Web Development php | |
I want to include some variables in an HTML table. The variables are stored in phpmyadmin and my site a CartWeaver site, I'm using Dreamweaver. How do I insert variables into separate table cells? I thought this would work but it isn't so: [CODE]<?php echo($row_rsCWResults["product_ShortDescription"] . "<br />") ?>[/CODE] Web Development php | |
Hi guys for my first piece of work on javascript i have to check a few html form questions which is provided. But im pretty clueless on how to do it, or even start it. First of all how would i check like a drop down menu had the right … Web Development html-css javascript | |
hi all PHP masters and newbies i have a question about pagination. this news script displays 4 little images and links at the right side and one large image at the left side. and all the links submitted shows below. i need let at the page displays 8 news with … Web Development php | |
how can i write a email function using jsp which have reply, forward, address book function like yahoo email function. | |
Ok - I've got an easy one for you all on this Friday. I know the answer is staring me in the face, but I can't seem to figure it out. The problem is that the following function does not return a value for me. However, if I insert a … Web Development php | |
Hello there, I'm not getting the result's I want with my code. So this is my table: P_ID Latitude Longitude 9001 15 10 9002 23 54 9003 2 23 9004 23 12 9005 54 23 And here is my code: [CODE] //connect //ordering the latitude $query="SELECT Latitude FROM Position ORDER … Web Development php | |
I,m a novice in ASP.net programming. I wonder how to use functions and events associated with each control. I have seen few books and couldn't get it. Can anyone help me out.?? | |
\n is within a string... String str = request.getParameter("textfieldvalue"); I want to display the value of str to other pages..using this link below. window.open("page.jsp?param=<%=str%>") ....the problem is that the window is not opening due the str has \n. How to read \n in a string? Web Development java-jsp | |
Hi all, First time poster, but I'd like to ask a simple question in ASP.NET C#. I have a function that sends queries to an SQL Server. It takes a while, so I'd like to display the details to the user. Something simple, like "Sending x out of 12345 total … Web Development asp.net javascript | |
I am new with ASP.Net and C#. I have problem with drop down list. How to declare drop down list and how to save user selection from drop down list into SQL database using C# ? Web Development asp.net | |
here is my code. this is working fine but small prblm is here.fading text is working only one time. it is not working multiple times. can anybody check what is the prblm is der? rotation not working.just copy paste this codeand see what is the prblm is there.first time loop … Web Development php | |
Hi, I have created a .gif image in photoshop,then i have linked the location in html coding.But i am unable to see that image in internet explorer.I am able to see a red crossed line.How to make that image to display?? Web Development image javascript | |
hi, plz anyone one send how to create personal web page using asp coding. thank u. Web Development asp | |
I don't want slashes in my $_POST values. I want to deal with that kind if thing myself. I am having problems getting rid of said slashes. You can see the results of the following code here: [URL="http://www.slyme.co.uk/sanitise.php"]http://www.slyme.co.uk/sanitise.php[/URL] View the source - htmlentities seems to work, stripslashes doesn't unless I … | |
hi! I have a form to add content in database(addcontent.php) and one file which shows the content(content.php).Database has id,title,content columns. IS it possible to make the content.php to "$_GET" the id's from the database and show them on the page as : content.php?id=1 And other thing. i have buttons in … | |
problem: On the parent page, I have a textfield and an image icon.on clicking the image, a popup (child) should open. The child form has a textbox ,a listbox and a button Go. By default, the listbox should be populated with employee names. When the user types a letter, the … Web Development asp.net dataset web-server | |
i want to display a confirmation message when a user clicks delete.can any1 tell me how i could do it with javascript and php here's my code [code=php] $id=$r["sr_no"]; if($r['district']==1 || $r['district']=='North') { $r['district']=North; echo "<tr><td >{$r['sr_no']}</td><td >{$r['name']}</td><td >{$r['designation']}</td><td >{$r['dte']}</td><td >{$r['ph_o']}</td><td >{$r['ph_m']}</td><td >{$r['ph_r']}</td><td >{$r['district']}</td><td >{$r['taluka']}</td><td >{$r['pan_name']}</td><td><a href='edit.php?cmd=edit&id=$id'>Edit</a></td><td><a href='edit.php?cmd=delete&id=$id' >Delete</a></td></tr>"; echo … Web Development php | |
[code=php] <?php mysql_connect("10.237.200.202", "root", "r00tb33r") or die(mysql_error()); mysql_select_db("spc_grinding_c1_dbo") or die(mysql_error()); $qt=mysql_query("SELECT DataReading FROM SPC_DataReading WHERE StationNumber = 'STATION2' && MachineName = 'GN-07' && ParameterName = 'outside diameter (2.4912)' && Date_Captured = '02-25-2010' && ReadingType = 'AVERAGE'") or die(mysql_error()); header ("Content-type: image/jpg"); $x_gap=40; // The gap between each point in y … | |
hi friends, i have a simple login form .. but i dont know how to create the code for secure login form (i.e) if logged users only can access the specified functions like bid a project or post some ads like that Thanks, srya. Web Development php | |
I am pretty new to PHP and altho I am ratehr good with linux and shell I was wondering if there is an easier different and maybe more efficient way of doing what I would like to do with a PHP script ? I know how to cat and sort … Web Development php | |
this script, made by me, lets you resize an image propotionally! | |
hey can any 1 tell me how i can validate a name field to allow only alphabets and spaces.i tried this [code=php] else if(ereg('[ ^ A-Za-z ]', $name)) {echo "<h5>YOU CAN ENTER ONLY ALPHABETS</h5>"; $errCnt++; } [/code] but this allows only alphabets.i cannot enter a space Web Development php |
The End.