Jump to content

unrecognized message version


randomsai

Recommended Posts

currently i am trying to use my message centre platform to simulate sending and recieving of messages. the problem i am encountering is that when i enter the url of the file, an error message comes up with "unrecognized message version". the code looks like this:

 

<?php

header("Content-type: text/xml");

echo("<?xml version=\"1.0\" ?>\n");

// Connects to your Database

mysql_connect("localhost", "root", "random") or die(mysql_error());

mysql_select_db("trinidadnews") or die(mysql_error());

$data = mysql_query("SELECT * FROM news")

or die(mysql_error());

 

$info = mysql_fetch_array( $data );

 

$headline = $info['HEADLINE'];

 

Print "<title>$headline</title> ";

?>

 

can anyone help?

Link to comment
https://forums.phpfreaks.com/topic/189062-unrecognized-message-version/
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.