Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

PHP/JS/Twitter


What_A_Legend's Avatar
...Legend?
0 0

Hey, I'm currently working on a project which is an open source blog which I am eager to release.

I have a twitters section were JS and AJAX is used to call the twitters from my twitter profile.

Here is the problem, if its open source I need it to be variable for each user. From the admin pannel. I got a section were the user can post the information needed to the database which is ID,count and prefix. This is the current code below in my <head> section.

 getTwitters(&#92;&#39;twitters&#92;&#39;, { id: 7011902, count: 7, prefix: &#92;&#39;What_A_Legend Says . . .&#92;&#39;, clearContents: true, enableLinks: true });
&lt;/script&gt;```

What I need to do is to add PHP to make the values update to the values changed in the admin area. Any Idea&#92;&#39;s from any one?

I belive I could just make includes and echo each include in the right places, but I&#92;&#39;m not sure if that will work or if there is a better way of doing it ? Any one ?

Thank You.