Hello,
Access has the ability to hide the key value in a drop-down menu. Is there a
way in PHP to do the same thing?
Thanks,
Vic 4 2027
Vic Spainhower wrote: Hello,
Access has the ability to hide the key value in a drop-down menu. Is there a way in PHP to do the same thing?
Thanks,
Vic
PHP doesn't do drop down menus. HTML does.
And no, there is no way for HTML to hide the key value. The client
needs that value to return to the server.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attgl obal.net
=============== ===
That was the short answer. What do you mean by hiding exactly? If you
just want to hide the key values from the renered page, just use the
value attribute:
<option value="3">Numbe r Three</option>
instead of
<option>3</option>
I can imagine that you want to hide your actual database IDs. In that
case, just don't send them. Compute a hash from them (or better: a
"salted" hash by including the session id) and send the hashes instead.
Store these hash values in the $_SESSION array, so you can look up the
real database IDs from the submitted hash value.
Have a nice christmas.
Jerry Stuckle wrote: Vic Spainhower wrote:
Hello,
Access has the ability to hide the key value in a drop-down menu. Is there a way in PHP to do the same thing?
Thanks,
Vic
PHP doesn't do drop down menus. HTML does.
And no, there is no way for HTML to hide the key value. The client needs that value to return to the server.
Thanks Dikkie that helps and a Merry Christmas to you!
Vic
"Dikkie Dik" <no****@nospam. org> wrote in message
news:do******** **@news.cistron .nl... That was the short answer. What do you mean by hiding exactly? If you just want to hide the key values from the renered page, just use the value attribute: <option value="3">Numbe r Three</option> instead of <option>3</option>
I can imagine that you want to hide your actual database IDs. In that case, just don't send them. Compute a hash from them (or better: a "salted" hash by including the session id) and send the hashes instead. Store these hash values in the $_SESSION array, so you can look up the real database IDs from the submitted hash value.
Have a nice christmas.
Jerry Stuckle wrote: Vic Spainhower wrote:
Hello,
Access has the ability to hide the key value in a drop-down menu. Is there a way in PHP to do the same thing?
Thanks,
Vic
PHP doesn't do drop down menus. HTML does.
And no, there is no way for HTML to hide the key value. The client needs that value to return to the server.
Thanks Dikkie that did the trick! Merry Christmas to you.
Vic
"Dikkie Dik" <no****@nospam. org> wrote in message
news:do******** **@news.cistron .nl... That was the short answer. What do you mean by hiding exactly? If you just want to hide the key values from the renered page, just use the value attribute: <option value="3">Numbe r Three</option> instead of <option>3</option>
I can imagine that you want to hide your actual database IDs. In that case, just don't send them. Compute a hash from them (or better: a "salted" hash by including the session id) and send the hashes instead. Store these hash values in the $_SESSION array, so you can look up the real database IDs from the submitted hash value.
Have a nice christmas.
Jerry Stuckle wrote: Vic Spainhower wrote:
Hello,
Access has the ability to hide the key value in a drop-down menu. Is there a way in PHP to do the same thing?
Thanks,
Vic
PHP doesn't do drop down menus. HTML does.
And no, there is no way for HTML to hide the key value. The client needs that value to return to the server. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: David |
last post by:
Hi everyone,
Hoping there are some .js/browser experts out there that can help with this
weird problem.
I have made a swap div routine and applied the events to menu buttons with a
closer layer behind the menus. The closer div has a lower index than the
submenu divs so it appears behind them. The closer div contains a
transparent gif with an event applied to it to close all of the divs when
moused over.
|
by: dmiller23462 |
last post by:
Hi guys....I have absolutely NO IDEA what I'm doing with Javascript
but my end result is I need two text boxes to stay hidden until a
particular option is selected....I've cobbled together the JavaScript
in this code from a couple different sites but I'm not 100% sure what
each line is doing...This is the ASP code that I'm using for the
page....Take a look at the JavaScript code and please let me know what
each line is doing....I have been...
|
by: Marcos Ribeiro |
last post by:
Hi
I was trying to code the DragEnter event on a RichTextBox on the IDE Code
editor but I could not Find that member on the events ComboBox. So I tried
seting the option (Tools menu) Text Editor/All languages/General and
unchecked Hide advanced members, but it has no effect . I still can´t find
the event
Any ideas? Thanks
Marcos
|
by: Gellert, Andre |
last post by:
Hello,
I have following problem:
A user "xy" shouldn't have any rights to a table,
but needs data from the content of the table.
My idea was to setup a PL/PGSQL procedure to fetch the
data from the table, so that the user only is allowed to
access the procedure. I also tried using a SQL function,
but this doesn't work, too.
Working with views may be a solution - or are e.g. cursors
|
by: asilverpeach |
last post by:
Hey Guys!
Found some great scripts here on this topic but have to make to changes to the code that I can't seem to figure out.
First,
In the following code clicking on the headers shows the div information. I want a nested show hide element though. So when you click on "Do you have carpets to be cleaned?" Small Rooms & Medium Rooms appears (that I got working) But Then when you click on Small rooms or medium rooms i want the three lines...
| |
by: ali |
last post by:
Hello every one
i need you help regarding div hide and show. i am having a link like
<a href="#" onClick="expandWin()">show/hide </a>
<div id=showHide>
</div>
within div i have lots of form tags and div elements say n. The problem
|
by: Bob Ross |
last post by:
Because of IE6 not being able to put drop downs behind other divs I need to hide the drop downs when the div pops up.
The problem is I hide the drop downs but the button is also using an update panel to update the 'pop up' div this update shows the drop downs again because they are inside the update panel.
Is there any way I could run some javascript on the panel update or stop the update panel from showing the drop downs again?
Sorry...
|
by: prathna |
last post by:
Hi ..
I have a logic:iterate tag which will display 5 rows each row with a drop downlist and 2 textfields.now by default all the rows will be shown.how do i hide all the rows except the first one.i know how to show/hide a row when its not dynamic.but i dont know how to do it when its logic iterate tag.
<logic:iterate indexId="index" id="phoneItem" name="nameForm" property="results">
<%
String dropdownType = "results.dropdownType";...
|
by: k3pp0 |
last post by:
Hello.
Here's my example form:
<form method="get" action="">
<p>
<input type="radio" name="radio_example" id="radio1"
value="radio1_val" />
<label for="radio1">radio button one</label>
</p>
|
by: Doogie |
last post by:
Hi I have an img control I am trying to hide upon certain types of
commands in my code behind. When to hide it is directly tied to a
asp:dropdownlist control. So depending on what the user selects in
that dropdownlist, this image will be hidden or be displayed.
I have tied the onselectedindexchanged value of the dropdownlist to a
c-sharp method (not javascript) because other things are being done as
well that I want to do server side. ...
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |