how to add graphic styles and templates inside a php???
can we add such coloring images in php???
urgent help
thanks in advance
doubts in php
Moderator: General Moderators
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: doubts in php
Your question is not too clear.
Colouring images? What format is the image? You can include the image in the page on the fly with php and then html, if you want to change certain colours within the image, it would have to be an SVG image, then you can do what you want with it.
Colouring images? What format is the image? You can include the image in the page on the fly with php and then html, if you want to change certain colours within the image, it would have to be an SVG image, then you can do what you want with it.
Re: doubts in php
thanks jaoudestudios..
i ll put my qstn in a clear way..
i am just new to web designing.. so i use a tool called web page maker to create html pages..
and i create php pages manually, and put them in my localhost and run..
my qstn is can we design those php pages manually, bcoz i have given a particular color format for the previous html pages created, similarly can we add colors in a php page..
thanks in advance
i ll put my qstn in a clear way..
i am just new to web designing.. so i use a tool called web page maker to create html pages..
and i create php pages manually, and put them in my localhost and run..
my qstn is can we design those php pages manually, bcoz i have given a particular color format for the previous html pages created, similarly can we add colors in a php page..
thanks in advance
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: doubts in php
That is still not really clear. You might have to show us some examples.
But I will take a guess to what you mean.
Are you asking if you can change the colour of the page (CSS) using PHP. If so, then yes, you can code your CSS style sheet in php (or inline styles) and therefore have it change colours depending on certain conditions.
But I will take a guess to what you mean.
Are you asking if you can change the colour of the page (CSS) using PHP. If so, then yes, you can code your CSS style sheet in php (or inline styles) and therefore have it change colours depending on certain conditions.
Re: doubts in php
Maybe this will help: all PHP does is generate HTML. If something can be done in HTML, you can generate the HTML with PHP. PHP doesn't have any browser-side capabilities of its own. It just generates HTML (and CSS and Javascript) for the browser to see. That's all.
Re: doubts in php
nuh uh. I can generate zip files, pdfs, json objects, javascript, plaintext, etc...califdon wrote: It just generates HTML (and CSS and Javascript) for the browser to see. That's all.
Re: doubts in php
True, but it sounded to me like the OP was asking about CSS styles, etc. I just wanted to emphasize the basic functions of PHP as are used 90% of the time.jshpro2 wrote:nuh uh. I can generate zip files, pdfs, json objects, javascript, plaintext, etc...califdon wrote: It just generates HTML (and CSS and Javascript) for the browser to see. That's all.
Re: doubts in php
haha yeah half sarcastic, just wanted to also point out it does more so noone literally thought it was limited to HTML / javascript or even text documents for that matter, it can also generate any kind of binary data in any mimetype, feeds & web services ( JSON - serialized objects ), even command line output, output to local file, etc...