Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php include("top.html"); ?>
- <div>
- <?php $username = $_GET["name"]; ?>
- <?php file_get_contents('http://raromero.millersville.edu/Lab8/nerdluv.php'.$getdata, false, $context); ?>
- <h1>Matches for <?="$username"?></h1>
- <?php foreach($data as $singlematch){ ?>
- <header class="match">
- <p><?="$singlematch[0]"?><img src="user.jpg" alt="person"/></p>
- <ul>
- <li><strong>gender:</strong><?="$singlematch[1]"?></li>
- <li><strong>age:</strong><?="$singlematch[2]"?></li>
- <li><strong>type:</strong><?="$singlematch[3]"?></li>
- <li><strong>OS:</strong><?="$singlematch[4]"?></li>
- </ul>
- </header>
- <?php } ?>
- </div>
- <?php include("bottom.html"); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement