<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="0.91">
    <channel>
        <title>php insert</title>
        <description>The 10 most recently added comments in the topic &quot;php insert&quot;</description>
        <link>http://www.freewaytalk.net/</link>
        <lastBuildDate>Sat, 04 Feb 2012 10:38:53 -500</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>Re: php insert</title>
            <link>http://www.freewaytalk.net/thread/view/66875#m_66882</link>
            <description>&lt;p&gt;Make a text file (or use the one you have) called whatever.php or
whatever.inc.php (that&amp;#8217;s just a convention, it doesn&amp;#8217;t mean anything
in particular, it just reminds you what the file is for). Put all the
code in it, make sure that it starts and ends with the php tags &lt;code&gt;&amp;lt;? 
php ?&amp;gt;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Upload this file to your server, at the same level as the Freeway page
which will consume it.&lt;/p&gt;

&lt;p&gt;In your markup item, just put in one line:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;?php require('whatever.inc.php'); ?&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;(Obviously change that whatever to what you actually call the thing.)&lt;/p&gt;

&lt;p&gt;And upload your Freeway file to the server to see the result. If it
works, then great. If it doesn&amp;#8217;t, then you have isolated the problem
to the PHP file, and if you paste that at &lt;a href=&quot;http://Pastie.org&quot;&gt;http://Pastie.org&lt;/a&gt;, we can
see it in its raw state and make comments on it in isolation.&lt;/p&gt;

&lt;p&gt;Walter&lt;/p&gt;

&lt;p&gt;On Mar 10, 2010, at 11:09 AM, Nathan Garner wrote:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Aha&amp;#8230; thanks Walter.&lt;/p&gt;
  
  &lt;p&gt;I am pasting it all in the mark-up. Maybe I should be pulling it in
  from an external file then. What would be the best route to pull it
  in then Walter?&lt;/p&gt;
  
  &lt;p&gt;Nathan Garner
  Creative Director&lt;/p&gt;
  
  &lt;p&gt;Austin Wells Design Limited
  One Elmgate Drive - Littledown - Bournemouth BH7 7EF
  t 01202 301271  e email@hidden  w &lt;a href=&quot;http://www.austinwellsdesign.co.uk&quot;&gt;http://www.austinwellsdesign.co.uk&lt;/a&gt;&lt;/p&gt;
  
  &lt;p&gt;Member of NAPP | Zen Affiliate | Dorset Business Member | YEC&lt;/p&gt;
  
  &lt;p&gt;On 10 Mar 2010, at 16:02, Walter Lee Davis wrote:&lt;/p&gt;
  
  &lt;blockquote&gt;
    &lt;p&gt;Are you pasting all of the PHP directly into the Markup Item
    itself, or do you have this PHP code in an external file that you
    are pulling into your page with require() or include()?&lt;/p&gt;
    
    &lt;p&gt;If so, you might be hitting the limit of Markup Items as far as
    text length goes. I don&amp;#8217;t recall what this limit is, but it&amp;#8217;s not
    high.&lt;/p&gt;
    
    &lt;p&gt;This particular PHP error means you have failed to close the
    preceding line with a ; or a }, or have incorrectly nested
    parentheses that cause the interpreter to get lost and maybe close
    the line before you meant to. Preview the page from Freeway into
    BBEdit or another programmer&amp;#8217;s text editor, turn on line numbers,
    and see what is on line 374. That&amp;#8217;s where the error most likely is.&lt;/p&gt;
    
    &lt;p&gt;Walter&lt;/p&gt;
    
    &lt;p&gt;On Mar 10, 2010, at 9:44 AM, Nathan Garner wrote:&lt;/p&gt;
    
    &lt;blockquote&gt;
      &lt;p&gt;I have a .php page. My coder has given me a lump of code and I
      have inserted a markup item into an expandable div&lt;/p&gt;
      
      &lt;p&gt;The coder has shown me the page working on its own, but when I
      paste in the code to the page itself, an error gets thrown up.&lt;/p&gt;
      
      &lt;p&gt;The page is here&lt;/p&gt;
      
      &lt;p&gt;&lt;a href=&quot;http://jordanacoustics.co.uk/products_ng3.php&quot;&gt;http://jordanacoustics.co.uk/products_ng3.php&lt;/a&gt;&lt;/p&gt;
      
      &lt;p&gt;And this is the page without the code in&lt;/p&gt;
      
      &lt;p&gt;&lt;a href=&quot;http://jordanacoustics.co.uk/products_nocode.php&quot;&gt;http://jordanacoustics.co.uk/products_nocode.php&lt;/a&gt;
      I am attempting to paste the code in just above the footer.&lt;/p&gt;
      
      &lt;p&gt;And this is the code&lt;/p&gt;
      
      &lt;p&gt;&lt;a href=&quot;http://jordanacoustics.co.uk/code.html&quot;&gt;http://jordanacoustics.co.uk/code.html&lt;/a&gt;&lt;/p&gt;
      
      &lt;p&gt;I&amp;#8217;m not expecting anyone to trawl through the code, but is there
      anything obvious that I may be doing wrong that my frazzled brain
      cannot pick up?&lt;/p&gt;
      
      &lt;p&gt;Nathan Garner
      Creative Director&lt;/p&gt;
      
      &lt;p&gt;Austin Wells Design Limited
      One Elmgate Drive - Littledown - Bournemouth BH7 7EF
      t 01202 301271  e email@hidden  w &lt;a href=&quot;http://www.austinwellsdesign.co.uk&quot;&gt;http://www.austinwellsdesign.co.uk&lt;/a&gt;&lt;/p&gt;
      
      &lt;hr /&gt;
      
      &lt;p&gt;freewaytalk mailing list
      email@hidden
      Update your subscriptions at:
      &lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
    &lt;/blockquote&gt;
    
    &lt;hr /&gt;
    
    &lt;p&gt;freewaytalk mailing list
    email@hidden
    Update your subscriptions at:
    &lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
  &lt;/blockquote&gt;
  
  &lt;hr /&gt;
  
  &lt;p&gt;freewaytalk mailing list
  email@hidden
  Update your subscriptions at:
  &lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;hr /&gt;

