I am trying to come up with a simple loop that takes each character from a string and converts it to its ASCII equivalent. I tried using split(), but since there is no delimiter that's no good.
I would output a string from a database field, and convert it to { (example) but it would still...
I'm having some difficulty with having latin characters converted from either HTML entity or Word to stay converted. I'm using a replace that works on the first time, but subsequent form submissions corrupt them. A few letters, like á and é, always work. I'll use the letter ú for my example...
What am I doing incorrectly with this statement? The SQL runs perfectly in SQL Server.
Dim rsRedBoxes
Set rsRedBoxes = Server.CreateObject("ADODB.Recordset")
sSQL = "SELECT frontBlurb, frontBlurbAlt FROM tblTemplates WHERE frontBlurb IS NOT NULL"
rsRedBoxes.Open sSQL, strConn, adOpenStatic...
I'm puzzled as to why this query is not working. There is a column named 'access' in the mos_content table (int(11) unsigned). I get the mysql error above when executing.
SELECT c.*, g.name AS groupname, cc.name, u.name AS editor, f.content_id AS frontpage, s.title AS section_name, v.name AS...
I'm having an usual issue with a flash app that's embedded in a page on my site. I have a menu to the left of the flash that does a JS horizontal pullout menu. On other pages, this pullout works fun, but on this particular page the pullout doesn't extend over the flash app. While there is...
There are some style classes that are not appearing in Windows IE, but is in Safari and Firefox. I have had sometimes to put the full heirarchy of classes/divs in order for styles to work in IE, but this isn't working either. And I don't understand why.
Here is the page (inside the 'Recent...
I need to develop a multi language feature for a website and am trying to think of the best way possible to store two more languages for context and instructions. I am thinking of generating a class with a function per language, and then create an array to hold all the instructions, one per...
I have two distinct functions that JS is performing for me. One is a prompt window and the other a basic submit. Neither works in IE, but I don't receive any errors or warnings (it works like a charm in Firefox).
<script type="text/javascript">
function ef(fp, action) {
f =...
I have a form being submitted by JS, but doesn't work in Safari (though no error is produced). Here is the code:
<script>
function goto() {
var f;
f = document.frm12;
f.sectionid.value = 29;
f.submit();
}
</script>
<form method='post' action='http://gotosite/' name='frm12'>
<input...
I wish to output a recordset into an array, so that I can sort all the results by a particular key. Right now, I have a while loop executing mysql_fetch_assoc(), but do not know how to get the 3 tablefields I'm retrieving into said query without making each field have an individual array, then...
I doubt this is possible, but want to throw it out there.
Is there a way to cache images on a page without caching the rest of the content? I have a mostly dynamic site, text-wise, and keep Response.Expires = 0 because of this, but the images are pretty large, file-wise, and are hampering...
We're using a tableless CSS format for one of our site menus. It's using a combination of 3 DIVs to place images around a menu so that it is boxed in. It works in Firefox but fails in IE and am stumped why. Here's the link...
I'm not sure if this is truly IIS-related, but I am working on a Windows 2003 Server with IIS 6. My problem resides above the inetpub/wwwroot/ folder, since I cannot get the read-only attribute removed for file uploads below Inetpub/, but that's for another day.
So, I have this folder...
I'm setting up a form on a client site that, once the user submits, sends all POST data to an HTTPS server. This server validates all info, creates a session, and spits it back to the browser in one long query string url. I need to have my server grab this url and redirect automatically to it...
I'm developing a project on a Windows 2003 Server, and it seems a known issue exists with enable write permissions on folders, so I had to create a folder above wwwroot to store images from the browser (C:\Inetpub\blah\)
I created a virtual directory in IIS to point to this folder, hoping to...
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.