CREATE TABLE guestbook (
ID int(5) NOT NULL auto_increment,
name text NOT NULL,
email text NOT NULL,
comments text NOT NULL,
time datetime NOT NULL default ā0000-00-00 00:00:00ā,
PRIMARY KEY (ID)
)
I would delete your table and remake it just to be sure there are no errors in that.
Is your mysql on the same server as your php and .swf
I know there are errors when you try to connect to mysql on a different server.
I will look at the line errors you posted aboveā¦
The MySQL and the files are all on the same server I think Iām maybe not creating the table right. Did you set column widths or something in MySQLCC? Someone told me something about thatā¦
well its obviouslt the $i var that is causing the problem so they question is why?
If it was java you would have to give it a value before you use itā¦ But PHP i dont know aboutā¦ perhaps your server is running a older version of PHP that needs its var declared before they are used.
Since your line errors are the ones with [color=#ff0000]$i [/color][color=black]and it says it is a undefind var I would give it a value before it is usedā¦ [/color][color=#0000ff]$i = 0;[/color]
You might wanna use this, you might not want toā¦
The [color=red]red[/color] is HTML code that is on your page, the [color=blue]blue[/color] is the new stuff and where it should be placed.
(it will put the guest book bang smack in the centre of the page instead of left top)
The green [color=lime]700[/color] / [color=lime]500[/color] will make it a little bigger so it fills more of the page.
ahhhhhā¦ shweet, yeah thanx I think Iāll need that for the whole way through my site because there will be a pop up window and everything is going to be in flash but before I was getting big bits ofā¦ non flashnessā¦ so that helps never thought of doing it like thatā¦ thanx
And Iām too happy that I can actually get part of the site working to care if theres a God or not