I have table of categories, and a list of products with a counter in the product table. The counter in the product table gets incremented by 1 each time that product is sold. How do I get the top 100 selling products in each category?
Can someone help me with my css? The following looks correctly in IE 6, but not in FireFox. Can someone help me with my css to make it look correctly in both browsers? I am having server side code generate a page with a panel like this, so the html tags have to stay the same but the css needs...
Does anyone know how the social networking sites are importing address books from popular online email accounts? They ask for your email and password and then they are able to retrieve your address book. And if you want they will invite your friends to join. How are they doing? Does anyone...
I need a regular expression that would find all tags between two phrase or a phrase and a carriage return. For example:
Test1/this is just a test
Test2/abc da da da Test Phase/sssss
I want to be able to get "this is just a test" by matching "Test1/" and a carriage return but I also want to be...
Is there a way I can peek into the print stream and send an email notification to the intented user? I don't want to interupt the print job. I just want to capture what ever is printing and send the content via email notification to the intended user. Whatever that is printed contains enough...
I have an xml and xslt document. What I want to do is use the xslt document to transform the xml into another format so I can read it into a dataset. When I use XslCompliedTransform to transform the document it adds a date to the transform document so that it throws an exception that the root...
Can I execute multiple queries with PEAR DB? But, I notice PEAR DB has a function called nextResult which is suppose to return the next resultset. When I try the follow, PEAR always give me an error about syntax. But when I take off the last part that return the id, it works fine. So, how do...
I'm new to using .net typed dataset. I could not figured out how to commit the changes I made in the typed dataset into the database. For the typed dataset, I created a new dataset through Visual studio and I started to drag and drop the tables from server explorer. I configured it to...
Is there a way to get the entire result set from a prepare and execute method into an associate array like the getAll method? getAll doesn't protected the user from sql injection attacks.
I created a lazy loading treeview. The tree only has 2 levels. I will allows load the first level. The second is loaded only if the user expands it. To make the plus appear for nodes that contains chidrens, I add one node with a empty string under each first level nodes. The only code that...
I have a big table that contains about 100,000 records and I want to display it in a Listbox (ListView or some similar control). The problem is that it takes around 10 secs to load. Do you guys have any tips about how I can implement it as a page loaded listbox?
I am using ASP .NET(version 1.1). My http authentication module is called for every webpage that is under may project even though I specified in my web.config to only authentication for a specify directory? Am I missing somethings or is my web.config done wrong for what I am trying to...
I want to make an object that will be global to every PHP page regardless of the user's session. I want the object to stay in memory as any user is accessing any of the pages and stay in memory for at least 30 minutes if no user is browsing any of the pages. Will a singleton accomplish this or...
I retrieve an XML document through a webservice in the following format:
<message xmlns="http://www.someurl.com/messaging">
<header>
...
</header>
<body>
<command>
...
</command>
</body>
</message>
The problem is I can't seem to use XPath to query the...
How are web base chat program done without the client browser refreshing or pulling for information on a timed interval? In other words, how dones the server sending the client browser information without the client browser first requesting for the information.
I can't figure out why LoadPostData is not firing. What am I doing wrong and how to fix it? When I force LoadPostData to fire by calling RegisterRequiresPostBack, but for some reason the values is blank even though I typed in a value before the postback.
heres the output for the...
How can I prevent two users from modifying the same data at about the same time, and notify the later user that the record is readonly because another user is currently modifying the data? What is the best way to deal with this because the web applications is always disconnect from the data...
I have several div tags. Some div tags might contain an image. I want the text in the div tag to wrap the image, but I don't text from other div to wrap around the image.
For example:
<style type="text/css">
.HeadStyle { FONT-WEIGHT: bold; FONT-SIZE: 11pt; COLOR: #000099; }
.ContStyle {...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.