link in form
rientsma rientsma
23/09/2006 17:56:00Goeden middag, met dit linkje
echo "" . '<a href="Adres_id.php"'.$data['adres_id'].'">'.'Gegevens'.'</a>';
roep ik dit script aan
kan iemand mij helpen
echo "" . '<a href="Adres_id.php"'.$data['adres_id'].'">'.'Gegevens'.'</a>';
roep ik dit script aan
Code (php)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<? $server = "localhost"; $user = "root"; $database = "balansadvies";
Mysql_connect ($server, $user); mysql_select_db($database);
$sql =
"SELECT bdrnaam,
titel,
naam,
adres,
postcode,
plaats,
prov,
telefoon,
mobiel,
mail,
ini,
fax
FROM adres
WHERE adres_ID = ".intval($_GET['adres_id']);
$result = mysql_query($sql); while( $data = mysql_fetch_array($result))
{
echo "<center><table width='560' border=1 style='background-color:#FFEE99'><tr><td><center><h2>". $data['bdrnaam'] . "</h2></center></table>";
echo "<table width='70%' ><tr><td align='right'>". $data['titel'] . ":". $data['ini']. " ". $data['naam'] . "<br>". $data['adres'] . "<br>". $data['postcode'] . "<br>". $data['plaats'] . "-". $data['prov'] .
"</td><td width='50%' align='left'>  Telefoonnummer: ". $data['telefoon'] . "<br>  Faxnummer: ". $data['fax'] . "<br>  Mobielnummer: ". $data['mobiel'] . "<br>  E-mailadres:". '<a href="mailto:'.$data['mail'].'">'.
$data['mail']."</a></table></tr></td></center>";
}
maar ik krijg steeds
deze storing
Notice: Undefined index: adres_id in c:\program files\easyphp1-7\www\balansadvies\adres_id.php on line 23
?>
Mysql_connect ($server, $user); mysql_select_db($database);
$sql =
"SELECT bdrnaam,
titel,
naam,
adres,
postcode,
plaats,
prov,
telefoon,
mobiel,
mail,
ini,
fax
FROM adres
WHERE adres_ID = ".intval($_GET['adres_id']);
$result = mysql_query($sql); while( $data = mysql_fetch_array($result))
{
echo "<center><table width='560' border=1 style='background-color:#FFEE99'><tr><td><center><h2>". $data['bdrnaam'] . "</h2></center></table>";
echo "<table width='70%' ><tr><td align='right'>". $data['titel'] . ":". $data['ini']. " ". $data['naam'] . "<br>". $data['adres'] . "<br>". $data['postcode'] . "<br>". $data['plaats'] . "-". $data['prov'] .
"</td><td width='50%' align='left'>  Telefoonnummer: ". $data['telefoon'] . "<br>  Faxnummer: ". $data['fax'] . "<br>  Mobielnummer: ". $data['mobiel'] . "<br>  E-mailadres:". '<a href="mailto:'.$data['mail'].'">'.
$data['mail']."</a></table></tr></td></center>";
}
maar ik krijg steeds
deze storing
Notice: Undefined index: adres_id in c:\program files\easyphp1-7\www\balansadvies\adres_id.php on line 23
?>
kan iemand mij helpen
PHP hulp
16/11/2024 20:28:25- SanThe -
23/09/2006 18:40:00Code (php)
1
2
3
2
3
<?php
echo '<a href="Adres_id.php?adres_id=' . $data['adres_id'] . '">Gegevens</a>';
?>
echo '<a href="Adres_id.php?adres_id=' . $data['adres_id'] . '">Gegevens</a>';
?>