Search found 135 matches
- Wed Aug 08, 2007 7:34 am
- Forum: PHP - Code
- Topic: Accessing Form Elements
- Replies: 13
- Views: 920
- Wed Aug 08, 2007 7:16 am
- Forum: PHP - Code
- Topic: Accessing Form Elements
- Replies: 13
- Views: 920
If you want the form to be submitted to it self, then use
Code: Select all
<form method=\"post\" action=\"<?PHP $_SERVER[PHP_SELF]\ ?>">- Wed Aug 08, 2007 6:57 am
- Forum: PHP - Code
- Topic: "$" in a string
- Replies: 8
- Views: 788
Re: "$" in a string
Code: Select all
$page = "gallery.php";
$var = '$page';- Wed Aug 08, 2007 6:51 am
- Forum: PHP - Code
- Topic: Not redirecting
- Replies: 4
- Views: 472
Not redirecting
I got a form which has two buttons, lets say if confirmed is pressed then it gets redirected to page 1, if release gets pressed it gets redirected to page 2.... The problem i'm having is that it does not redirect to the appropiate page: Here is the code: <?PHP $Confirm = $_GET['Confirm']; //$Release...
- Fri Aug 03, 2007 9:07 am
- Forum: PHP - Code
- Topic: FOR each help.....
- Replies: 5
- Views: 706
thanks for the help guitarlvr, i did the changes. and i 'm just getting the following errors: Notice: Array to string conversion in C:conflight.php on line 30 Notice: Array to string conversion in C:conflight.php on line 32 Notice: Array to string conversion in C:conflight.php on line 34 Notice: Arr...
- Fri Aug 03, 2007 6:59 am
- Forum: PHP - Code
- Topic: FOR each help.....
- Replies: 5
- Views: 706
- Fri Aug 03, 2007 4:42 am
- Forum: PHP - Code
- Topic: FOR each help.....
- Replies: 5
- Views: 706
FOR each help.....
The below for each is not working as its not inserting the code into the database, i'm not sure what to do help please... <?PHP include 'opendb.php'; ?> <?PHP include 'header.php'; ?> <?php $title = $_GET['title']; $firstname = $_GET['firstname']; $surname = $_GET['surname']; $ChildAdult = $_GET['Ch...
- Thu Aug 02, 2007 5:06 am
- Forum: PHP - Code
- Topic: Array confusion....
- Replies: 3
- Views: 720
- Thu Aug 02, 2007 3:28 am
- Forum: PHP - Code
- Topic: Array confusion....
- Replies: 3
- Views: 720
Array confusion....
I got this array which different names such as title, surname and so on...... echo" <tr> <td><strong>Title:</strong></td> <td><select name=title[]> <option value=></option> <option value=Mr>Mr</option> <option value=Mrs>Mrs</option> <option value=Ms>Ms</option> <option value=Master>Master</opti...
- Tue Jul 31, 2007 11:13 am
- Forum: PHP - Code
- Topic: Design Suggestions
- Replies: 2
- Views: 2181
Thanks for the suggestion: This is what i have done so far: what it doess is output the number of form elements based on the number that is entered, but my only problem is it cant tell the difference between the different form elements: Any suggestions??? <?PHP include 'header.php'; ?> <?PHP include...
- Tue Jul 31, 2007 6:39 am
- Forum: PHP - Code
- Topic: Preventing refresh
- Replies: 10
- Views: 1555
- Tue Jul 31, 2007 6:16 am
- Forum: PHP - Code
- Topic: Design Suggestions
- Replies: 2
- Views: 2181
Design Suggestions
Hey all, I got a design question: I want to design a script that can add details to a database, but the details are all going to be different: For instance the user will enter details such as title, surname ect ect ect.... Once that is done, the user can add another set of details by clicking a butt...
- Mon Jul 30, 2007 6:34 am
- Forum: PHP - Code
- Topic: Preventing refresh
- Replies: 10
- Views: 1555
- Mon Jul 30, 2007 5:15 am
- Forum: PHP - Code
- Topic: Preventing refresh
- Replies: 10
- Views: 1555
- Mon Jul 30, 2007 4:42 am
- Forum: PHP - Code
- Topic: Preventing refresh
- Replies: 10
- Views: 1555