| | |||||
| ||||||||
| CODE This forum is for posting code snippets and example scripts that aren't quite tutorials, but could be useful for others. You may post code snippets and/or completed scripts that you've written and want to share here. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| First Time Poster! Join Date: May 2004 Location: Norway
Posts: 1
![]() | Newbee alert: advice on how put code 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'; ????: NamePros.com http://www.namepros.com/code/30548-newbee-alert-advice-how-put-code.html ?> or something Thanks mates
__________________ .tj
Last edited by teeraktj; 05-14-2004 at 05:39 PM.
|
| |
| | #2 (permalink) |
| Account Suspended Join Date: May 2004 Location: /etc/passwd
Posts: 2,178
![]() ![]() ![]() ![]() ![]() ![]() | you may want to try the following links these are simple php/mysql tutorials http://codewalkers.com/tutorials.php?c=5 this is a page of basic tutorials. Webmonkey is good too http://hotwired.lycos.com/webmonkey/...tutorial4.html |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |