Jump to content

underparnv

Members
  • Posts

    30
  • Joined

  • Last visited

    Never

About underparnv

  • Birthday 08/17/1982

Contact Methods

  • Website URL
    http://tse.matrixcs.biz

Profile Information

  • Gender
    Not Telling
  • Location
    Reno, Nevada

underparnv's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Try this (note that it is "air code" ) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Untitled Document</title> </head> <body> <? mysql_connect("localhost","username","password"); mysql_select_db("database"); // these were changed to protect my username password and database $result=mysql_query("select * from traddb order by id asc"); $count = 1; echo "<table border=\"1\">"; while($row = mysql_fetch_assoc($result)) { if ($count == 1) { echo "<tr>"; } echo "<td>" . $row["id"] . "</td>"; if ($count == 4) { echo "</tr>"; $count = 0; } $count++; } echo "</table>"; ?> </body> </html>
  2. Thank you very much for this code. I do, however, have a request. How could you grab only the scores that are final?!?! Thanks again!!
  3. It is because you have a field named 'desc'. This is a MySQL reserved word. Either rename that field, or encapsulate your field with the back tick character...e.g.: $add="INSERT INTO clothing ( `name`, `desc`, `shortname`, `store`, `files`, `layers`, `gender`, `posespec`, `type`, `cost`, `spec`, `date` ) VALUES ( '$title', '$des', '$short', '$region', '$filenames', '$lay', '$gender', '$pose', '$type', '$price','$spe', '$entry_date' )"; Enjoy and happy new year!
  4. <input type="radio" name="whatever" checked="checked"> This is a checked Radio The same code (checked="checked") works for checkboxes as well. Hope that is what you are looking for...
  5. Hey businessman, I downloaded the two files you attached, however I can't seem to locate in either of those files a place that they would be merging multiple PDF files into one file. I'm afraid your explanation doesn't make any sense to me also, so I am a bit confused. Do you know of a working example somewhere that I could see? Thanks a ton, underparnv
  6. I have been on the hunt for a day and a half for a way to merge multiple PDF documents into one document using only PHP and not an installable application. Is this even possible? Thanks a ton, underparnv
  7. So I am attempting to create a Texas Hold'em game using AJAX, PHP and MySQL.  I have put together the MySQL table structure (found in the attached file) and am able to create the chat script with no problems.  My problem is that I don't know how to update the game screen for each person while the game is ongoing.  Such as when a new player sits down, how do I go about refreshing all players screens? Does that make sense?? How else can I explain this?  I guess I'm not good at typing out what I am trying to do, so please ask me questions that I can answer... Thanks in advance, underparnv [attachment deleted by admin]
  8. You could always use the [url=http://us2.php.net/manual/en/function.extract.php]extract function[/url] as well...though it isn't the most secure method... [code] <?php extract($_POST); ?> [/code] Now for every posted value, the name becomes your variable name.  For example, say you posted the following: [code] <input type="text" name="test" value="" /> [/code] You would then get a variable $test.
  9. [quote author=Daniel0 link=topic=102921.msg437405#msg437405 date=1158689308] Your form fields are too wide: [URL=http://img76.imageshack.us/my.php?image=screenshot11dl0.png][IMG]http://img76.imageshack.us/img76/3972/screenshot11dl0.th.png[/img][/URL] [/quote] What browser are you using there? I will check to see the width's there, but they show fine in FF 1.5.0.6 and IE 6.0.2800.1106........
  10. [quote author=Daniel0 link=topic=102921.msg437396#msg437396 date=1158688107] [quote author=underparnv link=topic=102921.msg436566#msg436566 date=1158592753] Also, how do you figure that users with lower screen resolutions can't see my site?  It looks perfect in 800x600...do I need to go any lower? [/quote] Well, on very low screen resolutions you can view it, but it is kind of annoying having to scroll to the side, so if you use percentages instead of pixels the layout will fit according to the user's screen resolution. [quote author=underparnv link=topic=102921.msg436566#msg436566 date=1158592753] What do you feel is missing on the "The Sporting Edge" portion of the second design? [/quote] I am not sure. A logo perhaps? [/quote] On the first design, I don't get a scroll on 800x600...do you? I know that on the second one there is a scroll, but according to my stats, only 1% of my visitors use 800x600 anyway...and you can still see all the content without scrolling left-right, so I'm not too worried about it... Logo?!?!  I am a DEVELOPER...not a designer!!  :P
  11. Hey steviewdr, Thanks for the feedback.  Yes, the contact form is still in development (as is a lot of things on the version2 site...).  The reason for the images being broken is that they are currently pointing to localhost...which I will get fixed  :D When you say there is a lot of stuff there, what should be taken away? Thanks!
  12. Just for the record, this is the design I would currently like reviewed (should I start a new thread?) http://thesportingedge.matrixcs.biz/version2/ Thanks!!
  13. [quote author=Daniel0 link=topic=102921.msg436381#msg436381 date=1158562546] 1) Make the username field as wide a the password field. 2) I don't like the button saying that it's valid XHTML Strict when it's not (it found 1 error when I validated it). 3) The same goes for the CSS (6 errors). 4) Use percentages instead of pixels. Users with low screen resolutions can't view it. [b]Edit:[/b] That was for the first layout. Layout two (the posted screenshot): It feels like there is something missing where it says "The Sporting Edge". [/quote] Hey Daniel0, On the first layout, the only reason the site doesn't validate (the one error) is because when PHP inserts the hidden session id field, it puts it in right after the opening form tag.  I am looking for a fix for this now...however, I wasn't aware of the CSS errors.  I will get those fixed. Also, how do you figure that users with lower screen resolutions can't see my site?  It looks perfect in 800x600...do I need to go any lower? What do you feel is missing on the "The Sporting Edge" portion of the second design? [quote author=steviewdr link=topic=102921.msg436426#msg436426 date=1158575051] I see you are using opacity in the footer!!  ;) Aint work in Opera. Seems ok apart from that. -steve [/quote] The opacity thing isn't all that exciting.  I just put it in there because it looks cool.  It is gone in the second design, which is the reason for the bump on this thread. Thanks!! underparnv
  14. Alright everyone.  Instead of trying to add in padding to the container, and re-doing the nav, I decided to start from scratch.  This is how it turned out: [url=http://thesportingedge.matrixcs.biz/tse20_screen.gif]http://thesportingedge.matrixcs.biz/tse20_screen.gif[/url] ([b]98.48 KB[/b]) This is another XHTML 1.0 Strict compliant design...and I am quite proud of it. I would love to hear your comments! Thanks. underparnv
  15. So I'm trying to put in my football image for the rollover on the navigation, and I've used this code in the CSS: [code]#nav ul li a:hover {     background: #798550 url(nav.jpg) no-repeat top; }[/code] Now...when viewing the site, the rollover is only the color, not the image. What gives?!  Is it because it's the a tag and not the li???
×
×
  • 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.