Jump to content

different error?!?


flemingmike

Recommended Posts

hi all,  im getting this error:

 

PHP has encountered an Access Violation at 01B7ACB2

 

 

with this code:

 

<?php

include("style.php");

$hmm = simplexml_load_file('http://www.durhamit.ca:8181/1.0/?method=database.search&searcharg=a');


//If we submitted the form
if(isset($_POST['submitMe']))
{
     foreach($hmm->tracks->track as $tracks) {

    $artist = $tracks->artist;
    $title = $tracks->title;
    $album = $tracks->album; 
    $id = $tracks->id; 

echo '<table border="1" width="60%" align="center">';
echo '<tr>';
	echo '<td width="25%">'.$artist.'</td>';
	echo '<td width="25%">'.$title.'</td>';
	echo '<td width="25%">'.$album.'</td>';
	echo '<td width="25%"><a 

href="http://www.durhamit.ca:8181/1.0/?method=player.playDatabaseItem&id='.$id.'">Play</a></td>';
echo '</tr>';
echo '</table>';

}
}
//If we haven't submitted the form
else
{
?>
    <form action="<?=$_SERVER['PHP_SELF']?>" method="POST">
    <input type="text" name="name"><br>
    <input type="submit" value="submit" name="submitMe">
    </form>
<?
}
?> 








?>

 

any ideas?

Link to comment
https://forums.phpfreaks.com/topic/205181-different-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.