";

it gives me the following error when i view the page:

Parse error: parse error, unexpected $ in getTransfer.php on line 82

Line 82 is my last lineof the page which is just closing the html tag. i've tried alsorts of combinations, from having ''s in $rows['a1'] to putting a ; in echo 'on loan'; and i just can't fathom it :( anyone able to put me out of my misery? pwetty please? :)

Source: http://community.livejournal.com/php_dev/64592.html

  • Name this website and win a prize!

    Date: 02/05/06 (Web Development)    Keywords: html

    http://mistermocha.livejournal.com/71467.html

    Source: http://community.livejournal.com/webdev/291749.html

  • Question. (duh)

    Date: 02/06/06 (HTML Help)    Keywords: html, web

    What's the HTML needed to change the area where your website, icon, info, &whatever else links are?
    I've seen pages before that have images there instead of the links &the icon.
    I actually did it to my Deadjournal, but now I can't remember how.
    Anyone know?

    Thanks in advance.

    Source: http://community.livejournal.com/htmlhelp/2251578.html

  • firefox and embedding an external program as an icon on the status bar

    Date: 02/06/06 (Computer Geeks)    Keywords: browser, html, web

    This question might require some coding skills why I posted it here. I listen to alot of music while browsing the web and find myself having to leave the browser constantly to change the volume. i know with foxytunes you can control it within the browser but that is just for the programs volume. For the xp volume you have to leave the browser(I have a terrible sound card so what I have to do) I found this program:http://glorysoft.omsk.ru/volumetray.html and it has made it alot easier for me but I still have to go to the taskbar to click it. Is there anyway I can embed that into firefox as a bookmark or toolbar? that would be perfect seeing i'd only have to click a button to raise the xp volume

    any help would be greatly appreciated

    *any other way, or programs to embed the xp volume control into firefox would also be appreciated...but just embedding that program would be perfect; either as a toolbar or bookmark but in the status bar preferably

    Source: http://community.livejournal.com/computergeeks/875475.html

  • Help with buttons?

    Date: 02/06/06 (PHP Community)    Keywords: php, html, java

    Hi all,

    This might incorporate some javascript too, but I'm not really sure so I'm going to ask it here anyway as I'd rather do the whole job with php if possible.

    I'm trying to make an HTML converting assistant for someone on our staff - something where she could just press one of a few buttons above a comment box on a page and insert a br tag or font tag etc into the comment box where the cursor is.

    How can I do this? I have a sneaking suspicion it's more js than php... either way, I can't figure it out.

    Thanks in advance!

    Source: http://community.livejournal.com/php/408360.html

  • Is this not valid?

    Date: 02/08/06 (PHP Community)    Keywords: html

    example that isn't valid html img tag:
    $_POST['body'] = preg_replace('/asdf/', '<1.gif>', $_POST['body']);
    This returns a blank result.

    I have other preg_replaces working just fine, so I'm assuming I just don't know what I am doing in regards to regular expressions (and I don't). So is this just not valid, or do I need to try to figure out other causes for this not working?

    Source: http://community.livejournal.com/php/409921.html

  • Image thumbnails

    Date: 02/08/06 (HTML Help)    Keywords: html

    Hmmm, I've checked around, but since my current computer doesn't like Livejournal and therefore doesn't show a lot of stuff, I may have missed something.

    I'm not sure how to phrase this, let me try:
    Is there any way to make a thumbnail of a picture that links to the picture without making a thumbnail?

    No, that's hard to understand.

    What I want to do is have a thumbnail of a picture, in which you click on the thumbnail to go to the full-sized picture, but is there any way/code/something that allows you to do this without making a thumbnail of each picture; like the thumbnail is just part of the code to preview the picture?

    I'm very sorry. I'm bad when it comes to both HTML and describing things.

    Source: http://community.livejournal.com/htmlhelp/2252853.html

  • page in page website fun

    Date: 02/09/06 (Computer Geeks)    Keywords: php, css, html, web, linux

    I'm setting up my website and what I'd like to do is have a page (news) that contains livejournal entries made by a blogger I like. The ideal is that going to this page will display his ljin the format of my own website (which is done in CSS). This is CS and html largely (php enabled). If anyone would like to check the source it's at www.anivair.com.

    Note: This is a brand new site. I haven't had any time to rewtire it or to do much but set up a generic prepackaged site with a few minor changes.

    Any suggestions as to the best way to do this? (note: my host is globeat and they're runing linux based servers if that is important).

    Source: http://community.livejournal.com/computergeeks/877045.html

  • developing websites...

    Date: 02/10/06 (Computer Help)    Keywords: html, web

    hi,

    just a few questions.

    I am doing a course in website development. Partly as practise and partly just for my amusement I have been thinking about registering a domain name. I know how tro make the pages and all that. But my question is how do i get these actually online once I have registered the website?. I know I could register with geocities or something and use their tools but I would rather have my own domain name. I have found several places that sell domain names, would these people advise me on how to get the pages online once they are made? I apologise if this is a stupid question. I have only made the HTML pages befor,e never actually put them on the good ole internet.

    x-posted and things like that.

    Source: http://community.livejournal.com/computer_help/585242.html

  • A few problems with my layout

    Date: 02/11/06 (HTML Help)    Keywords: html

    I like to think I'm fairly familiar with HTML and the like, but I've had trouble doing a few things and I'd appreciate it if anyone could help me out =)

    I've taken a screenshot so that it's easier to see what needs to be changed.



    anyone have any ideas?

    take a look at the overrides i am using here.



    x-posted to '[info]'layout_help

    Source: http://community.livejournal.com/htmlhelp/2255505.html

  • Lists

    Date: 02/12/06 (HTML Help)    Keywords: html

    How do you make a list in html WITHOUT numbers, or bullets beside them?

    Thanks

    Source: http://community.livejournal.com/htmlhelp/2255994.html

  • PHP require() problem

    Date: 02/12/06 (WebDesign)    Keywords: php, templates, html, apache

    I've decided to finally start learning PHP. I've been doing rather well, until I decided to chop up my template structure a bit more.

    Originally I had my directory structure like so:

    HTTPDEV
    ..bin
    ....js
    ..Data
    ..Templates
    ....footers
    ....headers
    ....mains
    ....navs
    ....images
    ....styles
    ....miscs

    I have my main page (proj1.php) in the HTTPDEV folder, with all of the other files down the hierarchy.

    I've added a bodies folder beneath Templates, and to put the code to include items from footers, headers, mains, navs, miscs, etc in it.

    This is the code in proj1.php under the bodies directory:

    ?php
    				echo "div id=\"header\">";
    
    				require('../headers/proj1.html');
    
    				echo"/div>";
    				echo"div id=\"container\">";
    				echo"div id=\"center\" class=\"column\">";
    				
    				require('../mains/proj1.html');
    
    				echo"";
    				echo"div id=\"left\" class=\"column\">";
    
    				require('../navs/proj1.html');
    
    				echo"/div>";
    				echo"div id=\"right\" class=\"column\">";
    				
    				require('../miscs/proj1.html');
    
    				echo"/div>";
    				echo"/div>";
    				echo"div id=\"footer\">";
    
    				require('../footers/proj1.html');
    
    				echo"/div>";
    ?
    

    But this gives me this error:

    Warning: main(../headers/proj1.html) [function.main]: failed to open stream: No such file or directory in J:\DevProj\HTTPDEV\Templates\bodies\proj1.php on line 4

    Fatal error: main() [function.require]: Failed opening required '../headers/proj1.html' (include_path='C:\Program Files\Apache Group\Apache2\modules\php\PEAR') in J:\DevProj\HTTPDEV\Templates\bodies\proj1.php on line 4


    My directory structure should be putting things where they belong... All I did was move the requires into another file to aid in modularity. It worked before when the requires were all require('Templates/......

    Source: http://community.livejournal.com/webdesign/1058584.html

  • CYW

    Date: 02/12/06 (WebDesign)    Keywords: html, web

    http://www.connectyourweb.com/

    Has anybody used these guys before? They seem fairly cheap and that's what I'm looking for at the moment.

    Specifically this page: http://www.connectyourweb.com/bargain.html

    Well, thanks all, if you can offer up some words and such.

    Source: http://community.livejournal.com/webdesign/1059121.html

  • CSS + IE

    Date: 02/13/06 (WebDesign)    Keywords: css, html, seo

    Oh IE, why do you hate me. From what I read, this is a common problem:

    This is a mouseover link, using CSS and such. I'm doing HTML Strict.

    Firefox:
    Image hosting by TinyPic


    IE:
    Image hosting by TinyPic

    Can you guys suggest a fix so the IE looks like the Firefox.

    The code:
    #nav {
    margin:0;
    padding:0;
    width:100%;
    text-align:center;
    font-variant:small-caps;
    font-size:18px;
    letter-spacing:2px;
    vertical-align: bottom;
    }
    #nav li {
    display:inline;
    padding:0;
    margin:0;
    }
    #nav a:link,
    #nav a:visited {
    color:#ddb;
    background:#467;
    padding:10px 10px 10px 10px;
    width:auto;
    text-decoration:none;
    }
    #nav a:hover {
    color:#fff;
    background:#355;
    }


    Thanks all.

    Source: http://community.livejournal.com/webdesign/1059403.html

  • Javascript help

    Date: 02/13/06 (Web Development)    Keywords: html, java

    I'm admittedly not that familiar with JavaScript but the form that I'm developing now needs me to use it as far as I can tell. I'm having some trouble though. The form is here: http://www.mccarthysparty.com/cda_registration2.html What I'm having trouble with is the first Category drop down. What should happen is when the user chooses a category, the prices should be automatically filled in to the appropriate text fields.



    var Categories[
    [230, 280, 330],
    [460, 540, 590],
    [185, 215, 255],
    [185, 215, 255],
    [185, 215, 255],
    [185, 215, 255],
    [185, 215, 255],
    [30, 75, 100],
    [65, 110, 150],
    [30, 75, 100],
    [30, 75, 100],
    [75, 120, 160]];


    function updateCat(id) {
    eval ("var sel=document.form1.cat" + id + ".selectedIndex");

    eval ("document.form1.fee" + id + "a.value = ''");
    eval ("document.form1.fee" + id + "b.value = ''");
    eval ("document.form1.fee" + id + "c.value = ''");

    if (sel >= 0){
    eval ("document.form1.fee"+id+"a.value = Categories[sel][0]");
    eval ("document.form1.fee"+id+"b.value = Categories[sel][1]");
    eval ("document.form1.fee"+id+"c.value = Categories[sel][2]");
    }

    }

    Nothing happens when I change the category pull down and I can't figure out why. I'm sure it's something small and stupid.

    Source: http://community.livejournal.com/webdev/295866.html

  • Customizing VS 2003.Net View

    Date: 02/14/06 (Asp Dot Net)    Keywords: html, asp

    I was wondering if there was a way to customize your view when you create ASP.Net pages where you can view the HTML Source and Design view both at the same time, like you can in Dreamweaver and Frontpage. I don't like having to switch back and forth between Design view and HTML view when I make changes. I didn't know if there was something built into VS or if there was an add-on that allowed this that anyone knew of. Thanks.

    Source: http://community.livejournal.com/aspdotnet/58348.html

  • *sigh*...can't get list to format right

    Date: 02/14/06 (HTML Help)    Keywords: css, html

    Hope someone will give me a hand with this entry in my journal. It's supposed to be a list with a few different levels, e.g., there'll be a list item, and then a few related sub-items underneath it. As you can tell, the page doesn't indent any of the list items - they're all left-justified (further to the left than the body text, which I also don't get). I've gone through a bunch of HTML reference guides and tried using text-to-HTML editors, etc, but I can't get the entry to look right.

    Is there something I should be doing with blockquotes? Is this a CSS thing...? Any help/advice will be rewarded with pathetic, supplicating gratitude.

    Source: http://community.livejournal.com/htmlhelp/2257591.html

  • Nested LEFT JOIN sql syntax?

    Date: 02/15/06 (MySQL Communtiy)    Keywords: mysql, html, sql

    Given the following schema, the following datasets are defined:

    A procedure is a collection of testcases, a plan_procedure is a collection of plan_testcases which reflect a temporal snapshot of a procedure collection.

    So my question is, given a procedure.id and plan_procedure.id, how do I show the differences between a procedure and a plan_procedure? i.e. show missing testcases from plan_testcases and vice versa? I have been studying the docs on LEFT JOINS and am having problems grokking this one.

    Schema follows:

    
    CREATE TABLE `procedures` (
      `id` int(10) unsigned NOT NULL auto_increment,
      `procedure_name` varchar(80) NOT NULL default '',
      PRIMARY KEY  (`id`),
      UNIQUE KEY `procedure_name` (`procedure_name`)
    );
    
    CREATE TABLE `testcases` (
      `id` int(10) unsigned NOT NULL auto_increment,
      `procedure_id` int(10) unsigned NOT NULL default '0',
      `procedure_steps` text NOT NULL,
      `expected_results` text NOT NULL,
      PRIMARY KEY  (`id`)
    );
    
    CREATE TABLE `plan_procedures` (
      `id` int(10) unsigned NOT NULL auto_increment,
      `procedure_id` int(10) unsigned NOT NULL default '0',
      PRIMARY KEY  (`id`)
    );
    
    CREATE TABLE `plan_testcases` (
      `id` int(10) unsigned NOT NULL auto_increment,
      `plan_procedure_id` int(10) unsigned NOT NULL default '0',
      `testcase_id` int(10) unsigned NOT NULL default '0',
      PRIMARY KEY  (`id`)
    );
    


    I am trying to follow the examples from http://dev.mysql.com/doc/refman/4.1/en/join.html, and not getting any traction. Lend a hand?

    Source: http://community.livejournal.com/mysql/85980.html

  • forms/feedback into a database...

    Date: 02/15/06 (HTML Help)    Keywords: browser, html, database, asp

    hey i was wondering if anyone might be able to point me in the right direction.

    heres the deal. im doing a contact/feedback form for a client. i have done it all in dreamweaver mx, using the forms. i have all that set up and if you click submit youll notice it should pop your email browser open and mail the data in the form to the client. actually i have not even had anyone test on a pc (im on a mac), so i wonder if it works.


    heres the link:
    http://www.btattersfielddesign.com/contact.html

    anyway, im looking for a way to get this data from the feed back form into a database, so when the visitor submits the form, the data get zapped into a program or server. i have heard of cgi and asp.net, but not sure how to handle this part.

    thanks for any tips.

    Source: http://community.livejournal.com/htmlhelp/2259008.html

  • Formmail

    Date: 02/16/06 (PHP Community)    Keywords: php, browser, html

    Hello all. I'm having some troubles with a formmail script and cannot get the help I need anywhere. I found this community and thought I'd give it a try. This is a script I have used several times before and have had no problems with it. For some reason, I cannot get it to work this time. I don't have a lot of knowledge about PHP, and this is a free script that I tried. I liked it because it worked, but now it's just frustrating me.


    This is the HTML form I set up:

    < form method="post" action="../php_uploads/comment.php">
    Name: < input type="text" name="name" size="30" maxlength="30" />
    Address: < input type="text" name="address" size="30" maxlength="30" />
    City: < input type="text" name="city" size="20" maxlength="20" /> State: < input type="text" name="state" size="10" maxlength="10" />
    Zip: < input type="text" name="zip" size="15" maxlength="15" />
    Phone: < input type="text" name="phone" size="20" maxlength="20" />
    Email: < input type="text" name="email" size="30" maxlength="30" />
    Comments: < textarea name="comments" rows="5" cols="30">
    < input name="submit" type="submit" value="Submit Comments">
    < input name="reset" type="reset" value="Clear Comments">

    This is my formmail code:

    $recipient = 'brandi @ wikedawsum.com';
    $subject = 'Perfect Pools - Comments Form';
    $form_url = 'http://perfectpools.wikedawsum.com/pages/contact.html';

    $msg = "---------------\n";
    $msg .= "$subject\n";
    $msg .= "---------------\n\n";
    $msg .= "Name: $_POST[name]\n";
    $msg .= "Address: $_POST[address]\n";
    $msg .= "City: $_POST[city]\n";
    $msg .= "State: $_POST[state]\n";
    $msg .= "Zip: $_POST[zip]\n";
    $msg .= "Phone: $_POST[phone]\n";
    $msg .= "Email: $_POST[email]\n";
    $msg .= "Comments: $_POST[comments]\n";

    $error_required = '< p>It appears you forgot to enter either your name, your phone number or your email address. Please press the BACK button in your browser and try again.< /p>'; <- This is the error msg I keep getting.

    $error_email = '< p>Oops, it appears that the email address you filled in is not a valid one. Please press the back button on your browser and try again. Please check carefully that you filled in all information in the right fields!< /p>';

    $success_message = '< p>Your form has been sent. We will contact you in the next few business days regarding your inquiries. Thank you.< /p>';

    if ($header ==""){
    $use_headers ='0';
    $header = '';
    } else {$use_headers ='1';}
    if ($footer ==""){
    $use_footers ='0';
    $footer = '< div align="center">< a href="http://codegrrl.com/" target="_blank">Powered by NL-PHPMail< /a>< /div>< /body>< /html>';
    } else {$use_footers ='1';}

    function is_valid_email ($address) {
    return (preg_match(
    '/^[-!#$%&\'*+\\.\/0-9=?A-Z^_`{|}~]+'.
    '@'.
    '([-0-9A-Z]+\.)+' .
    '([0-9A-Z]){2,4}$/i',
    trim($address)));
    }
    function is_valid_email_eregi ($address) {
    return (eregi(
    '^[-!#$%&\'*+\\./0-9=?A-Z^_`{|}~]+'.
    '@'.
    '([-0-9A-Z]+\.)+' .
    '([0-9A-Z]){2,4}$',
    trim($address)));
    }

    if (!isset($req1) || !isset($req2) || !isset($req3)) {
    header( "Location: $form_url" ); }

    elseif (empty($req1) || empty($req2) || empty($req3)) {

    if ($use_headers =="0"){
    echo "$header";
    } else { include ("$header"); }
    ?>
    < h2>Error< /h2>
    < ?=$error_required?>


    < ?
    if ($use_footers =="0"){
    echo "$footer";
    } else { include ("$footer"); }
    }
    else {

    $f_email = $_POST[email];
    $f_email = strtolower(trim($f_email));
    if (is_valid_email($f_email)) {
    $msg .= "\n\n---------------\n";
    $msg .= "NL-PHPMail v1.5 - http://codegrrl.com/\n";
    $msg .= "---------------\n\n";

    $mailheaders = "MIME-Version: 1.0 \n";
    $mailheaders .= "Content-type: text/plain; charset=iso-8859-1 \n";
    $mailheaders .= "From: \"$_POST[email]\" <$_POST[email]> \n";
    $mailheaders .= "Reply-To: \"$_POST[email]\" <$_POST[email]> \n";
    $mailheaders .= "X-Priority: 3 \n";
    $mailheaders .= "X-MSMail-Priority: High \n";
    $mailheaders .= "X-Mailer: PHP4";

    mail($recipient, $subject, $msg, $mailheaders);

    if ($use_headers =="0"){
    echo "$header";
    } else { include ("$header"); }
    ?>
    < h2>Thank You, < /h2>
    < ?=$success_message?>

    < ?
    if ($use_footers =="0"){
    echo "$footer";
    } else { include ("$footer"); }
    } else {
    if ($use_headers =="0"){
    echo "$header";
    } else { include ("$header"); }
    ?>
    < h2>Error< /h2>
    < ?=$error_email?>
    < ?
    if ($use_footers =="0"){
    echo "$footer";
    } else { include ("$footer"); }

    My problem is that everytime I hit the submit button I get my $error_required message (which I bolded up there). I've tried rewriting the script and the form, but nothing seems to work. I'm running out of ideas and am starting to get frustrated. Maybe a new pair of eyes will help?

    I apologize for the code being so long. I just wanted to make sure I didn't miss anything. Thanks in advance for any help you guys can provide. I'm also open to suggestions on any other ways to do this more efficiently. I'm sure you guys know a lot more about this than I do. Thanks again!

    Source: http://community.livejournal.com/php/415280.html

    1. code help

      Date: 02/04/06 (PHP Development)    Keywords: php, html

      hi everyone,

      i was hoping someone could point out an error for me in my line of code below:

      print "

    $rows[a1]; if (trim($rows[a1loan]) != 0 ) {echo 'on loan'} $rows[b1]
    Previous page  ||  Next page


    antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home