Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 10th, 2004, 03:23 PM
Authorized User
 
Join Date: Nov 2004
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default send variable value with (?)

I want to send a variable value to the next page. How i should do it.

Suppose i have

user = rst.fields("User_ID")

--User is a variable now containing the user id from the database.

Now i m making a hperlink...

<a href="delete_user.asp?uid=">YES</a>

Now what should i write after "=" in the above expression to send the value of my variable "user" using the question mark notation?

Please help me out!

Farzan Q.
BS(TeleCommunication)
Iqra University.
__________________
Farzan Q.
MS(TeleCommunication)
Mohammad Ali Jinnah University.
 
Old November 10th, 2004, 03:49 PM
Authorized User
 
Join Date: Nov 2004
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I did it.

Actually i was making a mistake while doing it.

The correct is

<a href="user.asp?uid=<%=rst.fields("User_ID")%>">YES </a>

I was making a mistake while putting inverted commas from user.asp to %>

When i was doing mistake i was writing like this:

<a href="user.asp?uid="<%=rst.fields("User_ID")%>>YES </a>

Farzan Q.
BS(TeleCommunication)
Iqra University.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Send URL request to send sms via NowSMS deco BOOK: Professional VB 2005 ISBN: 0-7645-7536-8 0 February 16th, 2008 02:45 PM
send variable in function to another function schoolBoy Javascript How-To 6 March 3rd, 2007 09:16 AM
ASSIGNING A JAVA SCRIPT VARIABLE TO A XSL VARIABLE SOMANATHAN10 XSLT 1 February 21st, 2007 04:26 AM
send variable value in querystring crmpicco Javascript How-To 4 March 10th, 2005 12:41 PM
Trying to send SQL results to a single variable NathanielMc VB Databases Basics 9 June 3rd, 2004 02:36 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.