&lt;p&gt;freewaytalk mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>waltd</author>
            <pubDate>Wed, 10 Mar 2010 16:19:26 -500</pubDate>
        </item>
        <item>
            <title>Re: php insert</title>
            <link>http://www.freewaytalk.net/thread/view/66875#m_66880</link>
            <description>&lt;p&gt;Aha&amp;#8230; thanks Walter.&lt;/p&gt;

&lt;p&gt;I am pasting it all in the mark-up. Maybe I should be pulling it in from an external file then. What would be the best route to pull it in then Walter?&lt;/p&gt;

&lt;p&gt;Nathan Garner
Creative Director&lt;/p&gt;

&lt;p&gt;Austin Wells Design Limited
One Elmgate Drive - Littledown - Bournemouth BH7 7EF
t 01202 301271  e email@hidden  w &lt;a href=&quot;http://www.austinwellsdesign.co.uk&quot;&gt;http://www.austinwellsdesign.co.uk&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Member of NAPP | Zen Affiliate | Dorset Business Member | YEC&lt;/p&gt;

&lt;p&gt;On 10 Mar 2010, at 16:02, Walter Lee Davis wrote:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Are you pasting all of the PHP directly into the Markup Item itself, or do you have this PHP code in an external file that you are pulling into your page with require() or include()?&lt;/p&gt;
  
  &lt;p&gt;If so, you might be hitting the limit of Markup Items as far as text length goes. I don&amp;#8217;t recall what this limit is, but it&amp;#8217;s not high.&lt;/p&gt;
  
  &lt;p&gt;This particular PHP error means you have failed to close the preceding line with a ; or a }, or have incorrectly nested parentheses that cause the interpreter to get lost and maybe close the line before you meant to. Preview the page from Freeway into BBEdit or another programmer&amp;#8217;s text editor, turn on line numbers, and see what is on line 374. That&amp;#8217;s where the error most likely is.&lt;/p&gt;
  
  &lt;p&gt;Walter&lt;/p&gt;
  
  &lt;p&gt;On Mar 10, 2010, at 9:44 AM, Nathan Garner wrote:&lt;/p&gt;
  
  &lt;blockquote&gt;
    &lt;p&gt;I have a .php page. My coder has given me a lump of code and I have inserted a markup item into an expandable div&lt;/p&gt;
    
    &lt;p&gt;The coder has shown me the page working on its own, but when I paste in the code to the page itself, an error gets thrown up.&lt;/p&gt;
    
    &lt;p&gt;The page is here&lt;/p&gt;
    
    &lt;p&gt;&lt;a href=&quot;http://jordanacoustics.co.uk/products_ng3.php&quot;&gt;http://jordanacoustics.co.uk/products_ng3.php&lt;/a&gt;&lt;/p&gt;
    
    &lt;p&gt;And this is the page without the code in&lt;/p&gt;
    
    &lt;p&gt;&lt;a href=&quot;http://jordanacoustics.co.uk/products_nocode.php&quot;&gt;http://jordanacoustics.co.uk/products_nocode.php&lt;/a&gt;
    I am attempting to paste the code in just above the footer.&lt;/p&gt;
    
    &lt;p&gt;And this is the code&lt;/p&gt;
    
    &lt;p&gt;&lt;a href=&quot;http://jordanacoustics.co.uk/code.html&quot;&gt;http://jordanacoustics.co.uk/code.html&lt;/a&gt;&lt;/p&gt;
    
    &lt;p&gt;I&amp;#8217;m not expecting anyone to trawl through the code, but is there anything obvious that I may be doing wrong that my frazzled brain cannot pick up?&lt;/p&gt;
    
    &lt;p&gt;Nathan Garner
    Creative Director&lt;/p&gt;
    
    &lt;p&gt;Austin Wells Design Limited
    One Elmgate Drive - Littledown - Bournemouth BH7 7EF
    t 01202 301271  e email@hidden  w &lt;a href=&quot;http://www.austinwellsdesign.co.uk&quot;&gt;http://www.austinwellsdesign.co.uk&lt;/a&gt;&lt;/p&gt;
    
    &lt;hr /&gt;
    
    &lt;p&gt;freewaytalk mailing list
    email@hidden
    Update your subscriptions at:
    &lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
  &lt;/blockquote&gt;
  
  &lt;hr /&gt;
  
  &lt;p&gt;freewaytalk mailing list
  email@hidden
  Update your subscriptions at:
  &lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;hr /&gt;

