I need to set a variable to some HTML. Can I do this without putting all of the code on one line?
$var = "<html>\n<head>\n</head>\n<body>\n</body>\n</html>;
How do I make it more like this?
$var = "<html>
<head>
</head>
<body>
</body>
</html>;
Thanks for the help.
Simple question (I think)
Is it possible to create a folder on my server using PHP?
I am using an Apache server with the latest version of PHP.
Thanks in advance.
Hi,
This is a very stupid question, I'm sure. How would I make a simple redirect like:
"redirect.php?1" redirects to "1.html"
I am not so much interested in the redirect as how to do the ? after the script name.
Thanks!
I am interesting in writing a code for my website, and I would like to use PHP. I want to have a progressive form that allows users to build a car. They will choose the color, click next, and a new page will appear with a picture of that color car. Then they will choose another option and the...
I need some help on custom error pages. The only tutorials I can find say to edit the .htaccess file and have it redirect to general error page. The address bar looks like www.domain.com/error404.html. I have seen on many sites where 404s stay on the same page. The address bar shows the location...
I am new at Flash. I want to know if there is a way to have an outline around text. If there is a way to do it with stroke and fill, I can't figure it out. Any help is greatly appreciated. :-)
I have a form with a combobox, and in my stylesheet I specify the background color, border colors, etc. The problem is that the colors do not look right with the gray arrow button. Is there something I can specify to change the properties of the arrow button? Thanks in advance.
Does anyone know of a way to remove the little hand that appears when you mouse over a link? I would like to do it in HTML or CSS, but Java would be better than nothing.
Thanks in advance!
Does anyone know how I could overlap two images? I have a graphic on my site that is on another server and I want to hide part of it. I can't just save and edit the image because it is frequently updated. Thanks in advance.
I am using the following script to rotate my banner ads. When I click an ad a blank window comes up with "javascript:doLink2();" in the address bar, any suggestions? Thanks in advance.
///set image paths
src2 = ["images/ad1.jpg", "images/ad2.gif"...
I am new at javascript and was wondering if someone could explain this code to me.
<script>
function somecode( s ) { var sRet=""; for(j=0; j< s.length; j++ ){ var n= s.charCodeAt(j); if (n>=8364) {n = 128;} sRet += String.fromCharCode( n - 3 ); } return( sRet ); }
var sJsCmds...
Is there a way to refresh a frame from a different frame or the index? I have a frame that some links go to and I want to occasionally refresh the frame back to how it was when the page loaded. Thanks.
Is there a way to refresh a frame from a different frame or the index? I have a frame that some links go to and I want to occasionally refresh the frame back to how it was when the page loaded. Thanks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.