Technology, Web & Business Forum

You are here: Technology, Web & Business Forum : Web Development : Programming : Insert PHP into page ?


Welcome to the Technology, Web & Business Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.


Programming Discuss programming languages such as .NET, PHP, PERL, ASP, ColdFusion, C++


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-04-2009
Junior Member
 
Join Date: Feb 2009
Posts: 3
Default Insert PHP into page ?

I have got my database driven web site I m using

Code :
$query = "SELECT * FROM $sTableName WHERE ID=$inPageID LIMIT 1";
$_CONTENT = mysql_fetch_array(mysql_query($query));

<?= $_CONTENT['PAGE_CONTENT'] ?>

to insert the content, into the page.

Now if I wanted to add a php command into the page (the part thats stored on the database) i m not sure what to do.

can someone help me out here?

Thanks !
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 06:52 PM.