&lt;p&gt;freewaytalk mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>BigG</author>
            <pubDate>Wed, 10 Mar 2010 16:09:15 -500</pubDate>
        </item>
        <item>
            <title>Re: php insert</title>
            <link>http://www.freewaytalk.net/thread/view/66875#m_66879</link>
            <description>&lt;p&gt;Are you pasting all of the PHP directly into the Markup Item itself,
or do you have this PHP code in an external file that you are pulling
into your page with require() or include()?&lt;/p&gt;

&lt;p&gt;If so, you might be hitting the limit of Markup Items as far as text
length goes. I don&amp;#8217;t recall what this limit is, but it&amp;#8217;s not high.&lt;/p&gt;

&lt;p&gt;This particular PHP error means you have failed to close the preceding
line with a ; or a }, or have incorrectly nested parentheses that
cause the interpreter to get lost and maybe close the line before you
meant to. Preview the page from Freeway into BBEdit or another
programmer&amp;#8217;s text editor, turn on line numbers, and see what is on
line 374. That&amp;#8217;s where the error most likely is.&lt;/p&gt;

&lt;p&gt;Walter&lt;/p&gt;

&lt;p&gt;On Mar 10, 2010, at 9:44 AM, Nathan Garner wrote:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;I have a .php page. My coder has given me a lump of code and I have
  inserted a markup item into an expandable div&lt;/p&gt;
  
  &lt;p&gt;The coder has shown me the page working on its own, but when I paste
  in the code to the page itself, an error gets thrown up.&lt;/p&gt;
  
  &lt;p&gt;The page is here&lt;/p&gt;
  
  &lt;p&gt;&lt;a href=&quot;http://jordanacoustics.co.uk/products_ng3.php&quot;&gt;http://jordanacoustics.co.uk/products_ng3.php&lt;/a&gt;&lt;/p&gt;
  
  &lt;p&gt;And this is the page without the code in&lt;/p&gt;
  
  &lt;p&gt;&lt;a href=&quot;http://jordanacoustics.co.uk/products_nocode.php&quot;&gt;http://jordanacoustics.co.uk/products_nocode.php&lt;/a&gt;
  I am attempting to paste the code in just above the footer.&lt;/p&gt;
  
  &lt;p&gt;And this is the code&lt;/p&gt;
  
  &lt;p&gt;&lt;a href=&quot;http://jordanacoustics.co.uk/code.html&quot;&gt;http://jordanacoustics.co.uk/code.html&lt;/a&gt;&lt;/p&gt;
  
  &lt;p&gt;I&amp;#8217;m not expecting anyone to trawl through the code, but is there
  anything obvious that I may be doing wrong that my frazzled brain
  cannot pick up?&lt;/p&gt;
  
  &lt;p&gt;Nathan Garner
  Creative Director&lt;/p&gt;
  
  &lt;p&gt;Austin Wells Design Limited
  One Elmgate Drive - Littledown - Bournemouth BH7 7EF
  t 01202 301271  e email@hidden  w &lt;a href=&quot;http://www.austinwellsdesign.co.uk&quot;&gt;http://www.austinwellsdesign.co.uk&lt;/a&gt;&lt;/p&gt;
  
  &lt;hr /&gt;
  
  &lt;p&gt;freewaytalk mailing list
  email@hidden
  Update your subscriptions at:
  &lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;hr /&gt;

