Hi guys, as a newbie, I couldn't find an answer to this problem I have anywhere on this 'tinternet thingie, so thought I'd throw it over to you to see if you...
Actually, what I would do is trap a null value in the SQL, and return a URL pointing to itself; the easiest way to do this is to use the "Coalesce" function in...
You can also return "", an empty string ... handy to not show anything on the screen. In this case you can return "No Photo" to the UI, and if you add that...
Thx for a quick reply guy. With regards the solution, I've tried both versions and without upsetting anyone, found that the reply from Eric Van Buren was the...
hey how can i declare variables in asp which can be accessed by two or more pages ? i wish to do something like this: in page 1 i hav a drop down box...
You don't really need session to get it for the second page, it can access the forms collection using the name of the <select> tag, then add that to session so...
Looks like you may be doing this with Dreamweaver? First you need to be sure if all non-entries are really "null" or if they're blank/empty. Then you can...
Hi guys. You guys made my life better with your quick and helpful advice last time, now I've just tried to do the same hyperlink from a table but this time it...
Quick and Dirty.. and should do what you are asking.. if I'm reading the request correctly. :) .... Response.Write ("<tr>" & vbCrLf) IF LEN(oRS("PIX")) <> 0...
Cheers pogowolf - did the trick as required, could I now be cheeky and ask if you would like to break the component issues down and explain what each part does...
BTW reading fields is expensive...... http://learnasp.com/freebook/asp/propertyexpense.aspx BEFORE.... IF LEN(oRS("PIX")) <> 0 THEN Response.Write ("<td...
Ok - Point taken Charles - I've ammended my .ASP pages to the "DIM" reflex rather than the long-winded way that I used to think was the way to go. I did say...
The mistakes are because I have not coded in ASP since 2001. I only do ASP.net. The samples for ASP at LearnAsp.com are all correct syntax -- however if you...
Sure, though I'm glad it was brought up about the reading fields.. I've also not touched Classic ASP in quite a few years.. LOL anyway.. here's the new code...
I also think Context switching is so much easier on the eys of HTML/CSS types who have to maintain pages, eliminates the need for ' just to simplify typing,...
Good advice, adding in self-documentation: Dim product_photo And documentation: Dim pix 'the product photo IF LEN(Pix) <> 0 THEN%> 'test for empty or null ...
I would agree Dim product_photo_url product_photo_url=.... If LEN(product_photo_url)>0 THEN%> is much much much better. The comment ...... 'test for empty...
Nice, adding to the sub's idea, when I'm confronted with 1,000+ line spaghetti code the first thing I do is create a sub main() page, convert pieces into...
Hello, I have solved my problem by: 1.Install "php-5.2.6-win32-installer" to my webserver. I can run PHP script on IIS. 2.Written PHP script for autocomplete...
Cool Kawin, ASP pages can have other coding but you start two scripting engines so dual-scripted pages run slow is the only drawback, generally. You can use...
I would like to know how to detect the different mobile devices (iPhone, etc) so I can start learning how to program for them. Does anyone know how to do this?...
It's the browser that defines what made the request, so grabbing the useragent is what you need to do, from browsecap.ini to php there's quite a few ways to...
this code: <% '****************************************************************************** ' HTML/XHTML MP/WML Mobile Redirect ' ' If you have built HTML,...
Dear Aspclassicanyquestionisok,I strongly recommend this website www.justdial.com. It's a world class local search service & I've always found anything I've...
dear frd i have a problam becoz i want to make a job site but i have no code and no idea to upload or copy and paste resume code and show resume like as ms...
http://www.codeplex.com/aspclassiccompiler Its good to read Scott Hanselman's "Tweets" and to subscribe to a couple hundred .NET blogs via Google Reader so I...
If this message is not acceptable for group parameters, my apologies. I finally figured out how to use Ajax for inline edit of Classic ASP datagrid table rows....