12. februar 2002 - 18:20
Der er
6 kommentarer og 2 løsninger
Flyt.php
<? include("functions.php"); $cool = mysql_query("select * from profiler"); $num = mysql_num_rows($cool); echo $num; echo "<br>"; $x = 0; while ($row = mysql_fetch_row($cool)); echo "$row[Email]<br>"; mysql_query("insert into nyhed (email) values ('$row[Email]')"); $x++; echo $x; ?> Den skal flytte alle Email fra profiler til nyhed email :)
Annonceindlæg tema
Cloud & AI
I dette særtema ser vi på, hvordan cloud og AI bliver fundamentet for virksomhedernes digitale forretning, og hvordan de nye muligheder for automatisering og forretningsværdi kan udnyttes uden at miste overblik, sikkerhed og menneskelig kontrol.
12. februar 2002 - 18:23
#1
Og hvad er spørgsmålet så?
12. februar 2002 - 18:25
#2
hvorfor virker det ikke
12. februar 2002 - 18:26
#3
<? include("functions.php"); $cool = mysql_query("select * from profiler"); $num = mysql_num_rows($cool); echo $num; echo "<br>"; $x = 0; while ($row = mysql_fetch_row($cool)){ echo "$row[Email]<br>"; mysql_query("insert into nyhed (email) values ('$row[Email]')"); $x++; echo $x; } ?> virker heller ikke
12. februar 2002 - 18:27
#4
nåeh
12. februar 2002 - 18:28
#5
Jeg ville skrive: <? include("functions.php"); $cool = mysql_query("select Email from profiler"); $num = mysql_num_rows($cool); echo $num; echo "<br>"; $x = 0; while ($row = mysql_fetch_array($cool)){ echo "$row['Email']<br>"; mysql_query("insert into nyhed (email) values ('" . $row['Email'] . "')"); $x++; echo $x; } ?>
12. februar 2002 - 18:30
#6
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /www/houze.dk/web/flyt.php on line 8
12. februar 2002 - 18:33
#7
<? include("functions.php"); $cool = mysql_query("select Email from profiler"); $num = mysql_num_rows($cool); echo $num; echo "<br>"; $x = 0; while ($row = mysql_fetch_array($cool)){ echo "$row[Email]<br>"; mysql_query("insert into nyhed (email) values ('" . $row[Email] . "')"); $x++; echo $x; } ?> sådan skal den se ud
12. februar 2002 - 18:44
#8
Nå, men så siger vi det :) Tak for points.
Vi tilbyder markedets bedste kurser inden for webudvikling