Jump to content

Get Database info in CEF browser


Recommended Posts

Hey all, Been struggling to for awhile on this. 


I'm building an ingame CEF browser that shows stats of a vehicle that are stored in a database table called "configvehicle". On the browser you can select the name of the vehicle on the left and the data will show on the right.


How can you call data into a CEF browser? It doesnt seem to like <?php ?> at all. I want to output the data in html format $output ' '; 



Link to comment
Share on other sites

10 minutes ago, $kylar said:

Use javascript and trigger a ExecuteJS from the clientside to interact with the CEF. Fetch the database values from the client-side and then pass those arguments in the CEF by (again) ExecuteJS


Much love dude thanks. I'll give that ago!


Link to comment
Share on other sites

On 2/20/2020 at 10:41 PM, MrWilson said:


Much love dude thanks. I'll give that ago!


A couple of the Rage community members are making a free source organization for easy to interpret the API.

Here's an example to use ExecuteJS() 


  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...