Jump to content

nemethpeter

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling
  • Location
    Hungary >> BudaPest

nemethpeter's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks a lut! Will try that! ReSPecT: NP
  2. Ya know, the problem is, that some rows might be deleted (just as i said) and the id-s may come like 1,3,4,5,8,10 and in this way saying that \"where id BETWEEN 1 and 10\" certainly doesn\'t produce 10 rows of data. However, recently I\'ve heard that all rows should be processed, and in the array just the surplus should be deleted... What do you think? Thanks for the answers: NP
  3. Hello! THere\'s a table with say 5 columns and 60 rows. How can i make a SELECT query, that selects the rows between 20 and 30? (there are id-s in every rows, but as some are usually deleted, it cannot be said, that rows between the id-s 20 and 30) I know, that there\'s a phrase called \'BETWEEN\', but dunno how may i apply it when talkin about rows... Bye NP
  4. LOL... I didn\'t know how lame ya are, and from where to start... ALthough, ya wanted the banners to be on the left... now ya want it on the top... hmmm... perhaps i am just to tired to sense yer thoughts, so i wasn\'t degradin\' you by starting the education from the very start... :wink: Byez
  5. Then what about doing a thing like this (a big table, to which 2 smaller tablez are embedded...) ::: echo\" <table> <tr> <td> <table>\"; include(\"banner.php\"); echo\" </table> </td> <td> <table> <tr> <td>$name</td> </tr> <tr> <td>$place</td> </tr> </table> </td> </tr> </table>\"; Is this sufficient?
  6. well, i could... if xyz.php consists of::: <tr> <td>YEEAAAAAH</td> </tr> TheN: echo\"<table>\"; include(\"xyz.php\"); echo\"<tr><td>ResPeCT</td></tr>\"; THat results in::: YEEAAAAAH ResPeCT :arrow: :arrow: :arrow: NP[/b]
  7. include(\"xyz.php\"); echo\"<table>.....</table>\"; xyz.php should be yer header. NP
  8. Wut? Ya wanna add the information in the included PHP to yer table or MySQL table, or what? Be more precise! ReSpEcT
  9. anyone able to help on it?? Hey! Ya have got 2 mysql_queriez!!! One shouldabe sufficient! >>>> $query = mysql_query(\"SELECT name, place, fdesc, address, tele, fax, email, url, img FROM clients WHERE id = \'$id\'\"); mysql_query($query) or die (mysql_error()); <<<< This meanz mysql_query(mysql_query(\"xyz\")), and iz incorrect. Just erase mysql_query when defining the first variable. So: $query = \"SELECT name, place, fdesc, address, tele, fax, email, url, img FROM clients WHERE id = \'$id\'\"; and i think, it\'s not a bad idea, to define the var $result as well, as it so far has no meaning (i guess...) So modify the row: mysql_query($query) or die (mysql_error()); To: $result=mysql_query($query) or die (mysql_error()); Hope i could help ya! RespecT
  10. Hey, dude! I\'ve tried this on a remote PC, and it worked easily! Just make sure, ya granted yourself the right to open the DB from an other computer... ThiS SQLyog rules a lut!!! ReSpEcT!
×
×
  • 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.