473,387 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Form help

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>&nbsp; </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>&nbsp;</p>
</body>
</html>
Jul 17 '05 #1
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>&nbsp; </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>&nbsp;</p>
</body>
</html>


--
MeerKat

Jul 17 '05 #2
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>&nbsp; </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>&nbsp;</p>
</body>
</html>

--
Greetz,
De Snor
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
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...
4
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...
10
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...
0
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...
25
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...
4
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...
10
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....
13
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...
9
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...
9
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...
0
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
0
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...
0
BarryA
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...
0
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...
0
marktang
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,...
0
Oralloy
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,...
0
jinu1996
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.