Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 please HELP

Author  Topic 

rashawn13
Starting Member

1 Post

Posted - 2008-04-09 : 22:44:30
i upload my sql file to serer and when i do i get this error


Error
SQL query:

FUNCTION writeShoppingCart(

){$cart = $_SESSION[ 'cart'];



MySQL said:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'function writeShoppingCart() {
$cart = $_SESSION['cart']' at line 1

please help i am a newbie so i just need some help and some tips

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-04-09 : 22:53:04
You've posted your question on a Microsoft SQL Server site. You'd have better luck on a MySQL forum such as the one over at dbforums.com.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
   

- Advertisement -