Local MySQL help

Macs Bank

Client
Регистрация
25.04.2014
Сообщения
59
Благодарностей
3
Баллы
8
Anyone care to share the best method of having my templates interact with a local mysql database?
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
Sure
 

Вложения

Macs Bank

Client
Регистрация
25.04.2014
Сообщения
59
Благодарностей
3
Баллы
8
Thanks so much! :-)
 

Macs Bank

Client
Регистрация
25.04.2014
Сообщения
59
Благодарностей
3
Баллы
8
The examples above def helped, but I now have another question.

I know I can use the CodeCreator to make a template that uses php, but it won't let me import a template that I have already created in projectmaker... so, I was wondering if it is possible to run php code within the c# node of projectmaker if I include the right libaray class? I am fairly new with c#, so I am not 100% sure how I would about that. I did some research and found something called phalanger, but I couldn't quite figure it out.

I just want to run simple php commands within my exisiting templates, including inserting and selecting from mysql database, and a few other standard php commands.

Any ideas?

thanks again!!
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
Why not just throw your php scripts in wampserver and use zenno's GET and POST to do your queries.
 

Macs Bank

Client
Регистрация
25.04.2014
Сообщения
59
Благодарностей
3
Баллы
8
That is actually what I have been doing until now... just wanted to see if there was a way to save a few steps.
I guess I can stick with the current method.

thanks anyhow.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)