Hi
I want 2 make a newsscript where the newsmaker.asp, newslist.asp, newsupdate.asp, newsdelete.asp is on one single site.
I dont know how i shut make it but knows that the links can be showet as this:
DOMANE/test.asp?mode=newsmaker
DOMANE/test.asp?mode=newslist
and so on.
and If i just will see a single record then the link can look like this:
DOMANE/test.asp?mode=singlenews&UID=3
but how do I make the code !?? can it be make like this:
MY HTML,HEAD AND SOME BODY CODE......Then the TD where the things shut be showet.
<%
dim mode
mode = request.querystring("mode")
if len(mode)=0 then
mode=newslist
else
mode=cint(mode)
end if
if mode=newslist then
%>
MY NEWSLIST CODE AND SQL
<%
end if
if mode=newsmaker then
%>
MY NEWSMAKER CODE AND SQL AND SAVE CODE FOR THE RECORDES
<%
end if
if mode=singlenews then
%>
MY SINGLENEWS CODE THAT SHOW A SINGLE RECORDS FROM THE DB.
<%
end if
%>
MY /BODY AND /HTML CODE FOR THE END OF MY SITE.
is it so or what !?? can someone help me and maybe show me a code for it or an usefull toturials for it !??
sorry my english and HAPPY NEWYEAR !!