NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Is it posssible to add a PhP File to a Existing Javascript?

 
Post new topic   Reply to topic    NetBeans Forums -> Web Client Users
View previous topic :: View next topic  
Author Message
tsmaddox15



Joined: 20 Jun 2016
Posts: 2

PostPosted: Mon Jun 20, 2016 6:03 pm    Post subject: Is it posssible to add a PhP File to a Existing Javascript? Reply with quote

This is my first project I've ever done that requires more than one language so I apologize if this is a bad question, but I need to access data from a database that I have set up with a PhP project but I need to access it in another project that is Javascript. I know that I need json to get the variables but I dont see an option to add a Php File to a Javascript so I was wondering if there is a way to connect projects or do I need to just create a empty file and put the existing PhP code in it? Thanks!
Back to top
Tomas Mysik
Posted via mailing list.





PostPosted: Tue Jun 21, 2016 11:59 am    Post subject: Is it posssible to add a PhP File to a Existing Javascript? Reply with quote

Hi,
you should create a PHP project where JS and HTML and CSS files can be used
next to PHP files.

HTH,
Tomas


Dne pondělí 20. června 2016 18:03:34 CEST, tsmaddox15 napsal(a):
Quote:
This is my first project I've ever done that requires more than one language
so I apologize if this is a bad question, but I need to access data from a
database that I have set up with a PhP project but I need to access it in
another project that is Javascript. I know that I need json to get the
variables but I dont see an option to add a Php File to a Javascript so I
was wondering if there is a way to connect projects or do I need to just
create a empty file and put the existing PhP code in it? Thanks!
Back to top
tsmaddox15



Joined: 20 Jun 2016
Posts: 2

PostPosted: Tue Jun 21, 2016 4:36 pm    Post subject: Reply with quote

OK, thanks!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Web Client Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo