»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 10-21-2003, 08:18 PM   #1 (permalink)
Banned
 
Join Date: Nov 2002
Location: Seattle, WA
Posts: 3,289
iNeb is on a distinguished road
Send a message via AIM to iNeb
ASP Help please :)

I recently become the web dev for my HOA (Home owners association) for the community i live in.

Only problem is the old dev wrote the code in asp, which i know nothing about, i tried to add another page, but no use.

Here is the code (It looks like simple includes):

Code:
<%

Private mstrHeading 'As String

Call Main()

'Begin Module
Private Sub Main()

	mstrHeading = Request.QueryString("qryHeading")

	If mstrHeading = "" Then 
		mstrHeading = "Welcome to The ******* HOA Community Website"
	End If
End Sub
%>

<html>

<head>

<link rel="StyleSheet" type="text/css" href="css/********.css">

<title>******** HOA</title>

<META NAME="Description" CONTENT="******** HOA">

<META NAME="Keywords" CONTENT="******** HOA">


</head>


<!--#include file="include/top.inc"-->
												
<!--#include file="include/home.inc"-->

<!--#include file="include/bottom.inc"-->												
												
</body>

</html>
The links look like this: howto.asp?qryHeading=How To

I tried editing the middle include file and changing the name of the file, but no luck, what should i do?

iNeb is offline   Reply With Quote
Old 10-21-2003, 08:30 PM   #2 (permalink)
Registered User
 
golfcart's Avatar
 
Join Date: Oct 2001
Location: Michigan
Posts: 1,680
golfcart is on a distinguished road
What doesn't work?

It looks like it's only a single page site and you are trying to add a second. Is that right?
golfcart is offline   Reply With Quote
Old 10-21-2003, 08:51 PM   #3 (permalink)
Registered User
 
Join Date: Oct 2001
Location: TOO close to Wash DC
Posts: 7,956
vass0922 is on a distinguished road
Ok so you modified the home.inc file and renamed it, then renamed it in this main file.

Its quite possible that your include that you edited is borked, so it messes up the whole thing

put in the code you modified before and after you modified it so we can see what's going on there.
__________________
<< Insert exceedingly large and overly verbose message of how 1337 you are here including full specs of every vehicle you've ever driven and PC you've owned >>
vass0922 is offline   Reply With Quote
Old 10-21-2003, 09:27 PM   #4 (permalink)
Banned
 
Join Date: Nov 2002
Location: Seattle, WA
Posts: 3,289
iNeb is on a distinguished road
Send a message via AIM to iNeb
All i did was rename the home.inc path (to events.inc) and changed the mstrHeading to a different one.
iNeb is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 01:09 AM.