Jump to content

cmgmyr

Members
  • Posts

    1,278
  • Joined

  • Last visited

    Never

Everything posted by cmgmyr

  1. I like using cookies better. But if you use both...thats the best. -Chris
  2. It's probably not the php, it's probably your html or css. Can you post some code that you have? -Chris
  3. [code]if(isset($_POST['submit']) && !empty($_POST['title']) && !empty($_POST['post'])) { global $fid; $title = $_POST['title']; $post = $_POST['post']; $date = date('m-d-Y'); $query = "INSERT INTO topics (`id`, `fid`, `title`, `post`, `poster`, `date`) VALUES ('', '$FID', '$title', '$post', 'Guest', '$date')"; $result = mysql_query($query) or die(mysql_error());[/code]
  4. try global $fid; instead of your request that might get it
  5. glad we could help you out! -Chris
  6. one thing that you can do is change the id's to show alfa order. (change the first one that is supposed to be the first alphabetically to 1, the second to 2) It might take a while, I would try re-thinking your database. -Chris
  7. [code=php:0]// Query for($i = 1; $i <= $num_players; $i++) { $to_update = $_POST['p_'.$i]; $fid = $_POST['fantasy_id']; $sql = "UPDATE fantasynascar SET p_".$i." = $to_update           WHERE fantasy_id = $fid"; }[/code] or [code=php:0]// Query for($i = 1; $i <= $num_players; $i++) { $to_update = $_POST['p_'.$i]; $fid = $_POST['fantasy_id']; $sql = "UPDATE fantasynascar SET p_$i = $to_update           WHERE fantasy_id = $fid"; }[/code]
  8. try this and see what happens [code=php:0]// Query for($i = 1; $i <= $num_players; $i++) { $sql = "UPDATE fantasynascar SET p_" . $i . "= ".$_POST[."p_" . $i . ]."           WHERE fantasy_id = ".$_POST[fantasy_id].""; }[/code]
  9. I guess if you really wanted to, you can make a flat file database to store some user data like level. if level = 1 (admin) then you can see the form. -Chris
  10. Did you open it up THOUGH the browser or just double clicked it in the folder that it was in?
  11. You will need to set up apache and php on your pc. If you don't do that, it will just treat php as a download. A great all-in-one package is xampp. -Chris
  12. You can do this easily with ajax. Do a search in google for ajax contact form and you should get some examples. -Chris
  13. What I uaually do is export the newer database, clear out the old one and import the newer on in the older one, so now they are both the same. It's kind of a pain...but it works and I haven't had any problems doing that. Unfortunately there is no "sync" button for MySQL. -Chris
  14. I have 1and1 and a few other hosts and I don't have any problems. What exactly is wrong?
  15. As I mentioned before guru.com is a great site. That is probably the safest and best places to go. I'm also on scriptlance.com which is kinda the same thing, but most of the people on there are going for the low ball bids, and I haven't gotten any work from there. elance.com is another good on like guru. Some more good sdvice: - Make sure you have a good online portfolio - Make sure you bid on projects you know you can complete fully (don't make promises you can't keep) - Quote fairly, don't go too high but don't go low enough where it's not worth it for you. - Have "projects" on your website. Lots of people want to see e-commerce, dating, or just plain brochure sites. If you don't have some or any of these make up a mock site so people can see what you are capable of even though you don't actually have it in your portfolio. -Chris
  16. [quote]that's the kind of client i'm willing to put other things on hold for[/quote] Yeah, I have a couple clients like that and it is really refreshing. Why can't all of them be like that? HA
  17. Well 1/3 is good too. Just don't start for nothing (even though I do sometimes...but I kick myself everytime I do it BUT it's better then letting the client walk)
  18. Well, I have had a couple clients like that before. And there is really nothing that you can do in the mean time, just remember for the next. Always get half up front no matter what. Only do the work that they have already paid for, if you do more, if something goes wrong, your fault...you are out the money and time. Always remember, you are the professional...YOU are supposed to be in charge, if you aren't, you are going to get screwed over. Finding your own way to be in charge might be hard starting off...but worth while. and just a little side note for others - never upload to their server until the project is complete and you have been paid. No Excuses! I know that might sound obvious but you never know... obsidian: just hang in there and keep talking to them, stating that you have done whatever amount of work and you ned to get paid if the project is complete or not...that is their fault for not following though. freelancers - you always want to be a step ahead, if the project falls apart you want to stay on top. If they cancel the project you don't want to be begging for money, you want them to have lost out on the deal. YOU are the professional...stay that way...in charge of YOUR business. A good site to go and sign up on is guru.com there are ways to protect both the professional and the client including escrows and project ageements. So if anything happens outside of what is listed in the agreement guru.com goes after them. This is a great site and i have gotten a lot of work from it. Hope this helped let me know if anyone has any questions about anything. -Chris
  19. cmgmyr

    WIP

    yes, they fully load for me.
  20. cmgmyr

    WIP

    Hey, much better, only 15% at most on 3ghz P 4
  21. An easy way to do this would be to install phpMyAdmin, all you have to do is select your database, click extract and boom! you are done. You can also make the scripts yourself if you want to. -Chris
  22. you can also make a script to do it for you if you wanna be really tricky ;-)
×
×
  • 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.