&lt;p&gt;freewaytalk mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>waltd</author>
            <pubDate>Wed, 10 Mar 2010 16:02:56 -500</pubDate>
        </item>
        <item>
            <title>php insert</title>
            <link>http://www.freewaytalk.net/thread/view/66875</link>
            <description>&lt;p&gt;I have a .php page. My coder has given me a lump of code and I have inserted a markup item into an expandable div&lt;/p&gt;

&lt;p&gt;The coder has shown me the page working on its own, but when I paste in the code to the page itself, an error gets thrown up.&lt;/p&gt;

&lt;p&gt;The page is here&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://jordanacoustics.co.uk/products_ng3.php&quot;&gt;http://jordanacoustics.co.uk/products_ng3.php&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And this is the page without the code in&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://jordanacoustics.co.uk/products_nocode.php&quot;&gt;http://jordanacoustics.co.uk/products_nocode.php&lt;/a&gt;
I am attempting to paste the code in just above the footer.&lt;/p&gt;

&lt;p&gt;And this is the code&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://jordanacoustics.co.uk/code.html&quot;&gt;http://jordanacoustics.co.uk/code.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&amp;#8217;m not expecting anyone to trawl through the code, but is there anything obvious that I may be doing wrong that my frazzled brain cannot pick up?&lt;/p&gt;

&lt;p&gt;Nathan Garner
Creative Director&lt;/p&gt;

&lt;p&gt;Austin Wells Design Limited
One Elmgate Drive - Littledown - Bournemouth BH7 7EF
t 01202 301271  e email@hidden  w &lt;a href=&quot;http://www.austinwellsdesign.co.uk&quot;&gt;http://www.austinwellsdesign.co.uk&lt;/a&gt;&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;freewaytalk mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;http://freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>BigG</author>
            <pubDate>Wed, 10 Mar 2010 14:44:51 -500</pubDate>
        </item>
    </channel>
</rss>

