Question
Webpage testing error
I don't know if you can help me as I'm running WAMPSERVER,
PHP MYSQL APACHE. Please excuse my inexperience because I'm talking
from a designers point of view.
I'm ok in desiging static pages and recently learning about dynamic pages. I've decided to use Dreamweaver PHP and MySQL so I can create dynamic content (on local folder).
Anyway, I heard that setting up mysql and php apache is a pain and I was pointed in the right direction ...wampserver.
I set this up no problem and even got my apache working as remote server. When I type http://localhost/ I see my mysql working fine.
So I started to play around with dreamweaver, setting up a database in the mysql console and binding the database making the dynamic page.
However, when I test the page using live data view or externally I get the following message:
'Fatal error: Can't use function return value in write context in C:\wamp\www\TMP7galme0kbc.php on line 5'
I have no idea what this means! I do know that when I make a static page, the page does open and works.
I don't know if its a configaration problem between dreaweaver and the root folder (but why would the static page work??). Is it a problem with the binding of the database?
Another thing, when I type localhost in my web browser, I can connect to the wamp homepage on my local folder, whcih means the server is working. When I click on links from this page to get to the dyanamic page I'm trying to open, the page works.
Headache grrrrr...
I'm ok in desiging static pages and recently learning about dynamic pages. I've decided to use Dreamweaver PHP and MySQL so I can create dynamic content (on local folder).
Anyway, I heard that setting up mysql and php apache is a pain and I was pointed in the right direction ...wampserver.
I set this up no problem and even got my apache working as remote server. When I type http://localhost/ I see my mysql working fine.
So I started to play around with dreamweaver, setting up a database in the mysql console and binding the database making the dynamic page.
However, when I test the page using live data view or externally I get the following message:
'Fatal error: Can't use function return value in write context in C:\wamp\www\TMP7galme0kbc.php on line 5'
I have no idea what this means! I do know that when I make a static page, the page does open and works.
I don't know if its a configaration problem between dreaweaver and the root folder (but why would the static page work??). Is it a problem with the binding of the database?
Another thing, when I type localhost in my web browser, I can connect to the wamp homepage on my local folder, whcih means the server is working. When I click on links from this page to get to the dyanamic page I'm trying to open, the page works.
Headache grrrrr...