I am trying to upload files onto my ftp server but I don't have a clue as to what is wrong with my code.
<?php
$path="C:\Documents and Settings\Blah Blah\My Documents\files\txt\LI.txt";
$remote="1.txt";
$ftp_server='ftp.example.com';//address for the ftp server...
Please forgive me, for I am a major noob. I have a table whose height is set to auto because the content is dynamic. But if height gets too large other tables start to move. Is there any way to determine the value assigned by the browser for the table. I already tried using the...
This is the error I get:
Parse error: parse error, unexpected $ in /home/gardensm/public_html/create.php on line 232
Line 232 is the last line of the page. I know the problem has something to do with the function maincontent($id) because when I remove it, the site works fine.
The evil...
I've been trying to put html in php by using the heredoc syntax. I all I get is a parse error. I am running PHP 4.
This is th code:
echo <<<END
<font size="3" face="Verdana, Arial, Helvetica, sans-serif"><a href="mail.php">Mail</a>
.:. <a href="messages.php">Messages</a> .:. <a...
Oh, man you were right. Thanks you so much. The problem was that my variable wasn't filling with the data from my MySql table. Saved me a great deal of frustration.
It is a blank square with a x in it. When I view the source I get this:
<img src="" width="34" height="32">
The path is fine, unless my database tables are messed up, but I checked that already.
It is echo, and the path is /public_html/images/usericons/admin.jpg.
As for the whole code snippet:
echo"<table width=\"532\" height=\"200\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"$tablename\">"
. " <tr> "
. " <td...
I am having trouble to display generate HTML using PHP. Most of it is ok, but when I try to display a image with the image source as variable, it doesn't work out so well. I believe it is a syntax error. Here is the code:
<img src=\"$authoriconp\" width=\"34\" height=\"32\">
$authoriconp is a...
Sorry, I am a bit of a noob, so bear with me. I am using php-nuke to run a website and for some reason I cannot get images to display on my content pages. I tried using html tags and php code but nothing seems to work. Any suggestions will be appreciated, thank you.
Why do it in Flash? You just try the simple marquee & /marquee tags in hmtl and use a little javascript to make it dynamic. It is as simple as that, Flash is overkill. Or if you insist on Flash then you could make a input text field, set a variable to that, create a dynamic text box, have the...
Just create a dyanamic text box, set the keyframes to your desired interval, and change the text in the text box for each keyframe. Flash is pretty much overkill for what you are doing, why don't you try Adobe ImageReady? It comes with Photoshop.
I have been using the for loop statement to create a loop and I would like to display the values generated by the loop statement in a text box.
port=0
do {
port=port+1
change.text=port
} while (port<9999);
"Change" is a dynamic text box. All I keep getting is the end result, which is 9999...
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.