Hi,
I have a problem, have a look at the file first and then i will tell you what is wrong with it:
Code
<?php
//Prisijungiame prie duomenu bazes
$link = mysql_connect ("localhost","username","password")
or die("could not connect: " . mysql_error());
mysql_select_db("moviesite", $link)
or die (mysql_error());
you do know that dreamweaver will not execute php right? At least not without a server that has it installed.
Debugging is what programmers do to beta software to make it take up more room on your hard drive if it is running too efficiently.
Author
RE: ?> problem :|
Member
Posts: Location: Joined: 01.01.70 Rank: Guest
Posted on 08-10-08 13:40
UbYou wrote:
The ?> bit doesent read that the php flow should be finished. Just add the code to your dreamweaver and u will see.
It looks fine to me... don't know why Dreamweaver would not notice that correctly. I don't use Dreamweaver to code PHP, though. Try these alternatives:
1. Notepad++/Notepad2/PsPad - Windows
2. gEdit - Linux (GNOME)
3. TextWrangler - Mac OS X
All the important features... less filling.
Author
RE: ?> problem :|
Member
Posts: Location: Joined: 01.01.70 Rank: Guest
Posted on 08-10-08 14:15
UbYou wrote:
Code
$ImageThumb = " $ImageDir . " /thumbs/ ";
?>
I need help quickly.
Note the double quotes
Edited by on 08-10-08 14:16
Author
RE: ?> problem :|
Member
Posts: Location: Joined: 01.01.70 Rank: Guest
Posted on 08-10-08 14:51
Good catch. I totally missed that looking through it.