Page 1 of 1

how to make a generator?

Posted: Wed Jun 04, 2008 2:18 pm
by niceblue00
thanks

Re: how to make a css generator?

Posted: Wed Jun 04, 2008 2:51 pm
by RobertGonzalez
How much PHP do you know?

Re: how to make a css generator?

Posted: Thu Jun 05, 2008 12:39 am
by niceblue00
Everah wrote:How much PHP do you know?
not really good.. but if you post the code then tell me what to do i can get it...

Re: how to make a css generator?

Posted: Thu Jun 05, 2008 12:49 am
by Benjamin
Your first step is to make the form. Have you made one yet?

Then you can start here for the PHP aspect: http://us.php.net/manual/en/language.basic-syntax.php

Re: how to make a css generator?

Posted: Thu Jun 05, 2008 9:25 am
by niceblue00
thanks astions!

no i dont make one .. only the problem is i dont know how to transfer the generate code to become a code,,, how to do that? what is the code?

Re: how to make a css generator?

Posted: Thu Jun 05, 2008 9:32 am
by onion2k
Noone is going to write this for you. Stop asking for people to post code. We're happy to help you learn by helping figure out why your code isn't working... but that requires you write some code first.

Re: how to make a css generator?

Posted: Thu Jun 05, 2008 10:21 am
by RobertGonzalez
Try writing some code yourself. When it breaks, come back here, post the code and tell us what broke. We will try to help you code the fix and prepare for the next steps.

Re: how to make a css generator?

Posted: Thu Jun 05, 2008 12:54 pm
by [UW] Jake
1. Make a form in your favorite WYSIWYG, such as Dreamweaver.
2. Read up on GET / POST. With PHP when they submit the form, you can use $_POST['name_of_field'] to access what data they submitted. Then you plug that into a pre-made css code or whatever you want to generate.

You've been shown the door- but you must walk through it!

Re: how to make a css generator?

Posted: Thu Jun 05, 2008 2:09 pm
by Frozenlight777
This is somewhat humorous.
1) Google how to make an html form
2) Google how to take the fields and POST them
3) Google how to inject php variables into CSS

I'm glad no one has actually written the whole thing out for him.

Re: how to make a css generator?

Posted: Thu Jun 05, 2008 3:57 pm
by RobertGonzalez
Frozenlight777 wrote:I'm glad no one has actually written the whole thing out for him.
Generally you will find that we are very helpful bunch. You will also find that we will not ever do anyone's work for them. :mrgreen:

Re: how to make a css generator?

Posted: Thu Jun 05, 2008 5:12 pm
by onion2k
Everah wrote:You will also find that we will not ever do anyone's work for them. :mrgreen:
Exactly. My boss has a hard enough time getting me to do my own... :twisted: