Web Development

Access queries as structs in ColdFusion

Did you know that in ColdFusion you don't have to loop through a query to access specific elements of the query?... Instead of having to go through the hassle of looping an array just to find one field, if you know the field and row number you can just do this: <cfset variable = query[column_name][row_number] /> e.g.: <cfset variables.product_name = variables.q_products[name][5] /> Thanks to Ben Nadel for that.

Tags: 

Xenu's Link Sleuth - still the best link checker

There are tonnes of different ones on the market, some that promise to make your whites whiter and floss your cat, but in the end you just want a simple program that will check your site for broken links, maybe broken code too if you're so interested.

...Xenu's doesn't confuse you with a list of unimportant non-broken URLs, and it doesn't take a ten-page wizard interface to set up each project, instead you can simply paste in the starting point and let it go to town, selecting extra options if you specifically need to.

Tags: 

Pages

Subscribe to Web Development