Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=330080.0
  2. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=330076.0
  3. ^I agree with this. Also, like mentioned before, "Gedoo" would be harder to pronounce.
  4. Pascal will teach you some basic concepts and fundamentals to programming. I don't think learning any language could be detrimental, but there are other languages I certainly would rather spend my time on.
  5. Maq

    preg_match error

    ^ Showoff...
  6. Whatever value is after the equals sign is exactly what you're going to get. file_image=http://domainB.com/image.jpg Either pass in the correct value, or use some string functions to extract it.
  7. Well you don't output anything, try: {while ($array = mysql_fetch_array($result)) $results_counter++; echo $array['name']; if ($results_counter >= $number_of_results);}
  8. Yes of course you can do it. Have you tried? You would do a simple select statement from the table that contains the information. Have a look at: mysql_query mysql_fetch_assoc
  9. This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=329803.0
  10. Maq

    preg_match error

    Wow that did the trick! To my understanding, the ^ means beginning of a string. But I guess in some context it's not, lol. Thanks a lot man! Yes it does, when it's not in the brackets. I'm not sure of the technical terms, but here is a good tutorial: http://www.phpfreaks.com/tutorial/regular-expressions-part1---basic-syntax
  11. Maq

    preg_match error

    Try adding '^'. Which basically means, not: '([^a-zA-Z0-9._ -]+)'
  12. Maq

    preg_match error

    Sorry, I'm not sure why, probably because '-' implies range, but you need to put that character at the end of your pattern: '([a-zA-Z0-9._ -]+)'
  13. Maq

    preg_match error

    I'm pretty sure you're missing delimiters around your expression.
  14. You're escaping a single quote, you can't do that. $Auto_Lia = "1"\'""; } else { $Auto_Lia = "0"\'""; I think you want: $Auto_Lia = "1"; } else { $Auto_Lia = "0";
  15. AFAIK, tables should be used for tabular data only.
  16. That's a lot of code, and very confusing. Have you done anything to isolate the problem?
  17. Also, 'match' is a MySQL reserved word. You either need to change your column name, along with your queries OR put backtics `match` around it in all your queries. This seems to be a MySQL question, moving.
  18. The closest thing would be to click on "Show unread posts since last visit." then sort by the "Replies" tab.
  19. Hi mipetala, I'm sure you found this thread through a search but it's from Sept. 2008. It would be better if you started a new thread with your specific problem.
  20. You do it from the command line but NOT while you're in the MySQL prompt.
  21. Heh, no problem. Happens a lot actually.
  22. Maq

    Hi All

    Hi and welcome to PHPFreaks.
  23. Can you post the certificate_info.php, there may be something in there that redirects you to that page.
  24. Looks like you're missing the terminating '}' for this while loop: while($giresult = mysql_fetch_array($list)) { Missing the terminating ')' for this line: echo ("</pre> <form enctype="multipart/form-data " method="post" action="'giftupdate.php'">< Also the terminating ?> for the previous <?php tag. To view all the errors add these 2 lines in directly after your opening <?php tag: ini_set ("display_errors", "1"); error_reporting(E_ALL);
×
×
  • 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.