I can't see the requested variables in my form - > HOW??????????
<html>
<head>
<title>Registratie Uitrukken Brandweer Harderwijk</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#AA0009" text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF"
alink="#FFFFFF">
<?php
mysql_connect("localhost","username","password");
mysql_select_db("scannerharderwijk_nl_db");
if ($_POST['Submit']) {
$id=$_POST['id'];
$query="SELECT * FROM scanner WHERE id='id'";
$sql=mysql_query($query);
while ($obj=mysql_fetch_object($sql))
{
$maand = $obj["maand"];
$datum = $obj["datum"];
$omschrijving = $obj["omschrijving"];
$locatie = $obj["locatie"];
$blusploeg = $obj["blusploeg"];
}
}
?>
<form name="form1" method="post" action="updatenow.php">
<p> </p>
<p><font face="Geneva, Arial, Helvetica, sans-serif">
<input name="id" type="text" id="id" value="<?=$id;?>">
ID</font> </p>
<p> <font face="Geneva, Arial, Helvetica, sans-serif">
<input name="maand" type="text" id="maand" value="<?=$maand;?>">
Maand </font></p>
<p> <font face="Geneva, Arial, Helvetica, sans-serif">
<input name="datum" type="text" id="datum" value="<?=$datum;?>">
Datum + tijd (DD-MM HH:MM)</font></p>
<p> <font face="Geneva, Arial, Helvetica, sans-serif">
<input name="omschrijving" type="text" id="omschrijving"
value="<?=$omschrijving;?>">
Omschrijving </font></p>
<p> <font face="Geneva, Arial, Helvetica, sans-serif">
<input name="locatie" type="text" id="locatie" value="<?=$locatie?>">
Locatie </font></p>
<p> <font face="Geneva, Arial, Helvetica, sans-serif">
<input name="$blusploeg" type="text" id="blusploeg"
value="<?=$blusploeg;?>">
Blusploeg / Duikploeg</font></p>
<p>
<input type="submit" name="Submit" value="Verander">
</p>
</form>
<p> </p>
</body>
</html> 2 2169
FiremanSAM wrote: I can't see the requested variables in my form - > HOW??????????
<html> <head> <title>Registratie Uitrukken Brandweer Harderwijk</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>
<body bgcolor="#AA0009" text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF"> <?php mysql_connect("localhost","username","password"); mysql_select_db("scannerharderwijk_nl_db"); if ($_POST['Submit']) { $id=$_POST['id'];
$query="SELECT * FROM scanner WHERE id='id'";
try:
... WHERE id='$id'";
$sql=mysql_query($query); while ($obj=mysql_fetch_object($sql)) { $maand = $obj["maand"]; $datum = $obj["datum"]; $omschrijving = $obj["omschrijving"]; $locatie = $obj["locatie"]; $blusploeg = $obj["blusploeg"];
} } ?> <form name="form1" method="post" action="updatenow.php"> <p> </p> <p><font face="Geneva, Arial, Helvetica, sans-serif"> <input name="id" type="text" id="id" value="<?=$id;?>"> ID</font> </p> <p> <font face="Geneva, Arial, Helvetica, sans-serif"> <input name="maand" type="text" id="maand" value="<?=$maand;?>"> Maand </font></p> <p> <font face="Geneva, Arial, Helvetica, sans-serif"> <input name="datum" type="text" id="datum" value="<?=$datum;?>"> Datum + tijd (DD-MM HH:MM)</font></p> <p> <font face="Geneva, Arial, Helvetica, sans-serif"> <input name="omschrijving" type="text" id="omschrijving" value="<?=$omschrijving;?>"> Omschrijving </font></p> <p> <font face="Geneva, Arial, Helvetica, sans-serif"> <input name="locatie" type="text" id="locatie" value="<?=$locatie?>"> Locatie </font></p> <p> <font face="Geneva, Arial, Helvetica, sans-serif"> <input name="$blusploeg" type="text" id="blusploeg" value="<?=$blusploeg;?>"> Blusploeg / Duikploeg</font></p> <p> <input type="submit" name="Submit" value="Verander"> </p> </form> <p> </p> </body> </html>
--
MeerKat
On Sun, 21 Sep 2003 20:09:42 +0200, "FiremanSAM" <fi********@co.uk>
wrote: I can't see the requested variables in my form - > HOW??????????
<html> <head> <title>Registratie Uitrukken Brandweer Harderwijk</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>
<body bgcolor="#AA0009" text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF"> <?php mysql_connect("localhost","username","password" ); mysql_select_db("scannerharderwijk_nl_db"); if ($_POST['Submit']) { $id=$_POST['id'];
$query="SELECT * FROM scanner WHERE id='id'";
shoult be: $query="SELECT * FROM scanner WHERE id=$id"; $sql=mysql_query($query); while ($obj=mysql_fetch_object($sql)) { $maand = $obj["maand"]; $datum = $obj["datum"]; $omschrijving = $obj["omschrijving"]; $locatie = $obj["locatie"]; $blusploeg = $obj["blusploeg"];
} } ?> <form name="form1" method="post" action="updatenow.php"> <p> </p> <p><font face="Geneva, Arial, Helvetica, sans-serif"> <input name="id" type="text" id="id" value="<?=$id;?>"> ID</font> </p> <p> <font face="Geneva, Arial, Helvetica, sans-serif"> <input name="maand" type="text" id="maand" value="<?=$maand;?>"> Maand </font></p> <p> <font face="Geneva, Arial, Helvetica, sans-serif"> <input name="datum" type="text" id="datum" value="<?=$datum;?>"> Datum + tijd (DD-MM HH:MM)</font></p> <p> <font face="Geneva, Arial, Helvetica, sans-serif"> <input name="omschrijving" type="text" id="omschrijving" value="<?=$omschrijving;?>"> Omschrijving </font></p> <p> <font face="Geneva, Arial, Helvetica, sans-serif"> <input name="locatie" type="text" id="locatie" value="<?=$locatie?>"> Locatie </font></p> <p> <font face="Geneva, Arial, Helvetica, sans-serif"> <input name="$blusploeg" type="text" id="blusploeg" value="<?=$blusploeg;?>"> Blusploeg / Duikploeg</font></p> <p> <input type="submit" name="Submit" value="Verander"> </p> </form> <p> </p> </body> </html>
--
Greetz,
De Snor This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Randell D. |
last post by:
HELP!
I am determined to stick with this... I'm getting there... for those who
haven't read my earlier posts, I'm createing what should be a simple
function that I can call to check that...
|
by: Tonya |
last post by:
Hi,
Does anyone have any example of how i can manage forms in
my application??
I want to be able to reference my form instances that are
currently open from other forms.
why cant i open...
|
by: Gregory A Greenman |
last post by:
I'm trying to write a program in vb.net to automate filling out a
series of forms on a website. There are three forms I need to
fill out in sequence. The first one is urlencoded. My program is...
|
by: Pat Patterson |
last post by:
I'm having serious issues with a page I'm developing. I just need some
simple help, and was hoping someone might be able to help me out in
here.
I have a form, that consists of 3 pages of...
|
by: Lyn |
last post by:
Hi,
I am working on a genealogy form. The only table (so far) lists everybody
in the family, one record per person. Each record has an autonum ID.
The parent form (frmMainForm) displays the...
|
by: Dave Guenthner |
last post by:
I have a csharp form1.cs created with VS. I have added a menu bar
with one option called help. I then created another form in VS called
help.cs. How can I launch the help form from the main form...
|
by: Kathy Burke |
last post by:
HI. in asp.net app, I have an xmlDocument that I transform to the client
html. Using xsl I create a few textboxes to capture user input. Each of
these are related to <data> elements in the xmlDoc....
|
by: Lee Newson |
last post by:
Hi,
I have just written my first application using VB.NET. The app works fine
when i am running it within .NET for debugging purposes, however when i try
to run the app from the .exe file that...
|
by: mohit.akl |
last post by:
Hey guys & gals
I am havng trouble modifying the control box. I want to make the
maximise button invisible and have minimisise button instead of it.
Like this _ X (not like _ o X )
How...
|
by: MikeB |
last post by:
Hi, I'd appreciate some help, please. I'm writing a VS2005 VB project
for school and one of the requirements is that every screen should have
a "Help" button.
I could do it by writing a clumsy...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |