hi, i am trying to do a search with my ASP webpage, and then display the results in a DIV tag of HTML, how would i do that, thanks -
strconnection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; data source=" & Server.MapPath("shopping.mdb"))
-
strconnection.Open()
-
'after creating strings where clause will look up what values the strings holds
-
sql = "SELECT * FROM Customer_details WHERE Email = @Email"
-
-
i am using Access Database, i also have a FULL HTML webpage built in each ASP code, so when i link the pages up, everything is the same, but i am trying to print the results either on a new page with a list in a DIV tag or the same page in a DIV tag.
thanks
5 1816
can anyone help?
i really need help
hi lu
pleas show error code
i think you wants to prints all fields where email is match but how can you gett email for search in where clouse
if email feild input through form then try this and print on next page call email field in where clouse
<%
If Not IsEmpty(Request .form("Submit") ) Then
R.MoveFirst
R.Find "email = " & Request.Form("e mail") & ""
If Not R.EOF Then
Match = strComp(R("emai l"), Request.Form("e mail"))
If Match = 0 Then
vemail = Request.Form("e mail")
%>
ok...i kinda understand what your doing on that code, but that woudnt really allow me to print within a html div tag
Hi
If i am wrong send your code. I think problem to print in div tag -
<div style="position:absolute; left:; top:; z-index:0">
-
<%Response.write R("value")%>
-
</div>
-
Hi
If i am wrong send your code. I think problem to print in div tag -
<div style="position:absolute; left:; top:; z-index:0">
-
<%Response.write R("value")%>
-
</div>
-
ohhh i see what your doing there, i done it like this
<div>
saksaklfj
</div>
you know you have "value", do i put my SQL in there query in there?
<%Response.writ e R("value")%>
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: CharitiesOnline |
last post by:
Hello,
I have set this script up to add paging to a search results page. Which on
the first page works fine. I calculates how many pages there should be
depending on the number of results returned from my search and how many
records I have set it to display per page. All great so far, HOWEVER.....
When you click the next link to see the next 10 results on the next page, it
just dumps the search details and pulls up all the records in the...
|
by: Jules |
last post by:
Hi:
I have an Access 97 Search form set up - a couple of combo boxes, a
couple of text fields and a command button. I want the command button
to run an SQL script and then open the results form. I can get the
button to open the other form but I can't get it to run the module
with the subroutine in it. This is my first sorti into programming
Access so be kind - I have some SQL and ASP experience but these
modules are a problem for me.
|
by: Sriram |
last post by:
Hi,
i am developing a search page, basically using datagrid.
i have given a column as hyperlink so that when the user clicks on it, it
gives the details of the selected item in a seperate page.
But i want to add a feature so that it saves the search results. for example
even after seeing an item the user should be able to still view the search
results so that he may view another item.
|
by: Arsalan Ahmad |
last post by:
Hi,
May be I am a newbie, or may be i dont have that much insight in following
systems ..i.e. why i have some confusions as below:
In many websites, when search is performed on some keywords (not only
including google which perform general search but other sites which perform
seach on a particular type of item in their database) then many search
results are obtained (for example more than 100 or even more than 1000) but
only limited...
|
by: zakhirn |
last post by:
Hello,
I have an extremely new user to XML and XSL, and I would like to know
how to search XML data via a input form in HTML, and have the results
displayed in HTML.
If anyone has code that can do that, could you please post the relevant
files. I have searched the internet for a while now, and have been
completely unsuccessful. I would like to do it using javascript in my
XSL file if possible, or using CGI script to search the XML...
| |
by: vHTML |
last post by:
hello everyone :)
I am trying to make a page which would take a "entered" on search query from the previous page and display results in google with that query in an <iframe> in the results.htm page.
So if I enter the word "watches" into a textbox, the google search results would be displayed in an <iframe> in the results.htm page for the word "watches" with something like http://www.google.com/search?q= for "textValue".
I have did set...
|
by: |
last post by:
I have a question about spawning and displaying subordinate list controls
within a list control. I'm also interested in feedback about the design of
my search application. Lots of code is at the end of this message, but I
will start with an overview of the problem.
I've made a content management solution for my work with a decently
structured relational database system. The CMS stores articles. The CMS also
stores related items --...
|
by: th1982 |
last post by:
HI All
I have a search page' s result which view 3results/per page,but my "next" link to view next page is not working.
Here is my code :
<?php
// Get the search variable from URL
$string = @$_GET ;
$trimmed = trim($string); //trim whitespace from the stored variable
// rows to return
|
by: moorcroft |
last post by:
Hi I have developed an application that people can use to search for planning applications. The way it works is that once search criteria has been selected and submit is hit, the server will save the search results in an xml file and then redirect to the view search results screen. This screen checks if the xml file exists and if it does, it displays the results, otherwise it says results have expired.
The problem is the fact that this is...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |