This is a discussion on "Dynamic Website" within the PHP Forum section. This forum, and the thread "Dynamic Website are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Dynamic Website
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Dynamic Website
Hi forumz
I have this pdf book im reading and it has this codes that im reading. Its soo good coz im understunding but now im stuck abit there is a code like this which brings an error. (unexpected T_STRING in ...datain.php on line 6)
and the combined form of this and the html to post some data in a database is this which is also giving out an error (unexpected T_STRING in ...datain.php on line 6)
Someone please help Im a learner in php. Im using wamp and the database is working |
|
|
|
#2
|
||||
|
||||
|
Re: Dynamic Website
Change this line:
to:
You just missed an " mate!
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#3
|
||||
|
||||
|
Re: Dynamic Website
Alex has it spot on there. You have to make sure you close your quotes.
This sort of error is much easier to spot if you use a text editor with code sytax highlighting. If you take a look at your code, you will see all the code after the error is red meaning a literal string so it is easy to trace back to the source of the problem. This thread http://www.webforumz.com/php-forum/6...ext-editor.htm has what PHP coders prefer as their editors. Would be worth taking a look. Cheers,
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating a Dynamic Div with JS | jwalker80 | JavaScript Forum | 1 | Feb 13th, 2007 18:59 |
| Dynamic website construction | selvamcbe | Web Page Design | 4 | Dec 9th, 2006 04:35 |
| Dynamic Website Need Designer | Mindgamer2 | Job Opportunities | 0 | Nov 7th, 2006 18:45 |