I want to connect my PHP database with my facebook api, can anyone help me


#1

[php]

<?php include 'db_connection.php'; $conn = OpenCon(); echo "Connected Succesfully"; CloseCon($conn); ?> SocialAuth #fb-btn{margin-top:10px;} #profile, #logout{display:none} sEAT
Search

Log in to view your profile

[/php]

#2

Don’t know what you are asking. Need a specific question.


#3

Sorry for making it confusing…I need direction on how to connect the database I set up in myphp to my facebook api I set up in this code here.


#4

You just use php to do insert statements into the table.


#5

could you give me a link or something to it…im so lost on connecting databases with php. Thanks again


#6

https://www.phphelp.com/forum/website-announcements/pdo-bumpstart-database-v1-6-now-available/msg100203/#new


#7

Thank you sir


#8

If you have trouble understanding getting a db connection and inserting data I highly suggest you isolate and try this before trying to make it work with external services etc. If you have trouble then split up the task in as small chunks as you need to be able to make it work. If you try to do too much at the same time you will have trouble


#9

^^^