Quantcast
Channel: All Discussions - Simple Invoices - Forum
Viewing all articles
Browse latest Browse all 60

error in SQL

$
0
0
Hi,

I see an error when trying to open http://mydomain/simpleviewer

You have an error in your SQL syntax near '; ' at line 5

I saw the http://simpleinvoices.org/forum/topic.php?id=46 - MySQL Error post from Ktisis.

I changed $mysql =5; for $mysql =4; due my php version

This is the first 10 lineas of index.php


<?php

include('./include/include_main.php');
#include('./config/config.php');
include("./lang/$language.inc.php");
include('./include/sql_patches.php');
#include('./include/menu.php');

$conn = mysql_connect( $db_host, $db_user, $db_password );
mysql_select_db( $db_name, $conn );



Server info:

PHP Version 4.3.2
MySql 3.23.58
Browser: firefox2.0 and IE6
Red Hat Enterprise Linux
Server Apache 2.0.46


What could be wrong? Thanks!

Viewing all articles
Browse latest Browse all 60

Latest Images

Trending Articles





Latest Images