Joseph,
include $_SERVER['DOCUMENT_ROOT'].
'/html/books_layout.html';
unexpected T_STRING, expecting ',' or ';'
What might be causing the confusion?
include() is a function, so you need to surround the address with brackets,
like this:
include ($_SERVER['DOCUMENT_ROOT'].
Joseph,
This is the foreach:
foreach ($xml_tree[PRODUCTINFO][0][DETAILS] AS $product) {
Followed by a set of lines which are variations on this cut and paste
$product_manufacturer = $product[MANUFACTURER][0][VALUE];
Try sticking quotes round the array indices (the bits in square brackets):
Joseph wrote:
As if the inbuilt faults weren't enough I had to develop one all by
myself! The 'form' file that was giving trouble` had entirely the wrong
contents!!! I had typed in a php file, which is a later part of the
script.
Joseph wearing dunces cap and standing in the corner.
Tim:
We've
If you are working in ASP.NET take a look at Webmatrix http://asp.net. Your
boss will love the price tag.
Cheryl D. Wise
Certified Professional Web Developer
MS-MVP-FrontPage
www.wiserways.com
mailto: [EMAIL PROTECTED]
713.353.0139 Office
-Original Message-
From: cronan gogarty
I
Jon,
120 apostrophes and deletions later I can confirm that that wasn't it!
Would you believe it moved on when I took the quotes away from DOCUMENT ROOT
?And wants double quotes round 'echo' strings
And I have had to take more quotes away! But now I am getting this, and I
can't remember
Joseph,
And I have had to take more quotes away!
PHP's quote handling is a bit strange and can take some getting to grips
with :-)
Strings inside double quotes are parsed, meaning you can do this sort of
thing:
// my pet is a cat
$pet = cat;
echo my pet is a $pet.;
Strings inside
What do you folks use for your copy/backup software when copying/backing up
to CD?
When I bought my CD Writer I got a copy of Nero bundled free with it.
Research using Google seemed to show it was the most popular. Now, however,
I've discovered that it does not back-up multi-level directories!
You mean Nero won't let you burn a directory/folder and all of the files in
it to a cd just as a copy operation?
For the type of clients you describe a copy rather than a back up would be
the best way. FWIW, I prefer to back-up by making copies since I've had
horrible luck with compressed
Jon,
That is really helpful; some of it I had picked up, and it confirms it and
makes it orderly. Funny, I was nervous about removing quotes from DOCUMENT
ROOT and its brethren, but increasingly I am thinking this is a code full of
little gremlins having fun!
I can't see a missing quote a
--- Smile-Poet wrote: ---
: Jon,
:
: That is really helpful; some of it I had picked up, and it
: confirms it and makes it orderly. Funny, I was nervous about
: removing quotes from DOCUMENT ROOT and its brethren, but
: increasingly I am thinking this is a code full
I'm using W2k but I get the idea - I'll give it a try. Thanks.
Peter MacGregor
At 16:47 19/04/2004, you wrote:
You mean Nero won't let you burn a directory/folder and all of the files in
it to a cd just as a copy operation?
For the type of clients you describe a copy rather than a back up would
I don't remember if W2K had cd burning built-in but I guess you'll find out.
Otherwise, take a look at Roxio's offering.
Cheryl D. Wise
Certified Professional Web Developer
MS-MVP-FrontPage
www.wiserways.com
mailto: [EMAIL PROTECTED]
713.353.0139 Office
-Original Message-
From: Peter
How do we add records to an SQL table that contains forwarded slashes?
It gives an error when i try to enter a URL.
Thanks
Amrit
http://www.bytesworth.com
The WDVL Discussion List from WDVL.COM
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
Send Your Posts
Forward slashes should be fine. What database are you using, and what's
the data type of the field that's causing you problems? Perhaps you can
supply the SQL statement too?
Amrit Hallan wrote:
How do we add records to an SQL table that contains forwarded slashes?
It gives an error when i try
Jon,
Just to update. It was a missing single quote at the end of an echo line.
Now I get the error appropriate to the fact that the script can't access
Amazon, which is as it should be.
Cleary there is some difference, too, inside a foreach; until these
variants are clear it makes fro a very
Stephen,
I'm using html-kit which is probably similar, using colour and bold to show
what is happening. Of course it needs me to know what it is signifying,
which is beginning to happen! But the quotes do not stand out, though
sometimes the part affected is visible by being the wrong colour.
Hi all,
I'm looking for a simple Instant Messenger script for ASP. I just want two
people, both of whom are logged into the site to be able to initiate and
carry on conversations with each other. Can this be done, or is it a very
complicated thing.
Diane
[EMAIL PROTECTED]
Hello everyone,
I would appreciate it if you would take the time to check out my new
site design:
http://www.stewartandcompany.net
I have put a lot of energy into making it as user-friendly as possible
with redundant links and putting things exactly where they should be.
I welcome your
Here, I compiled it for you... http://www.aol.com/downloads/aim.exe ;~#)
j/k...
I don't know of any, and based on the nature of ASP, I don't see that it
would be reasonable. Both sides would have to initiate a reload of any page,
or have them timed to reload. Neither would be a pretty
19 matches
Mail list logo