put script in mysql

Posted on 2003-03-07
Medium Priority
Last Modified: 2006-11-17
how to put my pages on mysql databases so i just need only one page and one database. other pages is in the database. because, the script just act as a text!! is anyone can inside pictures and docs too?
i'm sorry if this question is double, cause i just can't find it on paq. thx.
Question by:stis
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Author Comment

ID: 8086963
please, i need urgent.

Accepted Solution

carchitect earned 100 total points
ID: 8086993
pls make a blob field in you database and put your image code there and for rest text paes you can simply create text field.... it will work fine.
LVL 32

Expert Comment

ID: 8088466
Put blob fields in their own table. Otherwise, they will slow down your queries.
WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.


Expert Comment

ID: 8090795
A blob field is the only kind of field that will hold anything other than text.  A blob field will hold images, sound, whatever you like.  But like was stated earlier, this is something you want to keep in a separate table from the rest of your information, then do a query on multiple tables when you need to reference it.

Assisted Solution

Morph007x2b earned 100 total points
ID: 8143415
W00t! My place. I know all about this, and I know how to do it.

Alright what you need to do:

Insert the PHP code into the blob field.

To run the code:

// Make sure you connect to your mysql database
$sqlr = mysql_query("SELECT * FROM TABLE_NAME_HERE where id=_ID_OF_THINGY");
while ($sr = mysql_fetch_array($sqlr)) {

I keep an ID columm in all my tables to do the exact thing above. I also have the colum CODE as a blob for PHP coding....

If you need more help download my portal system and review the code at wwww.multicode.net
LVL 33

Expert Comment

ID: 11934135
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup topic area:
    Split: carchitect {http:#8086993} & Morph007x2b {http:#8143415}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

EE Cleanup Volunteer

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question