MySql Problem
Posted by: nanu (---.dyn.dsl.cantv.net)
Date: July 14, 2009 09:58PM

Hi I have wampserver installed, but I have problem trying to use count and sum in mysql, they tell me that the functions doesnt exist, how can I solve this problem?

Options: ReplyQuote
Re: MySql Problem
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: July 15, 2009 07:47PM

This sounds like you're using these in PHP code and not your SQL queries. You need to define your SQL queries in strings. Like so

$sql = "YOUR SQL CODE HERE";

To run your query you use

$result = mysql_query($sql);

Options: ReplyQuote


Sorry, only registered users may post in this forum.