Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    PHP




Parse Error For Microsoft.XMLHTTP


I want the following ASP code to be rewritten in PHP:

<%
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", "http://www.mydomain.com", False
xml.Send
Response.Write(xml.responseText)
%>

I tried myself with ASP2PHP conversion tool. The following code was generated. But does not work. I get a parse error. Please help!

<?PHP
$xml->Open "GET" "http://www.mydomain.com" $False;
$xml->Send;
echo $xml->responseText;
?>




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
PHP Equivalent For Server.CreateObject("Microsoft.XMLHTTP") In ASP
I'm new to PHP, so I'm trying to figure out how to do things that I used to do in ASP.

One of those things is getting data from another web page, server-side.

In ASP, I'd do this:

Set objXML = Server.CreateObject("Microsoft.XMLHTTP")
objXML.open "GET", strURL, False
objXML.send()

I could then use regexp to pull out data from objXML.responseText.

How can I do the same thing in PHP?

SQL Error: [Microsoft][ODBC Microsoft Access Driver] Too Few Parameters
I'm trying to execute the following SQL statement and get the following error.

SELECT DomainNames.DomainName FROM DomainNames WHERE DomainNames.DomainName Like "*ab*" ORDER BY DomainNames.DomainName

SQL error: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1., SQL state 07001 in SQLExecDirect

I'm running PHP4, Apache 1.3.12 (Win32) and connecting to an Access database on a Win2K box.

Odbc_exec(): SQL Error: [Microsoft][ODBC Microsoft Access Driver]
i am trying to write to the database through odbc. i get the following error:

Warning: odbc_exec(): SQL error: [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query., SQL state S1000 in SQLExecDirect in c:inetpubwwwroot514VIP_SurveyProcess.php on line 41

my directory has read/write permissions why am i getting this? here is the code as an example:
...
$x = 10;
$querySet = "UPDATE Survey SET $rdoOption = $x";
odbc_exec($objConn, $querySet);
...

Parse Error: Parse Error, Unexpected T_STRING, Expecting ',' Or ';'
I've got error for this:

<td width="23%"><font face="Arial, Helvetica, sans-serif" size="1">
<?php echo online: $int_count;?>
</font></td>

Parse Error: Parse Error, Unexpected T_IF, Expecting ',' Or ''
I'm playing around with PHP's imap functions and I'm encountering a syntax error that I can't figure out completely.

Quote: Parse error: parse error, unexpected T_IF, expecting ',' or '' in /home/kingmike/docs/WEBMAIL/inbox.php on line 53 PHP Code:

Parse Error: Parse Error, Unexpected T_LNUMBER
what's wrong with this code?

line 19:
if($_POST['miners']*500+$_POST['magicians']*800+$_POST['knights']*1200+$_POST['rangers']*1500>$fdatabase['gold']){echo("false!");}

I got error:

Parse error: parse error, unexpected T_LNUMBER in /home/www/xyz.php on line 19

Parse Error</b>: Parse Error, Unexpected T_CONSTANT_ENCAPSED_STRING I
Someone please help me with this as i am getting the above errors.. in line 6 i..e mysql...

Parse Error: Parse Error, Unexpected T_STRING
I have edited a php script to pick up the data from a webform and convert it into a email and when i submit it i get a error.....

Parse error: parse error, unexpected T_STRING in /home/nas01l/f/flexamatic.com/user/htdocs/estore/sendmail9.php on line 6

the php is:

Parse Error: Parse Error, Unexpected T_STRING,
Can a class define a constant as Java or C does? I tried to define a constant by
define("AMAZING_VALUE", "1997"); but it prompts:

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}'

