<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1032273" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1032273</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/phpadsnew-and-php-code#comment-1188965</link>
    <description> &lt;p&gt;ahhh... aint gonna work then... cheers for looking tho...&lt;/p&gt;
 </description>
     <pubDate>Tue, 27 Dec 2005 23:16:54 +0000</pubDate>
 <dc:creator>spotbb.com</dc:creator>
 <guid isPermaLink="false">comment 1188965 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/phpadsnew-and-php-code#comment-1188964</link>
    <description> &lt;p&gt;I looked on page 37 of the manual and found this:&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote:&lt;br /&gt;
Embedding PHP code&lt;br /&gt;
In certain cases you may want to embed PHP code inside an HTML banner.&lt;br /&gt;
You can do this in the same way as you would normally embed PHP code inside an&lt;br /&gt;
HTML document. PHP code starts with &lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;and &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;ends with &lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;. All code between these&lt;br /&gt;
two tags will be executed just as it would if it were embedded inside a normal HTML&lt;br /&gt;
document.&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;a href=’http://www.mybanner.com/click’&amp;gt;&lt;br /&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;echo &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;“The current time is&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;“&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;echo &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;date &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;“H&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;s”&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;lt;/a&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
There are some exceptions: It is not possible to define functions or classes and include or&lt;br /&gt;
require other files. The print(), echo and printf() functions will still work and can be used to&lt;br /&gt;
print strings to the HTML banner. It is also not possible to mix variables and PHP code,&lt;br /&gt;
so the following example will definitely not work: {targeturl:&lt;a href=&quot;http://www.phpadsnew.com/&quot; class=&quot;bb-url&quot;&gt;http://www.phpadsnew.com/&lt;/a&gt;&lt;br /&gt;
page.html?id=&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt; $id &lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;}
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I tried doing an echo statement like this:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;echo(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;Hi&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;in my phpAdsNew but it didn&#039;t work for some reason.  Maybe they don&#039;t have all the bugs worked out.  Anyhow your code won&#039;t work because as stated in the manual &quot;It is not possible to define functions or classes and include or&lt;br /&gt;
require other files&quot;.&lt;/p&gt;
&lt;p&gt;I dunno what else there is left to do! &lt;img src=&quot;http://smiliesftw.com/!/dunno.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 27 Dec 2005 23:15:05 +0000</pubDate>
 <dc:creator>dk01</dc:creator>
 <guid isPermaLink="false">comment 1188964 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
