Hi there,
I have a variable with the following value...
[size=18:5aa59a030f]TIPS & TRAPS FOR LANDLORDS[/size:5aa59a030f]
I want to strip out anything in between the [] so that I am left with ...
TIPS & TRAPS FOR LANDLORDS
How would I go about doing this?
Thanks for your help!
I have a variable in my database called date.
Example: Say the variable date in the databases value is 2005-05-05
How do I make this variable say...
May 5th, 2005
Hi there - I have NEVER had to set up a MSSQL DB before - I usally use MySQL. I have a client who wants me to transfer her site over to our new hosting and I need to find out how to set up the database. I have 2 files ( .LDF and .MDF) that were given to me to set this site up. I also have a SQL...
Hey there. I am having some spacing issues with a site that I am creating. It looks great in Firefox (of coarse!) but in IE there is a space under "Shopping Basket" link. Aswell the Image berkal_bottom.jpg on the right hand pane is not valign bottom due to the height of the table. IE does not...
When using the code below internally on my page (which I must do because I am using ColdFusion variables), the page will not XHTML validate because of the escape "\". Is there a way around this?
Example:
<script language="JavaScript" type="text/javascript">
document.write(" <a...
After using javascript to change the value of a field without refreshing the page is it possible to store the changed value information into a CF variable?
Thanks
Heres what I got so far...
<script language=javascript>
function changeColor(newColor) {...
What I want to do is have it so when you select a color in the form, it automatically changes the field "color_change" without refreshing the page.
Here is the code if you would like to alter it and post back.
Thanks
<table>
<tr>
<td name="color_change" id="color_change">Show Color Name...
EXAMPLE:
session.cart[1].id = 23
session.cart[2].id = 54
session.cart[3].id = 76
What is a function that can find a certain id. What I want to do is scan the array and see if a certain id remains in the array. For example, if I scanned the array shown and asked if id number 54 was in it, it...
I have run into an issue where I have to send a query to a outside merchant account where it then comes back to my site to an approved or declined page. The problem is, when it returns to the approved or declined page it starts a new session. How can I carry over the same the session so I dont...
Any body out there have a script for opening popup windows that won't be reconized by IE popup blocker. I would like to avoid the blocker from poping up when people try to view the "larger image - popup".
Thanks
When I use this script in Firefox, the load bar sticks at half way, although the image completely loads. Works fine in IE, just
function larger(n,p,w,h)
{
var win = window.open("","","width=" + w + " , height=" + h + " , top=100 , left=100 , scrollbars=no, resizable=no")...
I was windering how to redirect to a url in the middle of a script. I have tried this but had no luck,
<CFIF variables.pass EQ "Yes">
<CFINCLUDE TEMPLATE="http://www.google.com">
</CFIF>
I need to be able to redirect in the middle without using javascript, or header tags.
Thanks for your...
I am trying to create a variable from an array on my previous page.
page1.cfm ...
<form method="post" action="page2.cfm">
<CFLOOP INDEX="counter" FROM="1" TO="#ARRAYLEN(session.cart)#">
<input type="text" name="wrapit_#counter#" />
</CFLOOF>
</form>
page2.cfm ...
<CFLOOP INDEX="cart_count2"...
Let me start by mentioning that this is the first time I have ever had to set a DB on MSSQL.
I have two files that I need to be upload? to MSSQL DataBase. I have already created the DB, username and password. I just need to know how to upload these files. I am used to MySQL where I would simple...
I recently started using Alagad Image Component and to my surprise found that once reading an image and then writing it, the file size was larger than the original. Here is am example below...
<cfset myImage.readImage("my_path\test.jpg") />
<cfset myImage.writeImage("my_path\image.jpg", "jpg")...
I am having trouble sending PHPSESSID through the URL.
Here is my code...
<?php
session_start();
$_SESSION['favcolor'] = 'green';
$_SESSION['animal'] = 'cat';
$_SESSION['time'] = time();
echo '<br /><a href="page2.php?PHPSESSID=$_PHPSESSID">PAGE 2</a>';
?>
When I click "PAGE2" it...
When submitting more than one apostrophe in a sentance through a form(in this case the comment), it will not insert into the database? With one apostrophe, no problems. Any more and it just doesn't Insert it. I need some help on this one.
Example:
Heres the form...
<form method='post'...
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.