Parse Error: Parse Error, Unexpected T_ELSE....
The code is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>Club</title>
</head>
<style type="text/css">
body {margin : 0px;}
</style>
<body bgcolor="navy">
<font color="white">
Welkom in de winkel. Wat wilt u doen?<br>
<form action="club.php" method="post">
<input type="radio" name="keuzewinkel" value="1">Voer kopen<br>
<input type="radio" name="keuzewinkel" value="2">Bijproducten kopen<br>
<input type="radio" name="keuzewinkel" value="3">Medicijnen kopen<br>
<input type="radio" name="keuzewinkel" value="4">Praatje maken met de verkoper<br>
<input type="radio" name="keuzewinkel" value="5">Duiven verkopen / kopen<br>
&nbsp<br>
<input type="submit" value="Verder">
</form>
<?
if (isset($submit)) {
if ($keuzewinkel == &#391;') include('koopvoer.php')
else ($keuzewinkel == &#392;') include('koopbijproducten.php') <-- Line 25!!!!
else ($keuzewinkel == &#393;') include('koopmedicijnen.php')
else ($keuzewinkel == &#394;') include('chatverkoper.php')
else include('koopduiven.php')
}
?>
</body>
</html>

Parse Error: Parse Error, Unexpected T_LNUMBER,
i got a proplem with my array the error message is :

Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in D:xampphtdocsworksmartcontractorssites est.php on line 5 PHP Code:

Paging (Parse Error: Parse Error, Unexpected '.' )
I am trying to page my database records using php and i have written the script but somehow it is giving some weird error somewhee towards the end of the script. can anyone just check the code and tell me whether this will work(give a little attention to the A HREF tag) and how to remove the error that i am getting . The error that I am getting is

"Parse error: parse error, unexpected '.' in c:webpaging2.php on line 62" code:

Parse Error: Parse Error, Unexpected T_STRING
keep getting this errorParse error: parse error, unexpected
T_STRING in order_fns.php line 91. the code is below for the file and
I've indicated line 91

<?php
function process_card($card_details)
{
// connect to payment gateway or
// use gpg to encrypt and mail or
// store in DB if you really want to

return true;
}

function insert_order($order_details)
{
global $HTTP_SESSION_VARS;

//extract order_details out as variables
extract($order_details);

//set shipping address same as address
if(!$ship_name&&!$ship_address&&!$ship_city&&!$ship_state&&!$ship_zip&&!$ship_country)
{
$ship_name = $name;
$ship_address = $address;
$ship_city = $city;
$ship_state = $state;
$ship_zip = $zip;
$ship_country = $country;
}

$conn = db_connect();

//insert customer address
$query = "select customerid from customers where
name = '$name' and address = '$address'
and city = '$city' and state = '$state'
and zip = '$zip' and country = '$country'";
$result = mysql_query($query);
if(mysql_numrows($result)>0)
{
$customer_id = mysql_result($result, 0, 'customerid');
}
else
{
$query = "insert into customers values
('', '$name','$address','$city','$state','$zip','$count ry')";
$result = mysql_query($query);
if (!$result)
return false;
}
$query = "select customerid from customers where
name = '$name' and address = '$address'
and city = '$city' and state = '$state'
and zip = '$zip' and country = '$country'";
$result = mysql_query($query);
if(mysql_numrows($result)>0)
$customerid = mysql_result($result, 0, 'customerid');
else
return false;
$date = date('Y-m-d');
$query = "insert into orders values
('', $customerid, ".$HTTP_SESSION_VARS['total_price'].",
'$date', 'PARTIAL', '$ship_name',
'$ship_address','$ship_city','$ship_state','$ship_ zip',
'$ship_country')";
$result = mysql_query($query);
if (!$result)
return false;


Parse Error: Parse Error, Unexpected T_ELSE
I got the following error in my page Parse error: parse error,
unexpected T_ELSE in line 25

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>Club</title>
</head>
<style type="text/css">
body {margin : 0px;}
</style>
<body bgcolor="navy">
<font color="white">
Welkom in de winkel. Wat wilt u doen?<br>
<form action="club.php" method="post">
<input type="radio" name="keuzewinkel" value="1">Voer kopen<br>
<input type="radio" name="keuzewinkel" value="2">Bijproducten
kopen<br>
<input type="radio" name="keuzewinkel" value="3">Medicijnen kopen<br>
<input type="radio" name="keuzewinkel" value="4">Praatje maken met de
verkoper<br>
<input type="radio" name="keuzewinkel" value="5">Duiven verkopen /
kopen<br>
&nbsp<br>
<input type="submit" value="Verder">
</form>
<?
if (isset($submit)) {
if ($keuzewinkel == &#391;') include('koopvoer.php')
else ($keuzewinkel == &#392;') include('koopbijproducten.php') <--------
line 25
else ($keuzewinkel == &#393;') include('koopmedicijnen.php')
else ($keuzewinkel == &#394;') include('chatverkoper.php')
else include('koopduiven.php')
}
?>
</body>
</html>

PHP Parse Error: Parse Error, Unexpected T_VARIABLE
I'm writing a fairly simple php script and I keep getting the message "PHP Parse error: parse error, unexpected T_VARIABLE".
I know that means I made a simple mistake somewhere, but syntax highlighting and checking have revealed nothing and I certainly not catch it with my own eye. I reformatted the whitespace to spaces and newlines only, so it has to be something that shows up on the screen.
here's the PHP portion in its entirety:

<%php
$socket = @mysql_connect("mysql","database","****");
if (mysql_select_db ("comments")) {
$sql = "SELECT * FROM register";
$query = mysql_query($sql, $socket);
while($data = mysql_fetch_object($query)) {
echo "<TR><TD> $data->name
$data->email
$data->aim
$data->known</TD></TR>";
}
}
%>

There is no other scripting on the page. The error is on the line with "$socket = @mysql_connect...". Could I have the ASP-style tags wrong?

Microsoft JET Database Engine Error '80040e10'
I am new to ASP, I am trying to create a page using ASP that will read from a database and write to my page, but I get this error every time: Microsoft JET Database Engine error ?e10' No value given for one or more required parameters.

Warning: SQL Error: [Microsoft][ODBC Driver Manager]
Cannot get an ODBC (or MSSQL) connection to MS Sql Server 7. Using a system datasource and it connects fine, but PHP does not like it. I've had no problem with NT4 but Win2K is another story...

Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in c:inetpubwwwrootindex.php on line 8

Parse Error: Parse Error, Unexpected '='
I'm not sure where to look up the answer to this question myself, so
maybe you can help me.

The following line of code works fine with php5:

function CheckMappings(&$badMappings=array())

On a system with php4 the following error is thrown:

Parse error: parse error, unexpected '=', expecting ')' in <phpfileon
line 42

Now I would like to know, what the problem is. Is it the '&' or the
default value assignment or a combination of both?

Where would I find documentation on the differences in the versions of
php? Is there a good site? Maybe a table with a feature comparison?

Parse Error: Parse Error, Expecting `','' Or `';''
I'm getting the following error Parse error: parse error, expecting `','' or
`''' in /home/notarywe/public_html/php/update2.php on line 108

Here is line 108

<input type="text" name="ud_first" value="<? echo "$first"
size="20"?>"></td>

Parse Error: Parse Error, Expecting `']''
I've got this annoying error: Parse error: parse error, expecting `']'' PHP Code:

Parse Error: Parse Error, Unexpected $end
I recently created a script for user verification, solved my emailing
issues, and then re-created the script in order to work well with the
new PHP 5 that I installed on my server. After submitting user
information into my creation script, I get the following error from the
page that is suppose to insert the user data into the database, create
a code, then send an email out for verification.

Parse error: parse error, unexpected $end in
c:wampwww hreadcreateadd2tbl.php on line 31

Below are the files in which I am using:

add2tbl.php

<?php
require "mailfunctions.php";
$username = $_POST['username'];
$md5password2 = md5($_POST['pass2']);
$email = $_POST['email'];
$md5password = md5($_POST['pass']);
if(isset($_POST['username'])) {
if ($md5password == $md5password2) {
$db = dbc();
$code = codegen();
$user = insertuser($username, $md5password, $email, $code);
if ($user == FALSE) {
die("There has been an error in adding you to the Database. Please
EMail the admin.");
}
else {
echo "<b>Passwords do not match!</b> ";
}
include("/top.html");

$mail = mailauth($username);
if ($mail) {
echo '
<p class = "subtitle">Success! Check your email.</p>'
} else {
echo '
<p class = "subtitle">We are sorry. The request did not go through
successfully due to an error in the Mail server. Please contact the
Admin.</p>'

}
include("/bottom.html");
}
?>

mailfunctions.php

<?php
function dbc() {
mysql_connect(localhost, "root");
mysql_select_db("ehartwig1");
return TRUE;
}
function codegen() {
$code = rand(10000000000000,999999999999999);
return $code;
}
function insertuser($name,$md5password,$email,$code) {
$query = "INSERT INTO threadauth (username, password, email,
authcode) VALUES ('{$name}','{$md5password}','{$email}', '{$code}') or
return(FALSE)";
$result = mysql_db_query($query);
return $result;
}

Parse Error: Parse Error, Unexpected $ In
I have just solved the last problem. But now i get the error message

Parse error: parse error, unexpected $ in /homepages/12/d214897219/htdocs/adam/create_thumbnails.php on line 58. I dont know how to solve this. Code:

Parse Error: Parse Error, Expecting `','' Or `'''
Parse error: parse error, expecting `','' or `''' ....

Email Script/Javascript Parse Error: Syntax Error, Unexpected T_STRING
I've made a email script to include javascript. Now what I want to do, is that I want to hide the link in status bar when I hover over it. I've implemented javascript into the code but I keep getting the following error:

Parse error: syntax error, unexpected T_STRING in /home/****/public_html/fbmail/contact.php on line 12

Here is line 12:
$message .= '<a href="http://www.mysite.com/" onMouseOver="window.status='Click here to continue.'; return true;" onMouseOut="window.status=''; ">Click here to continue ..</a>'; The complete code:

Parse Error: Syntax Error, Unexpected T_ENCAPSED_AND_WHITESPACE, Expecting T_STR
I am having troubles entering this info into my db. Cna someone help? This is the error: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/realfina/public_html/ec/testdobaapi.php on line 22 Code:

Parse Error: Syntax Error, Unexpected '?' In /home/**/public_html/website_
Parse error: syntax error, unexpected '?' in /home/realfina/public_html/website_builder/phpcb/filgen.php on line 373

Can someone explain what this means?

Parse Error: Syntax Error, Unexpected T VARIABLE In
I can't figure this out I am posting the script as well if you see something wrong please send an email.

=====================================
<?php
$nume = $_POST['nume']
$prenume = $_POST['prenume']
$adresa = $_POST['adresa']
$telefon = $_POST['telefon']
$mobil = $_POST['mobil']
$A = $_POST['A']
$B = $_POST['B']
$C = $_POST['C']
$CE = $_POST['C+E']
$D = $_POST['D']
$zi = $_POST['zi']
$luna = $_POST['luna']
$an = $_POST['an']
$email = $_POST['email']
$comentarii = $_POST['comentarii']
$ip = getenv("REMOTE_ADDR");

$msg = "Nume: $nume
Prenume: $prenume
Adresa: $adresa
Telefon fix: $telefon
Mobil: $mobil
Categoria A: $A
CategoriaB: $B
CategoriaC: $C
CategoriaC+E: $CE
CategoriaD: $D
Data Nasterii: $zi-$luna-$an
IP: $ip";
$to = "email@example.com";
$subj = "candidat nou";
$from = "www.example.com";
mail ($to, $subj, $msg, $from);
header("Location: success.htm");
}
?>
===================================
error is Parse error: syntax error, unexpected T_VARIABLE in D:xampphtdocsestauto schoolsite_flashsend.php on line 4

Parse Error: Syntax Error, Unexpected T_OBJECT_OPERATOR
I got following error:

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /xxx/xxx/public_html/xxxx/GeteBayOfficialTime.php on line 49

what's wrong with my syntax? GeteBayOfficialTime.php required be runned at PHP 5.x.x., but my web host said support php 4.4.4. I don't know whether I got error because this reason. Code:

Parse Error: Syntax Error, Unexpected $end In C:wampwwwsitescismv1
I keep getting a "Parse error: syntax error, unexpected $end in c:wampwwwsitescismv1contacts.php on line 227". Line 227 is the end of my code. From what I can tell from searching the web, it appears that there is something that is not concantenated correctly. I cannot find it though. Can anyone else see it?

Parse Error: Syntax Error, Unexpected $end In ..
The error message Parse error: syntax error, unexpected $end in FILE on
line X is one I run into frequently and I know the cause is I missed an
ending quote.

Is there an easy way to determine where the inital " started? I find
myself adding /* */ blocks or cutting/pasting sections of code out in
order to find where the error occured.

Wouldn't it it be nice if the warning message included the line in teh
source where the initial quote occured?

for example say this is my code
<?
function Build_Query(....)
code...

$my_query = "SELECT BLAH FROM ; (line 15)

more code...

} (line 100)
EOF

and you got

Parse error: syntax error, unexpected $end in MYFILE on line 100
started on line 15

Parse Error: Syntax Error, Unexpected
Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /home/hawkwebd/public_html/buy.php on line 2
what does this mean

Parse Error When Trying To Parse XML
Trying to read in values from XML document and put them into an array in PHP, so I could use the different values to use in my PHP script... I am a beginner, so I decided to look and run some examples... well I always get this error in the 1st line... for some reason it doesnt liek the first line at all. PHP Code:

Parse Error: Syntax Error ?
Does anyone know what this means? The file it is saying user.php is a class file however i think i got all the opening and closing braces.

QuoteParse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /*/*/*/*/includes/user.php on line 10

Parse Error
i get a parse error for every php file within this script. This script works on other sites though. On the line it gets the error on every single one of the php files is this line:
PHP Code:

Parse Error...
I am tring to execute this php file from an html form. I am using the GET method and calling ghe below php file. It is the example from this site.


"<?php
mysql_connect (localhost, myname, mypassword);
mysql_select_db (mydb);
mysql_query ("INSERT INTO database (first_name, last_name)
VALUES ('$first_name', '$last_name')
");

print ($first_name);
print (" ");
print ($last_name);
print ("<p>");
print ("Thanks for submitting your name.");?>"

After submitting the first and last name, I am getting a parse error as follows:

Parse error: parse error, unexpected T_STRING in /www/s/skreklan/htdocs/database.php on line 2 Its saying the error is in line 2 which is the localhost, user name and password. I am positive I am using the correct user name and password, and I have tried using localhost and the name of the server where the sql db is located.

Parse Error
i have the following parse error. Line 30 is the values line which holds all the variables that have been enetered.

Parse error: parse error in /home/fc115/public_html/property_submit.php on line 30


$sql = "insert into property
(headline, property_text, property_type, employee, created, modified)
values
('$headline', '$property_text','$property_type', '$auth_user', $time, $time)" or die(mysql_error(could not insert the data into the database));

Parse Error
I get the following error: Quote: Parse error: parse error in C:Apache2htdocsfile
ewfile.php on line 4 In this php: PHP Code:

Parse Error
Parse error: parse error in C:Program FilesApache GroupApachehtdocs/v2/showdetails.php on line 275 PHP Code:

Parse Error
This is the error that I am getting:

Parse error: parse error, unexpected '"' in /home/acciofir/public_html/forum/admin/admin_users.php on line 865

That is referring to this line: PHP Code:

Parse Error
I have invision power board and when i click my controls, it gives this error:

Parse error: parse error in /home/afterli/public_html/forum/sources/Usercp.php on line 3339 The file doesnt even have that many lines...

Parse Error
I have just setup my website with a new linux hosting service. I have
copied over my scripts and the jpgraph (the stable version) files from my
working local lan linux server. The hosting service runs PHP 4.3.9 and I
keep getting parse errors like this-

Parse error: parse error, unexpected '=' in
/home/fhlinux199/s/mydomain.org.uk/user/htdocs/jpgraph/jpgraph.php on line
1100

when I look at the content of jpgraph.php it is just fine

$valid_formats = array('png', 'jpg', 'gif');

prior to this it gave me a similar error with an invalid single quote at

$this_>background_image = $aFileName;

Parse Error
Hi, I am new at this whole php & phpbb thing. I have PhpBB 2.x for my board (forums) and last night I tried to install a shoutbox mod...

My admin panel has an error on the left side of it (where the feature list goes)... the error is below:

Parse error: parse error, unexpected T_VARIABLE in /home/vigilant/public_html/board/admin/admin_db_utilities.php on line 702

Here is line 702 in admin/admin_db_utilities.php:

$additional_tables = (isset($HTTP_POST_VARS['additional_tables']))? $HTTP_POST_VARS['additional_tables'] : ( (isset($HTTP_GET_VARS['additional_tables']))? $HTTP_GET_VARS['additional_tables'] : "" );$backup_type = (isset($HTTP_POST_VARS['backup_type']))? $HTTP_POST_VARS['backup_type'] : ( (isset($HTTP_GET_VARS['backup_type']))? $HTTP_GET_VARS['backup_type'] : "" );

Any ideas on how to fix this?

Parse Error With ?>
I'm getting a parse error with one of my scripts. The that is reported having the problem is the last line in my script.

?>
Here is a snippet from it:
// free resources and close connection
mysql_free_result($sql_result);
mysql_close($connection);?>

Parse Error
why is this returning a parse error? It says
the error is on the last line, I thought I was following the syntax....

<?php

$link = mysql_connect("localhost");
if(! $link)
die("Could not connect to MySQL");

$database = "PC_Store";
mysql_select_db($database)
or die ("could not open $database: ".mysql_error() );

$Choice = $_POST['myradio'];

$db = mysql_connect("localhost", "root");
mysql_select_db("PC_Store",$db);

if ($Choice = 'Sales Data') {
?>
<BR>
Enter The Fields For Entry Into SalesData Table
<form action="<?echo $PHP_SELF?>" method=POST>
<input type="text" name="TransID"size=10>TransID
<BR><input type="text" name="ProductID"size=10>ProductID
<BR><input type="text" name="TransCode"size=10>TransCode
<BR><input type="text" name="Date"size=10>Date
<BR><input type="text" name="UnitsSold"size=10>UnitsSold
<input type="submit" name="submit" value="Submit Data">
</form>
<?php
$result = mysql_query("INSERT INTO salesdata VALUES
($ProductID,$TransCode,$Date,$UnitsSold.)",$db)

}

Parse Error
I can't figure out what this error means:

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or
`T_NUM_STRING' in /home/easilyta/public_html/pub/user.php on line 190.

heres a snippet of the code:
if (!isset($_COOKIE['cookie'][id])) {
header("Location:
http://error.easilytaken.com/usererror.php?error=login");
exit;
}
188 mysql_connect("localhost", "username",
"password");
189 mysql_select_db("database");
190 $cookie_idfind = mysql_query("SELECT cookie_id
FROM master WHERE user='$_COOKIE['cookie'][id]'");
191 $cookie_id = mysql_fetch_array($cookie_idfind);
192 if($cookie_id[0] == $_COOKIE['cookie'][auth]){
//
//
print 'hello, world'

basically what this does is takes the cookie[id] (which is the user field in
the db) and cookie[auth] (which is cookie_id in the db) using $_COOKIE and
checks to see if the user has the right authorization number stored in their
computer. any ideas as to why i get this error? the manuals are getting me
nowhere...

Parse Error
What does "parse error" mean? Can someone help me out with this one? I have very simple code but am receiving this error Parse error: parse error in C:apachehtdocshometest.php4 on line 11 Here is the line of code: <?php require("./hometest.php4"); ?>

Parse Error
I been trying to get this header to work for me but i keep getting a parse error could someone maybe help me out. I beleive the problem has something to do with opening or closing tags but I am not quite sure, the parse error says the error is on the last line of the page but all that is there is ?> Code:

Parse Error
I get this error: Parse error: parse error in /my/path/search2.php on line 188

when I run the attached php file. I counted to line 188 and it is </body> but why would this be wrong?

Parse Error
I am new to coding PHP and I have hit a parse error. I am testing this on my local machine and have PHP4 and MySQL installed and working fine. my script is a simple one to echo the contents of a particula table on a db. PHP Code:


Copyright © 2005-08 www.BigResource.com, All rights reserved