11 oktober, 2010

V64 Andel

[php]
// Byt ut mot dina inloggningsuppgifter och databas
$mysql_server = ”mysql462.loopia.se”;
$mysql_user = ”cakir@g93157”;
$mysql_password = ”lillen00lillen00”;
$mysql_database = ”grillkoket_net”;

$conn = mysql_connect($mysql_server, $mysql_user, $mysql_password);
mysql_select_db($mysql_database, $conn);
$result = mysql_query( ”SELECT v64rubrik FROM birthdays” );$num_rows = mysql_num_rows($result);while ($get_info = mysql_fetch_row($result)){foreach ($get_info as $field)print ”$field”;}[/php]

[php] // Byt ut mot dina inloggningsuppgifter och databas $mysql_server = ”grillkoket.net.mysql”; $mysql_user = ”grillkoket_net”; $mysql_password = ”semsettin”; $mysql_database = ”grillkoket_net”; $conn = mysql_connect($mysql_server, $mysql_user, $mysql_password); mysql_select_db($mysql_database, $conn);[/php]

Lopp 1

[php]$result = mysql_query( ”SELECT v641 FROM birthdays” );$num_rows = mysql_num_rows($result);while ($get_info = mysql_fetch_row($result)){foreach ($get_info as $field)print ”$field”;}[/php]

Lopp 2

[php]$result = mysql_query( ”SELECT v642 FROM birthdays” );$num_rows = mysql_num_rows($result);while ($get_info = mysql_fetch_row($result)){foreach ($get_info as $field)print ”$field”;}[/php]

Lopp 3

[php]$result = mysql_query( ”SELECT v643 FROM birthdays” );$num_rows = mysql_num_rows($result);while ($get_info = mysql_fetch_row($result)){foreach ($get_info as $field)print ”$field”;}[/php]

Lopp 4

[php]$result = mysql_query( ”SELECT v644 FROM birthdays” );$num_rows = mysql_num_rows($result);while ($get_info = mysql_fetch_row($result)){foreach ($get_info as $field)print ”$field”;}[/php]

Lopp 5

[php]$result = mysql_query( ”SELECT v645 FROM birthdays” );$num_rows = mysql_num_rows($result);while ($get_info = mysql_fetch_row($result)){foreach ($get_info as $field)print ”$field”;}[/php]

Lopp 6

[php]$result = mysql_query( ”SELECT v646 FROM birthdays” );$num_rows = mysql_num_rows($result);while ($get_info = mysql_fetch_row($result)){foreach ($get_info as $field)print ”$field”;}[/php]

Pris:

[php]$result = mysql_query( ”SELECT v64pris FROM birthdays” );$num_rows = mysql_num_rows($result);while ($get_info = mysql_fetch_row($result)){foreach ($get_info as $field)print ”$field”;}[/php]