Jump to content

neylitalo

Staff Alumni
  • Posts

    1,853
  • Joined

  • Last visited

    Never

Everything posted by neylitalo

  1. SA, are you sure you're not thinking about PHP Designer 2005? James: PHP Designer 2005 is currently my IDE of choice, as well. Click here for a free download. And unless you can really afford Dreamweaver, I don't suggest you buy it. It doesn't really have anything that makes it stand out from any of the others.
  2. hmm... I guess I'm just out of the loop then. How about the use of 20 identical <p> tags? What happened to the use of CSS? And in the cases where CSS is used, it's a class='MsoNormal'. What could Mso stand for? MS Office, possibly? Since when do you use a class and a style attribute in the same element? When has the use of "line-height: 100%;" started? Isn't it a bit useless? What is the tag <o:p>? And who's heard of the font "Aurora BdCn BT" or "Americana XBdCn BT"? What version of CSS has the attribute mso-spacerun or mso-bidi-font-style? Sorry, james, There is no way you're going to get rid of the "FrontPage signature". And if you do, you've rewritten the site completely.
  3. I'm terribly sorry - no, I don't. Wow, I feel dumb. I apologize. EDIT: I've since subscribed to the email notifications - hopefully this prevents any more screwups. Sorry again.
  4. Remember when Ober asked everybody what they thought of a new SQL board? Remember when I said that we were thinking about it? Remember when I said that all that had to happen was Eric's approval? Well, we now have an SQL/Database board! All database related posts can now be directed towards the database forum. I think some thanks are in order - and I'm not sure what kind of order they should be in, but thanks go to Ober for starting the fire, and to Eric for getting it set up for us. Three cheers! EDIT: and I think there's also a new Webserver board/forum/whatever. But I'm not sure. Confirm/negate? And I'm going to kick myself and move this to the correct forum at the same time. :X
  5. I'm not much of a console gamer - PC for me. BUT, if I were to be a console gamer, what I've heard of the XBox 360 is pretty impressive - impressive enough for me to ALMOST consider shelling out the cash. But not quite. I'm going to stick with computer games - you can upgrade your hardware, you can do WAY more stuff on a computer, and I'm leaps and bounds better with WASD and a mouse than a console controller
  6. Oh, at first I thought you wanted to AUTOMATICALLY have a link to your last unsolved topic placed in your sig... that would probably be a pain to implement, and some people might not want the extra baggage in their sig. If you want to be dedicated enough to change it when your topic gets solved, and replace it when you get a new problem unsolved, I have no problem with it at all. Just don't forget to remove a link to a solved topic - people might get kinda upset if you have "Please help me - I have a problem in [this topic]" and then they follow the link and it turns out to be solved. Go for it.
  7. Neal Ylitalo, 17 going on 18 in December. Started learning PHP/MySQL about a year ago, and don't plan on quitting anytime soon!
  8. I must say my favorite PHP Editor is now Quanta. (for Linux only... sorry, windows users!) It allows you to collapse if(), foreach(), while(), etc. in PHP, <form>, <table>, <div> etc. in HTML - allows for a lot cleaner environment. It's got support for PHP, HTML, JavaScript, and probably more that I don't even use. It automagically detects which language you're using - so if you've got PHP mixed with HTML, then it will let you collapse the <div>s and the PHP for() blocks, for example. It does syntax highlighting and gives you the syntax for a function's arguments after you get the function in place. Linux users, check it out - http://quanta.sourceforge.net
  9. I don't believe Dreamweaver knows how to run PHP code - and therefore will do nothing with it. If you want to see what it's going to look like, you're going to have to run it through the PHP executable (php.exe) somehow, but I'm afraid I don't know the specifics of doing that.
  10. All you would really do to insert more than one record is just build more than one query, and run all of them. Example: [!--PHP-Head--][div class=\'phptop\']PHP[/div][div class=\'phpmain\'][!--PHP-EHead--][span style=\"color:#0000BB\"]<?php $name [/span][span style=\"color:#007700\"]= [/span][span style=\"color:#DD0000\"]\"Bob Jones\"[/span][span style=\"color:#007700\"]; [/span][span style=\"color:#0000BB\"]$phone [/span][span style=\"color:#007700\"]= [/span][span style=\"color:#DD0000\"]\"123-4567\"[/span][span style=\"color:#007700\"]; [/span][span style=\"color:#0000BB\"]$email [/span][span style=\"color:#007700\"]= [/span][span style=\"color:#DD0000\"]\"bob@email.com\"[/span][span style=\"color:#007700\"]; [/span][span style=\"color:#0000BB\"]$query1 [/span][span style=\"color:#007700\"]= [/span][span style=\"color:#DD0000\"]\"INSERT INTO people(\"[/span][span style=\"color:#0000BB\"]name[/span][span style=\"color:#DD0000\"]\", \"[/span][span style=\"color:#0000BB\"]phone[/span][span style=\"color:#DD0000\"]\", \"[/span][span style=\"color:#0000BB\"]email[/span][span style=\"color:#DD0000\"]\") VALUES(\\"[/span][span style=\"color:#0000BB\"]$name[/span][span style=\"color:#007700\"]&[/span][span style=\"color:#FF8000\"]#092;\", \\"$phone\\", \\"$email\\")\"; [/span][span style=\"color:#0000BB\"]mysql_query[/span][span style=\"color:#007700\"]([/span][span style=\"color:#0000BB\"]$query1[/span][span style=\"color:#007700\"]); [/span][span style=\"color:#0000BB\"]$name [/span][span style=\"color:#007700\"]= [/span][span style=\"color:#DD0000\"]\"John Smith\"[/span][span style=\"color:#007700\"]; [/span][span style=\"color:#0000BB\"]$phone [/span][span style=\"color:#007700\"]= [/span][span style=\"color:#DD0000\"]\"555-7890\"[/span][span style=\"color:#007700\"]; [/span][span style=\"color:#0000BB\"]$email [/span][span style=\"color:#007700\"]= [/span][span style=\"color:#DD0000\"]\"john@email.com\"[/span][span style=\"color:#007700\"]; [/span][span style=\"color:#0000BB\"]$query2 [/span][span style=\"color:#007700\"]= [/span][span style=\"color:#DD0000\"]\"INSERT INTO people(\"[/span][span style=\"color:#0000BB\"]name[/span][span style=\"color:#DD0000\"]\", \"[/span][span style=\"color:#0000BB\"]phone[/span][span style=\"color:#DD0000\"]\", \"[/span][span style=\"color:#0000BB\"]email[/span][span style=\"color:#DD0000\"]\") VALUES(\\"[/span][span style=\"color:#0000BB\"]$name[/span][span style=\"color:#007700\"]&[/span][span style=\"color:#FF8000\"]#092;\", \\"$phone\\", \\"$email\\")\"; [/span][span style=\"color:#0000BB\"]mysql_query[/span][span style=\"color:#007700\"]([/span][span style=\"color:#0000BB\"]$query[/span][span style=\"color:#007700\"]); [/span][span style=\"color:#0000BB\"]?>[/span] [/span][!--PHP-Foot--][/div][!--PHP-EFoot--] This adds those two entries to the database... just keep going, assembling queries (or however you do it), and running them with mysql_query();
  11. use $_GET variables... let's see if I understand... you have a user named joeBob. his email is joeBob@gmail.com, and you want someone to be able to send him an email. this is the part I (possibly) am confused about. the appended part would look like ?joeBob=&joeBob%40gmail.com ??? if that is the case, I would suggest you have it append ?user=joeBob&email=joeBob%40gmail.com and then get the values by using $_GET['user'] (returns joeBob) and $_GET['email'] (returns joeBob%40gmail.com) neylitalo
  12. Wow... I think I've just found a new price comparison site... Thanks! neylitalo
  13. One thing that I noticed: <a href="$web"></a> should be: echo("<a href=\"$web\">$web</a>"); I don't know if you just left the echo out or what, but that line should work... with $web being www.example.com: output is <a href="www.example.com">www.example.com</a> neylitalo
  14. Why in the world would you want to use FrontPage? You get way more control over your site if you hand-code, and if something breaks, you don't have to deal with all of the goofy things FP uses... also, if you make a site in FP, everybody who looks at it knows right away that it was made in FP... it just looks so canned. WYSIWYG is the worst way to go, in my humble opinion...
  15. Nobody knows about www.pricegrabber.com? It's the only one I use...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.