skibum35
Thread Starter
- Joined
- Aug 16, 2005
- Messages
- 71
Hows that for a confusing title.
What I am trying to do is echo a variable within some text that is within a variable.
Even more confused? Me too.
I want to set up some adsense boxes on a page.
Will echo a variable on the page. This is the start of the code for the variable
Of course it is rendering all that literally.
I have tried some work arounds to no avail.
The eyes are square at the moment, have looked up what I thought was the relevent area in books, but cannot find the answer. Thought I would ask you folks here.
Can this be done?
I know I can work around this by just using files without being within php variables, but there has to be a way.
Thanks.
What I am trying to do is echo a variable within some text that is within a variable.
Even more confused? Me too.
I want to set up some adsense boxes on a page.
Will echo a variable on the page. This is the start of the code for the variable
Code:
$top_adsense = "
<script type='text/javascript'><!--
google_ad_client = '<?php echo $adsense_publisher_id; ?>';
google_ad_width = 728;
I have tried some work arounds to no avail.
The eyes are square at the moment, have looked up what I thought was the relevent area in books, but cannot find the answer. Thought I would ask you folks here.
Can this be done?
I know I can work around this by just using files without being within php variables, but there has to be a way.
Thanks.