Where to write my PDO statement
-
Hi!
I’m very interested in your plugin, it seems amazing! The only problem (and it’s a quick question) is where am I suppose to put my PDO statement?I mean this line :
$stmt = $dbh = new PDO(“mysql:host=$NomHost; dbname=$NomBD”, “$NomUser” , “”) ;Where is it supposed to go? I have an otherp lugin to put PHP code in a WP page, but it doesn’t seem to work…
Thank you for helping me!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Where to write my PDO statement’ is closed to new replies.