Jump to content

AyKay47

Members
  • Posts

    3,281
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by AyKay47

  1. var value = $(this).parent().get(0).id.substring(3) my money would put your error in this line.. depending on your DOM, this might not being doing what you expect it to be doing..also, I 've heard of some known errors when using the id method.. can you please post the relevant DOM code that goes along with your js code.
  2. if the rows are being created dynamically.. it is advisable to use a class here, unless you need each row for some reason.. then use unique id's
  3. bottom line, check your brackets, make sure they line up with the correct beginning bracket.. is this all supposed to be a function? i'm assuming that you want to end your function after your return statement..?
  4. you have .handle specified as the sortable handle... where is the element with a class of handle in your code?
  5. post the relevant code
  6. using the code i provided.. show me line 10.
  7. your error is on line 10.. show us line 10
  8. where is line ten
  9. besides the fact that $row['MapLocation'] is not outputing?
  10. for($a = 1; $a <= 26; $a++){ if($a == 1) echo $a ."<br />"; if($a == 2 || $ == 3) echo $a; if($a == 4) echo $a ."<br />"; } concatenation error.. it will work
  11. you can condense that into one for loop with if conditionals.. for($a=1; $a <= 26; $a++){ if($a == 1) echo $a ."<br />".; if($a == 2 || $ == 3) echo $a; if($a == 4) echo $a ."<br />".; } won't get an award on its looks... but will use one for loop instead of 9
  12. insert the correct column names that you want to grab where i put "column"
  13. look into using GD functions with PHP to create thumbnails of the file..
  14. use a foreach() loop to iterate through the values of the array
  15. mysql_query("SELECT column FROM table WHERE MATCH('column1','column2','column3','column4') AGAINST ('keyword')"); http://dev.mysql.com/doc/refman/5.5/en/fulltext-search.html
  16. im assuming that your DOCTYPE is "Strict"? change it to "transitional". might also take a quick glance at this.. http://www.w3.org/QA/Tips/Doctype
  17. I find that passing a PHP variable to a jquery function via an argument seems to be the best method.. $something = "text"; <form onsubmit='handleForm("<?php echo $something; ?>");'> then grab it like this.. function handleForm(something){ document.write(something); }
  18. the mdn documentation is always a good place to start..
  19. I do not understand your explanation. Can you please expand and be a little more clear on what exactly it is that you are trying to do here..
  20. you will want to use a loop for this, probably a while loop. Do not set your directory permissions to 777, this will lead to insecurities.. the highest you should ever need to go is 755, which will give only the owner write permission, and everyone else read/execute permissions..
  21. yeah, I'm getting the feeling that this is a path issue.. make sure the target path from your page directory exists before execution..
  22. what do you mean "hidden variable"?
  23. is there an "images" directory in the "insert" directory? as opposed to the "image" directory
  24. Believe me... I've had those days too.
  25. shouldn't $rowRecordset1['moisture'] ==1 be $row_Recordset1['moisture'] ==1 instead? I believe that you forgot the underscore in your final two uses of the query record set
×
×
  • 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.