Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 236
  • Last Modified:

Send a variable to a page that is frame source

I have a page that shows every contract from a table in my MySQL-database. Now you can select the contract and you have to get the rest of the contractdata. The problem is, that this contractnumber must go to one of three frames. Does anybody know how to do this? Maybe I need JavaScript or something???
0
bapperlo
Asked:
bapperlo
1 Solution
 
waygoodCommented:
<a href="details.php?contract=<?php echo $contract_number; ?>" target="frame3">

details.php opens in the third frame and the variable contract is passed to it. It is then accessed using $_GET['contract']

should be as simple as that
0
 
VGRCommented:
yes
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now