0

I am using phpmyadmin mysql database for yii framework but i cant create a new app using command prompt, instead i go on

c:\xampp\htdocs\yiiframework\framework\yiic\webapp ..\\..\\yiitestapp

and then cmd opens and it asks for yes/no. my cmd does not works

I have already set my environment variables to c:\xampp\php

Please reply how would I create a new app with database table using phpmyadmin.

9
  • What happens when u say Yes in cmd prompt Commented Jun 17, 2013 at 6:11
  • my testapp is created inside htdocs and it runs well but my cmd closes automatically after i write yes Commented Jun 17, 2013 at 6:16
  • Ok u can use an alternative tool gii to create tables and models ,have u read yii documentation ?? Commented Jun 17, 2013 at 6:25
  • yes i have already used gii tool. though i have done fine by reading documentation I am not getting it. i am getting an error: CException Property "User.content" is not defined. Commented Jun 17, 2013 at 6:31
  • i have gone through the yiiframework documentation section inside that there is screencasts the last or say 4th screencast is not working for me Commented Jun 17, 2013 at 6:33

1 Answer 1

1

from your comments i came to know that you are using windows, wamp server package in your local m/c based on this assumption

you can use

http://localhost/phpmyadmin/

to create your database create edit and delete tables

then use

http://localhost//*yor web application name*/?r=gii 

to access gii tools

pls let me know if any problem persist

Sign up to request clarification or add additional context in comments.

5 Comments

no actually its xampp with localhost/phpmyadmin. My application runs well but i know how to retrieve and show all data from my database with all entered id
@Phpdeveloper developer then change your question to make me know about your actual need
thanks and my application is running well also I got my answer. thankx for helping.
you can implement database using gii tools, very easily, to your web app
thanks@ Samuel J Mathew, yeah i used gii tools and my application is working fine

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.