Sending Post With SQL Query To Wordpress

Discussion in 'PHP' started by SNaRe, Nov 28, 2007.

  1. #1
    I want to know how to send 1 post with sql query to wordpress I want to use it externally. I will write title to a string. content to a string when i execute php code it will send automaticly to wordpress.
    How can i do it ?
    I asked this to blogging part but it seems that category is not related for this subject.
     
    SNaRe, Nov 28, 2007 IP
  2. imvain2

    imvain2 Peon

    Messages:
    218
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    if you open: wp-includes > post.php > goto line 1395

    this is the code that wp uses
     
    imvain2, Nov 28, 2007 IP
  3. SNaRe

    SNaRe Well-Known Member

    Messages:
    1,132
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    165
    #3
    I went to that line but my php is knowledge is not enough . Can you give an example ? With a simple code
     
    SNaRe, Nov 29, 2007 IP
  4. imvain2

    imvain2 Peon

    Messages:
    218
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Sorry I don't know enough about WP to do what you are looking for, you could always try the WP fourms
     
    imvain2, Nov 29, 2007 IP
  5. SNaRe

    SNaRe Well-Known Member

    Messages:
    1,132
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    165
    #5
    I tried noone could answer so i thought maybe someone can help me
     
    SNaRe, Dec 1, 2007 IP