Pastes:104575  Views:2159368 

Languages:

   ASP
   C#
   C++
   HTML
   Java
   PHP
   VB.NET
   Visual Basic 6

more languages available...


Looking to freelance?


Warning: file_get_contents(http://www.getafreelancer.com/affiliates/itsdan/6f.txt) [function.file-get-contents]: failed to open stream: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP? in /home/nmp/public_html/support/googlereferrals.php on line 21
( bids)

Source: GetAFreelancer.com


Free 3D Engine

 

 

 

 

 

 

Here's the requested code from the pastebin:

Wrap Lines   Use Line Numbers
<html><head><title>Ebay Auctions</title>
</head>
<body>
<?php
 
$link = mysql_connect('localhost', 'test', 'geheim');
if (!$link) {
    die('Could not connect: ' . mysql_error());
}
mysql_select_db("ebay");
 
 
$query = "SELECT article_desc FROM Auctions WHERE ARTICLE_NO ='220288560247'";
 
$result = mysql_query($query) or die(mysql_error());
$row = mysql_fetch_array($result) or die(mysql_error());
echo "<pre>";
echo $row['article_desc'];
echo "</pre>";
 
mysql_close($link);
 
?>
</body></html>
Syntax Highlighting:  



Copyright 2007 - NoMorePasting.com