IF Structure

What i have so far is: Code:

if(if something in search field){
do all this
}
else{
display all because first time run
}
As you see when People first run the program i wish for all books to be displayed which is taking place in the else{ } because the searchfield is undefined! however if then people click search with nothing in the search field i dont want all books to show but an error as they are searching for nothing. See where the above would trigger and show all.

its also important people can press "return" to submit as well and clicking the button so seeing if the the button is undefined is not an option! as if return is pressed it dont value the button being pressed. What are my options ?

View Replies


ADVERTISEMENT

Directory Structure

I'm developing a website for a software company. They want to publish news, tip/tricks and other articles on company's news section. I would like to get advice on how to name the individual article files? (There will be 1000s of them) . how to let the user query it? (i.e. news/index.asp?articleID=234544 or what?). I preffered a standard way to do all this. Pointer to any sample or tutorial on this.

View Replies View Related

Navigational Structure

I've been trying to update the web-site for the local orphanage (www.bedaya.org.my) via FP2002. This whole project started on my humble Win98 and FP2000, then I've upgraded to an XP and FP2002. Without reading any on-line docs, I've simply reloaded the website from HD (via C:Inetpubxxx) into FP2002. It seemed OK.

Did various changes, and tried to update the web-site version (via 'Publish web'), and kaBoom! My shared borders (top, left and bottom) all now contain the page's text! So now there are 4 main text repeated, thrice in the borders, and once where it should be.

I thought maybe FP2002 did a terrible job at merging the navigational structure (NS), so I tried 'publishing' EVERYTHING all over again and asked it to 'overwrite' the existing NS. Took well over 4 hours on a slow 56Kconnection, and the result was the same.

View Replies View Related

SQL Server Database Structure

I want to know the structure of SQL server database table using ASP.Is it possible to know?I want know the exact datatypes also.

View Replies View Related

Multilingual Asp Web Site Structure

We are devloping an b2b site that is in eglish. the site is working for about a year till now and we have decided to add a new local arabic version. it was developed using asp and sql and we have some kind big dbase.

1- the site offer products and services that are stored in the dbase. the user will switch between languages and should find all information in the choosen language. that means the dbase will contain 2 versions of the data with the same id so we display the inofrmation related to the language.

2- the layout will be in both languages. keep in mind that we almost have more than 1000 file of codes so any changes or enhancement should be minimum. 3-i am posting right now to find out the best way to make the work time minimum for now and future

here is the options i have in mind

1- create a folder for arabic and copy all files in it then modify them
2- add the language to the same files and choose between them by passing parameter then use the code for the paramter i am looking for the best way to create the arabic version and any comments are welcome.

View Replies View Related

URL Pointing And Directory Structure

I'm fresh out of the box when it comes to .asp, I've basically had a website thrown at me with the instruction "make that work". So, I have been given a cd with a site on it that I know works, (albeit on a different server) and I have uploaded it to my 1and1 server. I have been given the registered url, but dont know where to point it within the servers directory structure....which looks like this;

URL

I'm ok with HTML and some JAVA but all this ASP leaves me behind.

View Replies View Related

Collapsible Directory Structure Tree

I want to create a Expandable and Collapsible Directory Structure Tree. So that it looks at a folder from a path i give it and shows all directories and files underneath it.

This sub directories needs to be expandable and collapsable and when i click on on of the options it will bring a select box up by the side of this giving options. ie edit page.is this clear?

View Replies View Related

Input Form For Creating Hierarchy Structure

I'm trying to create an input screen that allows users to create a hierarchical structure as the one below, but have no clue where to start or how to construct it. Code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved