Hi - I'm new to PHP.
I'm just trying to install a script from a vendor and I'm getting an error that seems weird...thought you might be able to help. Thanks in advance for that.
I'm trying to use a PHP include on my page here:
http://www.repeatable.com/teleseminar/mmwt_test.htm
The include is this code:
<?php include(“http://www.repeatable.com/EZPRO/index.php?SiteID=1”);?>
And I get this error:
Parse error: syntax error, unexpected ':' in /home/repeatab/public_html/teleseminar/mmwt_test.htm on line 22
Can you tell what's wrong. Error says ":" - but the only colon is required in the "http://"
Thanks again.
David
I bet this is simple for you, but for me...
Moderator: General Moderators
Line 22
oops...that was dumb... Here you go:
15 <p>Once you've reviewed these products, please leave a <a href="http://www.the60dayexperiment.com/yat/?pa
ge=navig/index&cmp_id=75" target="_blank">testimonial
16 here</a> if
17 you're so inclined. <span class="red"><em>(If you do submit a testimonial, you'll receive all
18 teleseminars we do as a part of this series. That includes the mp3, the
19 transcript and any bonus package!)</em></span></p>
20 <p><strong>Here's just a few of the current testimonials. Be sure to add
21 yours below:</strong></p>
22 <?php include(“http://www.your-domain.com/EZPRO/index.php?SiteID=1”);?>
23 <p>Right click on the products below to save them to your hard drive.</p> <p>1) <a href="/dl/cindi.mp3
">Making
24 Money With Teleseminars Interview</a> with Cindi Dawson (mp3)</p>
25 <p>2) <a href="/dl/mmwt.pdf">Making Money With Teleseminars Interview</a> with Cindi Dawson (pdf)</p>
26 <p>3) <a href="/dl/60daystudyguide.pdf">Making Money With Teleseminars Interview
27 60-Day Experiment Study Guide</a> (pdf)</p>
28 <p>4) <a href="/dl/EasyPodcasting.pdf">Podcasting Made Easy</a> (pdf)</p>
dp
15 <p>Once you've reviewed these products, please leave a <a href="http://www.the60dayexperiment.com/yat/?pa
ge=navig/index&cmp_id=75" target="_blank">testimonial
16 here</a> if
17 you're so inclined. <span class="red"><em>(If you do submit a testimonial, you'll receive all
18 teleseminars we do as a part of this series. That includes the mp3, the
19 transcript and any bonus package!)</em></span></p>
20 <p><strong>Here's just a few of the current testimonials. Be sure to add
21 yours below:</strong></p>
22 <?php include(“http://www.your-domain.com/EZPRO/index.php?SiteID=1”);?>
23 <p>Right click on the products below to save them to your hard drive.</p> <p>1) <a href="/dl/cindi.mp3
">Making
24 Money With Teleseminars Interview</a> with Cindi Dawson (mp3)</p>
25 <p>2) <a href="/dl/mmwt.pdf">Making Money With Teleseminars Interview</a> with Cindi Dawson (pdf)</p>
26 <p>3) <a href="/dl/60daystudyguide.pdf">Making Money With Teleseminars Interview
27 60-Day Experiment Study Guide</a> (pdf)</p>
28 <p>4) <a href="/dl/EasyPodcasting.pdf">Podcasting Made Easy</a> (pdf)</p>
dp
Your quotes are not normal double quotes.. look
And may i ask why you are including with http ?
Code: Select all
<?php include(“http://www.your-domain.com/EZPRO/index.php?SiteID=1”);?>[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:2. Use descriptive subjects when you start a new thread. Vague titles such as "Help!", "Why?" are misleading and keep you from receiving an answer to your question.