★ wanayoo — archive 1999 http://www.devshed.com/Server_Side/PHP/Introduction/comments.html/c2779/Nouvelle recherche | Portail wanayoo

Developer Shed
Thursday, 08.17.2000  
Introduction to PHP and web database interfacing with MySQL. PHP3 is an HTML-embedded scripting language allowing web developers to create dynamic, database-driven websites.

HOME > SERVER SIDE > PHP > ARTICLE > COMMENTS    PHP SOURCE

Power Search
Free Newsletter:


Client Side
DHTML
Flash
Graphics
JavaScript
XML

Server Side
Administration
JServ
MySQL
Perl
PHP
Python
Roxen
Zend
Zope

Tools
HTML Editors
Graphic Editors
FTP Programs

Dev Talk
Forums
Mailing List
Book Samples
Brain Dump
Developer News
Feedback

ClipScripts
Add script
Edit script

Other Stuff
DevShed RDF
Propaganda!


Advertise
on DevShed
.
PHP3 Introduction
Introduction to PHP and web database interfacing with MySQL. PHP3 is an HTML-embedded scripting language allowing web developers to create dynamic, database-driven websites.

Name: Graham Butler
Subject: Moving to predefined points in script
Date: 01-23-2000 05:08PM

Hi, I'm probably missing something obvious, but is there any way to jump to a particular point in a php3 script by way of a "label" for want of a better word. For example, I have a simple three button form like this :


What would you like to do?<P>

 <form enctype="multipart/form-data" method="post" action="/old?u=http%3A%2F%2Fwww.devshed.com%2FServer_Side%2FPHP%2FIntroduction%2Fcomments.html%2Fc2779%2Fcaledit2.php3&y=1999">
 <input type="submit" name="Add" value="Add">
 <input type="submit" name="Edit" value="Edit">
 <input type="submit" name="Delete" value="Delete">

Now this works fine but of course necessitates a second file, named caledit2.php3. Can I not include the contents of caledit2 in the above file, label it somehow and put that label in the action attribute of the form so it jumps further down the script? Cheers in advance. Graham



Other posts in this thread:
 Top
 • Moving to predefined points in script  Graham Butler  01-23-2000 05:08PM 
       • Re: Moving to predefined points in script  Penguin  01-25-2000 11:15AM 


Reply to this post:
Name:

Preview Comment.
Notify me of replies to this message.
Email:
Subject:
Tip: Put any source code between [code][/code] tags to increase readability


Visit the PHP Forum!

New On DevShed:
• MySQL Developer Contests PostgreSQL Benchmarks
• PHP 101 (part 3) - Chocolate Fudge And Time Machines
• MaxSQL Announced
•  PHP 101 (Part 2) - Shakespeare's Rose
• PHP 101 (Part 1) - Secret Agent Man
• The Search For The Perfect Web Host
• Perl 101 (Part 5) - Sub-Zero Code
•  Submit Your News..

Hot Forum Topics:
• Installing old IE browsers
• Auction Site
• Have anyone games written in php?
• open new window
• Calling a C program
• Problem with refersh...


Adsmart Network ad
Copyright © 1997-2000 ngenuity. All rights reserved. Privacy Policy.