WordPress.org

Support

Support » How-To and Troubleshooting » Is it possible to save random data to DB?

Is it possible to save random data to DB?

  • Greetings

    What I’m trying to accomplish is, Save some custom data settings to db from admin side then use it website side. For instance what Im looking for is

    Admin side:
    $CurrentFeatureImage = “test.jpg”;
    saveMetaData($CurrentFeatureImage , “metaData_setting”);

    Website side:
    $currImg = getMetaData(“metaData_setting”);

    Any suggestions please? Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Is it possible to save random data to DB?’ is closed to new replies.