• I want to save a shortcode into my PHP code for posts and pages but i have no ideea, i’m new in PHP.
    As an example i want to display just “Andy” from the table “dc_robots”, how can i do that? What is the the code for it.

    +———+———–+———-+
    | name_id | surrogate | surry |
    +———+———–+———-+
    | 1 | John | Smith |
    | 2 | Jane | Smith |
    | 3 | Jimbo | Jones |
    | 4 | Andy | Smith |
    | 7 | Chris | Jones |
    | 45 | Anna | Bell |
    | 44 | Jimmy | Carr |
    | 43 | Albert | Smith |
    | 42 | John | Doe |
    +———+———–+———-+

  • The topic ‘Plugin: PHP code for posts and pages – display data from a MySQL table’ is closed to new replies.