Quote:
|
Originally Posted by FRANK(WGH)
I recognize that i wasn't really clear on what i want to do so here it is. I'd like to use one page and then be able to include a specific include file through the link like this:
( http://delphielite.com/profiles.php?show=fbosak)
this way all i need is to create one completely formated page and then have it include a text file for each team member that has all the profile information.
I hope that this is possible
|
see if this helps :
PHP Code:
<?php
$fullname = $_GET['name'];
$query=mysql_query("SELECT * FROM $table where name='$fullname'") or die(mysql_error());
while($row = mysql_fetch_array($query)) {
$j = mysql_num_fields($query);
for($i=0;$i<$j;$i++) {
$k = mysql_field_name($query,$i);
$$k = $row[$k];
}
$entry=stripslashes($entry);
Echo" entry";
?>
to see somthing you just type : index.php?name=FRANK