Accessing anchors from PHP script - Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Webmaster Tech > Programming > PHP Development

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 05-30-2011, 03:29 AM   #1 (permalink)
Junior Member
 
Join Date: May 2011
Posts: 1
Default Accessing anchors from PHP script

Sorry, this is a bit long-winded.

I maintain a database with a .PHP program which generates web pages. The program is essentially a switch structure, which calls functions as required by the user.

For example, the initial page allows the user to select a data record, and what they want to do to it (edit, delete etc), and press a "submit" button. This invokes the controlling PHP again which runs through the switch until it finds the matching section, and fires off the functions needed to create the next page.

An important part of several of the pages is a list that appears in a scrollable text box. I would like to be able to pre-select which record appears at the top of the box.

I can easily add anchor tags to the items in the list. The problem is accessing them when calling the page: with HTML you just add #name on the end of the URL, but here I don't have a URL.

Is there a convention for doing this?

Thanks,

Andrew.
brilyant is offline   Reply With Quote
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Sponsors

» Links

» Affiliates
Web Hosting
Online Backup Reviews
Marketing Find
Merchant Select
SiteMap Builder
Host Compare

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 04:45 PM.


Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2
Webmaster Forums
Web Hosting | Chicago Web Hosting | Web Hosting