NameSilo

Newbee alert: advice on how put code

Spaceship
Watch
hi, i am new to this mySQL/PHP thing. I need to put codes in my PHP files that read mySQL Tabels/info and write them out on the website, from a phpNewsManager SQL ...

is there any online 'dictionaries' or examples I can read and try?

I made my SQL, and php works fine etc.. what I want is touse a link in php that is based on ID:

ID on php is x - then read tabel/content in SQL X etc

exs.: a href=?id=20 then my php insert a include named content_20 -
this content_20 supposed to contain my php that read out the sql content fom db


<?PHP
$sql = 'SELECT * '
. ' FROM `news` LIMIT 0, 30';
?>

or something



Thanks mates
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
0
•••
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back