Jump to content

czambran

Staff Alumni
  • Posts

    52
  • Joined

  • Last visited

    Never

About czambran

  • Birthday 03/11/1981

Profile Information

  • Gender
    Not Telling
  • Location
    Fairfield,IA

czambran's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. WHen are u assigning a value to the variable $rows? Are you sure one of the username is not just a blank?
  2. make sure the following line is returning an object: $result = $dbi->query($statement);
  3. The following two links have the answers: http://php.net/manual/en/language.types.string.php http://us3.php.net/manual/en/function.echo.php
  4. The best introduction tutorial I have seen is the one from apple. http://developer.apple.com/internet/webcon...xmlhttpreq.html
  5. And probably the most important thing, you better know how to use XMLHTTP.
  6. oops I made a mistake on my previous post. I have corrected it please try it again.
  7. change: $sqlstring = "INSERT INTO journal(desc) VALUES('$desc')"; to $sqlstring = "INSERT INTO journal (`ID`,`desc`) VALUES('','$desc')";
  8. change: $sql9 = mysql_query("INSERT INTO journal(desc) VALUES('$desc')")or die(mysql_error()); to $sqlstring = "INSERT INTO journal(desc) VALUES('$desc')"; $sql9 = mysql_query($sqlstring)or die(mysql_error() . " in the query $sqlstring"); and post back your new error message.
  9. change: $result = mysql_query($sql); to $result = mysql_query($sql) or die(mysql_error()); and post back the error message u get.
  10. Why not take child and childinfo tables and merge into one? What of version of mysql are u using? If u r using mysql 4.1 or higher you can use subqueries otherwise I think u will have to do 2 queries.
  11. I don't think there are any character limitations.
  12. Here is another problem with the php tag [!--PHP-Head--][div class=\'phptop\']PHP[/div][div class=\'phpmain\'][!--PHP-EHead--] [span style=\"color:#0000BB\"]<?php [/span][span style=\"color:#007700\"]if(!empty([/span][span style=\"color:#0000BB\"]$_POST[/span][span style=\"color:#007700\"])) { echo [/span][span style=\"color:#DD0000\"]\'BLAH\'[/span][span style=\"color:#007700\"]; } if([/span][span style=\"color:#0000BB\"]$bye [/span][span style=\"color:#007700\"]!= [/span][span style=\"color:#0000BB\"]$hello [/span][span style=\"color:#007700\"]&& [/span][span style=\"color:#0000BB\"]$hello [/span][span style=\"color:#007700\"]!= [/span][span style=\"color:#0000BB\"]$bye[/span][span style=\"color:#007700\"]) { echo [/span][span style=\"color:#DD0000\"]\"\\"[/span][span style=\"color:#0000BB\"]Hello World [/span][span style=\"color:#007700\"]&[/span][span style=\"color:#FF8000\"]#092;\"\"; [/span][span style=\"color:#007700\"]} [/span][span style=\"color:#0000BB\"]?>[/span] [/span][!--PHP-Foot--][/div][!--PHP-EFoot--] <?php if(!empty($_POST)) { echo 'BLAH'; } if($bye != $hello && $hello != $bye) { echo "\"Hello World \""; } ?>
  13. The book is fantastic, and it gives a good introduction to PEAR.
×
×
  • 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.