@Sathya, hey. I'm working on something over here and I was wondering, if anyone knew, at least conceptually, what the right way to handle a bunch of similar - but differently typed - objects in a menu.
In other words, I have a menu of a bunch of "slides" similar to powerpoint.
Also, @Sathya - Did I mention that I finally got an unlock for that Android? And that it says that it worked, but the phone refuses to connect to AT&T?
Is this what your looking for?
This example demonstrates how to easily hide query string parameters using loop flag. Suppose you have URL like http://www.mysite.com/foo.asp?a=A&b=B&c=C and you want to access it as http://www.myhost.com/foo.asp/a/A/b/B/c/C
Try the following rule to achie...
I have this .htaccess rule:
RewriteRule viewshoplatest/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/$ /viewshoplatest.php?$1=$2&$3=$4&$5=$6&$7=$8&$9=$10&$11=$12&$13=$14&$15=$16
It should map a URL like this:
http://www.veepiz.com/...
Bo** programming is offensive, after all. (EDIT: sorry for writing that out without the expletive stars originally; see the revision history if you have a strong stomach.)
wonders what made the OP of that mod_rewrite question ignore my answer, but respond to someone who left the same one three days later with the main difference being an explanation that it does, in fact, answer the question.
And by a bit sad I mean that I wanted to strangle someone yesterday, but yes. :P
The fact that you can't reference ROW_NUMBER() from the current query is the worst, since having to wrap the SELECT as a subquery to do the record limiting means that you have to disambiguate all of the columns being returned (which sucks with Dapper, because it means that you can't do multi-mapping). MySQL has a sane LIMIT to begin with, but it also allows you to reference columns from the SELECT in a HAVING clause if there's no grouping, which I could live with...
A la SELECT ROW_NUMBER() AS RowNumber FROM ... HAVING RowNumber BETWEEN @start AND @finish
You'd best not install the MVC miniprofiler then, it's so easy to feel the server's pain when the impact of those nasty queries is spewed out before you :P