Jump to content

LazyJones

Members
  • Posts

    78
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

LazyJones's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I think the reason is that $_REQUEST[category] is lost when you move to next page. Add that in query parameter list
  2. simple answer: you cannot (you don't have to) use (declare) it in loop sequence. Just take it out of the while-loop
  3. There's no such things as "php-page". Only html pages parsed with php But, I'm pretty sure this would work: index.php#text1?lessonNr=1&chapterNr=1
  4. So many nifty solutions for this one, here's one http://www.tutorialized.com/tutorial/PHP-Random-String-Generator/13903 *couch*google*couch*
  5. $q =$_POST['q']; $r =$_POST['r']; if(!empty($q)) { echo "http://www.mysite.com/images/$q/1"; } if(!empty($r)) { echo "http://www.mysite.com/images/$r/1"; }
  6. min-function might work for you http://www.tizag.com/mysqlTutorial/mysqlmin.php that URL has a good example for your case
  7. Hello Server upload limit (and the place to change it) depends on server. Nothing you can do in code
  8. 1. That code doesn't (even try to) print anything. 2. There's one mysql_query() before the actual sql expression is created. (might lead to unexpected errors)
  9. strlen is a sufficient way of checking the length. To get rid of empty strings (like spaces or tabs), use trim
  10. how about this: ... for(var i=1; i < trs.length; i++) ...
  11. maybe src='' would work better
  12. variable in a database? you mean column name? maybe you should check the return value of mysql_query to see if it really fails, or just seems to fail and if it fails, check mysql_error()
  13. another reason I hate JavaScript, strange naming conventions also found a link that may help you in the future exploration http://www.comptechdoc.org/independent/web/cgi/javamanual/javastyle.html
×
×
  • 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.