Article View: alt.comp.lang.php
Article #47Re: -> treated as a closing tag instead of an array tool??
From: Juha Suni
Date: Thu, 07 Nov 2002 08:27
Date: Thu, 07 Nov 2002 08:27
25 lines
2559 bytes
2559 bytes
"Paul Fitz" <pfitz@dod.com> wrote in message news:3dca08a4$1@news.comindico.com.au... > Hi, > > I've just started using php classes and a form validation class in > particlular, to check for empty fields and other stuff. > I'm creating forms which access the class etc. I'm using dreamweaver and > whenever I F12 preview the page in question, it sees the -> as a closing > tag. > I've tried a few different classes and scripts usinf the -> to assign and > each treats it as a closing tag..?? You can set up a testing server in DW (at least MX), so that when you push F12 to preview, it automatically uploads to the server that parses through the PHP as supposed and shows the result. DW has PHP-syntax highlighting but it certainly does not parse through the PHP or really understand anything of it. include is the only exception: DW can show the included file embedded where it should be. For PHP scripting, you better stay in the code-window, if doing anything more than small insertions with PHP. Then use preview with the testing server to see how it prints out. -- Suni
Technical Details
Message-ID:
<aqd88t$k9j$1@news1.songnet.fi>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.bredband.com!bredband!uio.no!newsfeed.song.fi!news1.songnet.fi!not-for-mailReferences:
<3dca08a4$1@news.comindico.com.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1107bb,68fc2bcab70a5b78 X-Google-Attributes: gid1107bb,public X-Google-Thread: 1156bd,68fc2bcab70a5b78 X-Google-Attributes: gid1156bd,public X-Google-Thread: 10b1d3,68fc2bcab70a5b78 X-Google-Attributes: gid10b1d3,public X-Google-Thread: f9981,68fc2bcab70a5b78 X-Google-Attributes: gidf9981,public X-Google-Thread: 10701e,68fc2bcab70a5b78 X-Google-Attributes: gid10701e,public X-Google-ArrivalTime: 2002-11-07 00:35:40 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.bredband.com!bredband!uio.no!newsfeed.song.fi!news1.songnet.fi!not-for-mail From: "Juha Suni" <juha.suni@ilmiantajat.fi> Newsgroups: alt.comp.lang.php,alt.php,comp.lang.php,cz.comp.lang.php,ufra.lists.php Subject: Re: -> treated as a closing tag instead of an array tool?? Date: Thu, 7 Nov 2002 10:27:49 +0200 Organization: Song Networks Internet Services Lines: 27 Message-ID: <aqd88t$k9j$1@news1.songnet.fi> References: <3dca08a4$1@news.comindico.com.au> NNTP-Posting-Host: ilmiantajat-cpe1.oul.fi.sn.net X-Trace: news1.songnet.fi 1036657757 20787 194.100.59.161 (7 Nov 2002 08:29:17 GMT) X-Complaints-To: newsmaster@songnet.fi NNTP-Posting-Date: 7 Nov 2002 08:29:17 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106