Hi all i have i have this php code
<?php
$app=mysql_connect ("localhost", "dbuser","dbpass") or die('Cannot connect to the database ' . mysql_error());
mysql_select_db ("database");
$user = $_GET["username"];
$pass = $_GET['password'];
$mail = $_GET['email'];
$cell = $_GET['phone'];
$start = $_GET['register'];
$end = $_GET['expire'];
$query = "SELECT username, password, email, phone, register, expire FROM user WHERE username='$user' GROUP BY username asc";
$result = mysql_query($query,$app);
$row = mysql_fetch_row($result);
echo $row[0] . '<br />' .
$row[1] . '<br />' .
$row[2] . '<br />' .
$row[3] . '<br />' .
$row[4] . '<br />' .
$row[5] . '<br />' .
$row[6] . '<br />' .
mysql_close($app);
?>
if i follow the link
("http://example.com/account.php?username=" & TextBox1.Text)
im able to see the users details on a blank page in the browser
the same information i see on the browser i want it to get displayed in the vb.net form
the database structure
http://i.imgur.com/3GnYZFl.png
example of the form
http://i.imgur.com/jISC9J3.png
does anyone have vb.net code for this function
What I have tried:
<?php
$app=mysql_connect ("localhost", "dbuser","dbpass") or die('Cannot connect to the database ' . mysql_error());
mysql_select_db ("database");
$user = $_GET["username"];
$pass = $_GET['password'];
$mail = $_GET['email'];
$cell = $_GET['phone'];
$start = $_GET['register'];
$end = $_GET['expire'];
$query = "SELECT username, password, email, phone, register, expire FROM user WHERE username='$user' GROUP BY username asc";
$result = mysql_query($query,$app);
$row = mysql_fetch_row($result);
echo $row[0] . '<br />' .
$row[1] . '<br />' .
$row[2] . '<br />' .
$row[3] . '<br />' .
$row[4] . '<br />' .
$row[5] . '<br />' .
$row[6] . '<br />' .
mysql_close($app);
?>
if i follow the link
("http://example.com/account.php?username=" & TextBox1.Text)
im able to see the users details on a blank page in the browser
the same information i see on the browser i want it to get displayed in the vb.net form
the database structure
http://i.imgur.com/3GnYZFl.png
example of the form
http://i.imgur.com/jISC9J3.png