Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. Usability standards say to put navigation top/left, never right.
  2. Yeah, I'm getting the Zend PHP Cert just to do it for myself. Plus it's practically the cheapest certification you can get. My husband is studying for one which will cost him several thousand dollars. If I can spend $200 to prove to myself I could do it, that's good for me
  3. <input type="submit" name="submit" value="1"> <?php if(isset($_POST['submit'])){ print $_POST['submit']; } ?> You can process the value of a submit button.
  4. No, winner is a genre, 1-8. Normally I would have done it the way you guys are suggesting, I was just thinking this time that it might be easier this way. roopurt - I see what you mean, it makes sense for the first time when there's only 5 groups, but then they keep getting added and added. Thanks guys, I'll change it now.
  5. I have a table which needs to store "points" for 8 groups. It gets a new entry weekly, but the points are updated many times daily. There may be more groups added in the future, but I would know about it first, and have the change to add a new column to the table. This is how it currently looks: CREATE TABLE `weeklyPoints` ( `weekID` int(10) unsigned NOT NULL auto_increment, `start` int(11) NOT NULL default '0', `end` int(11) NOT NULL default '0', `winner` int(11) NOT NULL default '0', `genre_1` int(11) NOT NULL default '0', `genre_2` int(11) NOT NULL default '0', `genre_3` int(11) NOT NULL default '0', `genre_4` int(11) NOT NULL default '0', `genre_5` int(11) NOT NULL default '0', `genre_6` int(11) NOT NULL default '0', `genre_7` int(11) NOT NULL default '0', `genre_8` int(11) NOT NULL default '0', PRIMARY KEY (`weekID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; I was trying to decide between that, or adding yet another table to store just genreID and points, so that when I add a new genre I don't have to update the table. Not sure if it's reasonable, or worth it. Thoughts?
  6. After every mysql_query() add an or die() $result = mysql_query($sql) OR die('sql: '.$sql.' - Error: '.mysql_error());
  7. That would work if you didn't want any foreground :-P
  8. You can't have a flash file as a background image. You'll need to put the flash file on the actual html.
  9. You cannot embed a flash file in a gif, so you will need to change the headers.
  10. You'll have the best luck hiring someone to do this.
  11. As long as you have proper index set up on that table, it doesn't seem that bad.
  12. You're right, unless the PDF has special properties, you'd need to use OCR software.
  13. Take the error surpressing off and you might see why. php.net/@
  14. As long as they're not transferring anything from one account to the other, you don't even really need to ask them. I mean, if it's two people playing and they don't help each other, that's fine, right? If it's one person, and they just want to play so much that they want two seperate accounts, who cares?
  15. The best thing to do is to fix them, but you can change your error_reporting.
  16. $chance = rand(1,100); if($chance > 63){ $x = $x+1; }
  17. Guild Wars IS f-ing sweet. Plus it's free online play for life.
  18. So you don't want people who live in the same household, work together, attend university together to be able to join?
  19. That part is handled by PHP. You tell it the name of the function to use, the function which has to accept two arguments to compare. That way you can compare them however you want. You don't have to use srtcmp, you just have to make it return the same way stcmp does.
  20. ...FROM week ORDER BY jim, bob, bill';
  21. Can you show us the existing query?
  22. You're the one who posted that, and you said it didn't work...
  23. $_POST['quantity_'.$My_Variable] That is perfectly valid, as long as $My_Variable is 1, 2, 3, etc.
  24. You can have the word email be a link, but if you want it to be a link which sends email via php, you need to use mail(). If you just want it to be an html email link that is just <a href="mailto:address@domain.com">Email</a>
×
×
  • 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.