How to provide a link to a class resultset variable?
I have a list of pairs name / id in a database using Mysqli table.
The PHP code that prints them out is as follows:
While ($row = mysqli_fetch_array ($resultset, MYSQLI_NUM))
{echo $row [0].} « - ». $row [1]. "\n < br / > ';
}
It works very well. There are up to 6000 items in this list, so that it uses a repeat (not shown) region.
I want to link to a page that uses the id to do things with him (such as edit or delete a folder).
I need to send the value of $row [0] at the next page, but use $row [1] as a link to a page called testlink.php.
The following code:
< a href = "testlink.php? ref = <?" PHP echo $row [0];? > "> <?" PHP echo $row [1];? > < / a >
seems to be a way to do it, but I can't understand how just insert this in the line echo without errors.
Can someone help with the php code to do this?
And is there a better way to access the various elements very large lists other than the use of what is in fact a menu drop down multi-page.
Howard Walker
> It produces what I need, but the index id is not printed before the linked name.
Do you mean that the id is not be inserted into the query string?
Looks like you have an extra quote mark in there. Try this
Tags: Dreamweaver
Similar Questions
-
How to provide a link to a folder to download?
I have several folders each with multiple files that I need to provide for people to download. Most CAD files are the files in the folders. To create a link to download each file would take me and the person to download them, forever. Is there a way to provide a link that opens a download dialog box, that will allow them to download a zip file?
I hope that makes sense.
How you distribute CAD files currently?
Why not just create a page web downloads.html with links to the files zipped upward?
Download the page and the file/folder zipped on your remote server.
Send the customer to the download page.
Nancy O.
-
WebWorks playBook: how to provide a link to the full application
Hello, I'm about to apply which will have a trial version and a full version. They will be separate applications (single SKU). I want to provide a way for the user to install the complete application of the application of the track. At this point I don't need anything fancy. Pehaps the trial can only provide a link to the full App World app.
I know I've seen discussed elsewhere here, but I can't find the information. Any help would be appreciated.
Never mind. I found the information I need:
http://appworld.BlackBerry.com/WebStore/content/
http://www.BlackBerry.com/developers/resources/appworld/BBAppWorld_Getitat_black.zip
http://www.BlackBerry.com/developers/resources/appworld/BBAppWorld_Getitat_white.zip
-
The Adobe Suite 4 Design Premium is available for download for windows PC? I have difficulties to find it for purchase. I tried to download the links on product Creative Suite CS4 help/download page. I do not understand how to provide a serial number for a product that I can not download.
No, you can not buy CS4, only CS6 - Link to buy CS6 via phone http://www.adobe.com/products/cs6.html
If you already HAVE a serial number CS4, kglad links in response #1 here can help https://forums.adobe.com/thread/2017859
-
I always can I not download photo elements 11 Please help me, how can I download you provide a link but it does not work pleas help me
Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache. If he continues to not try to use a different browser.
-
How to provide the download links for the users of the portal
Hello
I have several portlets (standard JSR168 built in Java with JDeveloper 11 g) that displays links to download files users.
The files are stored in another system and obtained by calling a Web service.
Which is the best way to provide these links to the user stays on the same page and get a dialog "save/open"? I have to develop a servelet process the request again?
Thank you
André EstevesYes. You can write the processAction logic. The code in my previous post (content-disposition, attachment) will force the browser to open the file save/open dialog box. If you need example code to download the file, you can see this example .
-
How to create a link to Facebook in my outgoing email?
How to create a link to Facebook in my outgoing email?
Hello
- What application/program that you use to send emails?
Please refer to the below link mentioned before asking your question so that you can provide all the relevant information for us to help you:
http://support.Microsoft.com/kb/555375
Open the Web page you want to create a link in internet explorer, and then copy the URL (Universal Resource Locator) in the address bar and paste it into your outgoing mail.
You can also add the link in your email signature, which will automatically add the link when you compose an email.
-
How to add a link to the html area to launch a dynamic action?
Hey, guys:
I need to add a link to a region of html hyper (I wish it could be a button :(), the value of the items in this region is loaded by a process of pl/sql before loading the header. And this link must trigger a dynamic action to update the database. I know how to add a link Super in this region, but how to define this link if I can launch a dynamic action by clicking on this link, could someone give me a hint?
Thank you very much in advance.
Sam
Published by: lxiscas on April 11, 2013 17:04When I said updateRec I was just a name. Using the class alias_ncic will produce exactly the same result.
Learn more about what you're trying to do, I wouldn't do that with DA at all. I would probably do the link send page and launch a process that call your PL/SQL. But if you must do a DA I'll try to explain a technique below.When you say
Then, I pass two values of two hidden variables:
P216_H_NCIC_APPROVE_TABLE_NAME---> "SOR_ALIAS".
P216_H_NCIC_APPROVE_KEY_VALUE---> #ALIAS_ID #.Your link not pass anything because you never actually call the link, you have a DA of the substitution of the link action.
So... try something like that. Use it for your link attributes:
onclick="return false;" class="alias_ncic" title="NCIC Approve" id="#ALIAS_ID#" rel="SOR_ALIAS"
This defines two attributes more to enter the values you need to.
In yourself DA action on a.alias_ncic add two actions to "set the value.
1.
Action: Set
Set Type: Javascript
JavaScript expression: this.triggeringElement.getAttribute ("id")
Assigned items: P216_H_NCIC_APPROVE_KEY_VALUE2.
Action: Set
Set Type: Javascript
JavaScript expression: this.triggeringElement.getAttribute ("rel")
Assigned items: P216_H_NCIC_APPROVE_TABLE_NAMENow you have your values defined.
Make sure that in your PL/SQL Execute Code action you both of these elements in the field "Page to go" so that they values are actually passed.That should do it.
Thank you
-JorgePublished by: jrimblas on April 29, 2013 16:49
-
How to avoid the link of a null value in a column of link
Hello
How to avoid the link of a column with the value zero. Is that the link should be disabled for the column with the value null, and it must be enabled for all that have a value.
Ex
DEPTNO NAME (link column)
10 SCOTT
20 MAC
30 SMITH
40 -
50 SAM
I don't want to link to the value null in the name column, but the name remaining should have link. Please help me.
Kind regards
BarroHello
One way is like this:
1. create a column not displayed, called link_display in your report to return N or Y depending on whether you want the link by adding the SQL report:NVL2(name, 'Y', 'N') link_display
2. in the header of the region, define a class for the column name using:
3. for the name column containing the link add link attributes: class = "" display_link_ #LINK_DISPLAY # ""
Rod West
-
IS THIS POSSIBLE AND IF YES COLOR 'HOW' TO HAVE DIFFERENT LINKS ON THE SAME PAGE?
Hello
IS THIS POSSIBLE AND IF YES COLOR 'HOW' TO HAVE DIFFERENT LINKS ON THE SAME PAGE?
How to replace the color of Page link?
See you soon,.
Dreamer101.1
Yes, it is possible, using CSS.
Here's how. You already know that the link colors are set in the following css rules:
- a: link
- a: active
- a: visited
- a: hover
All you have to do to have another set of links of different colors is to create another set of rules that set different colors and also have different names:
- a.name1:link
- a.name1: active
- a.name1:visited
- a.name1:hover
Can link you these rules to the anchor as a class tag: something.
You can have as many sets of rules to link given that the names you can think of.
Happy linking!
-
How to provide relative positioning of containers?
How to provide a relative positioning of a container which is another container
If you use Flex 4, use the mx Canvas (not the spark) container and then see this link on the columns in the constraint:
http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=size_position_5.html
If you are using Flex 3, you can have columns of the constraint on request, (made available 'absolute' =) sign, or containers in canvas.
Flex 4 does not support the columns of the constraint, except in containers of Flex 3-herites Panel and canvas.
If this post answers your question or assistance, please mark it as such.
Greg Lafrance - Flex 2 and 3 certified ACE
www.ChikaraDev.com
Training Flex and Support Services
-
How can I remove links to the latest features of the homepage of FF
How can I remove links to the latest features of the homepage of FF. See screenshot. I want deleted url.
Sorry screenshot has not shown the first time
-
How to sue a link is safe until I click on it
My friend sent me a link via email that she thought I would find interesting. How can I make sure that it is safe, before I open it?
A few tips from Apple:
Safety tips for the handling attachments and content downloaded from the Internet - Apple Support
Identify the fraudulent 'phishing' - Apple Support e-mail
See flat section on the link in an email.
It will not cover you in 100% of cases, but it's a start.
Some general articles
https://www.security-audit.com/how-to-check-a-link-is-safe-before-clicking-on-it /.
https://www.iTAP.Purdue.edu/Newsroom/News/131025_phishing_attempts.html
-
The link to delete cookies, temporary internet files etc has disappeared from the Tools tab. How to restore this link?
Firefox also uses a Cache and not IE temporary internet files.
Edit: corrected a word autocorrected by PlayBook that I missed.
-
How to create a link on the web to use in an e-mail?
I don't know how to create a link on the web that I can put in the e-mail addresses. Could you help me please? I know it must be very simple, because thousands of others do regularly. Thank you.
Katy Anderson
You can use file-> Send link or copy the web address of the address bar and paste it into an email.
You are using an older version of Firefox (3.0.7) - you need to update as soon as possible
Maybe you are looking for
-
Why is it not this processor just to buy work?
My product information: Model #: p6208f Product #: AV016AA-ABA Serial No.: [personal information] Software Build #: 94NAv6PrA3 Service ID #: 012-210PCBRAND: Pavilion My motherboard is a violet of pegatron corporation 3.02 http://support.HP.com/us-en/
-
Can I pair Bluetooth headset and my watch on my phone at the same time?
I was curious if I could pair headset and my watch on my phone at the same time.
-
Pavilion DV6 - 6C12nr Wireless Drivers will not install
I tried all the fixes on the forums: updated graphics card BIOS tried different drivers with no luck Please notify
-
BlackBerry Smartphones Facebook app has disappeared
I've updated my Facebook application. Now when it restarts I can't find its icon or the application itself in search. It appears app World, but there is no option to run it. I tried the two re - i it stall and downloaded the app firin mobile Facebook
-
Hey microsoft and anyone with some kind of access to talk to msn crew, there were SO MANY problems with msn 8 months I have left to use. Is my msn email * address email is removed from the privacy *, I used this email for almost 2 years now (if not 2