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 2171
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: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |