Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-06-2009, 02:58 AM
Squiddle Squiddle is offline
Member
 
Join Date: Sep 2009
Posts: 1
Credits: 568
Squiddle
Default Single error when loading the page.

Hi everyone! Well, I'm almost done installing the Pet Script, but when I try to load the page, it gives me an error. Check it out for yourself:

http://squiddleonline.webatu.com/


Quote:
Parse error: syntax error, unexpected T_DNUMBER in /home/a2164949/public_html/inc/functions.php on line 13.
I beleive this is my fault, as I tried editing this file in order to make it work. Here's the sub which contains line 13:

Code:
//This function simply connects us to the database
function connect(){

	include("config.php");
	$conn = mysql_connect(mysql12.000webhost.com, a2164949_Squid, *Censored*) or die ('Error connecting to MySQL');
	mysql_select_db(a2164949_Squid);

}
Reply With Quote
  #2  
Old 09-06-2009, 03:27 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,552
BMR777 is on a distinguished road
Default RE: Single error when loading the page.

I think it should be like:

PHP Code:
$conn mysql_connect('mysql12.000webhost.com''a2164949_Squid''*Censored*') or die ('Error connecting to MySQL');
    
mysql_select_db('a2164949_Squid'); 
You need ' marks around the data. :)

Hope it helps,
Brandon
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Untradeable Single Species: How? Kyttias Questions and Supports 4 12-01-2014 03:50 AM
Page not Loading....? Liv Questions and Supports 5 11-21-2014 05:10 AM
Adopt Page Error for v.1.3.3 Hwona Questions and Supports 12 05-28-2013 12:10 PM
adopt page error GuardiansWish Questions and Supports 2 04-28-2013 05:21 PM
Loading Slow Sirenism Questions and Supports 4 06-08-2010 02:20 AM


All times are GMT -5. The time now is 06:19 PM.

Currently Active Users: 461 (0 members and 461 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636