Code Bank
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingCode Bank

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 7th, 2005, 09:16 AM
thamike thamike is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 3 thamike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Some Script Help

My company threw their website in my lap because our coder left and I don't know as much as i'd like to about ASP.

Could someone help me with these two problems...

1. I would like to add a statment to this code that if an image being called doesn't exist that the code would display a default image in the images folder. Something like if sEDP=null, then show the default. Again, I don't know how to code it, could someone help? Here is the code...

<img src="/images/p<%= sEDP %>b.jpg" border="2" alt="<%= sItemName %>">

2. We have an email op in form and i'd like to have a responder email sent to the user when they opt in. I guess the easiest way would be add a way to forward their email addres to an in house email where a automatic response would be set up. Here is the form code...

<form method="POST" action="emailsignup.asp" name="emailsignup2" onsubmit="return emailVal(this)">
<input type="text" NAME="email" SIZE="22" value="enter e-mail here" onClick="return clearemail2();">
<input type="submit" name="submit" value=" Sign Me Up! " STYLE="background-color: #CC0000; color: white; font-weight: bold; font-size: 11pt;">
</form>

How would I add it?

Thanks!!!

Reply With Quote
  #2  
Old January 7th, 2005, 11:23 AM
selwonk's Avatar
selwonk selwonk is offline
Contributing User
ASP Free Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2004
Posts: 2,942 selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 9 h 49 m 28 sec
Reputation Power: 62
Please move this thread to the ASP forum. You'll probably get a quicker/better response there...
__________________
selwonk

If I've posted some code above, you might think it looks a bit simplistic. It might be. I'd rather people tried the next step themselves rather than getting a full solution on a plate. That way they learn more!

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingCode Bank > Some Script Help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway