NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming > CODE
Reload this Page Newbee alert: advice on how put code

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.

Advanced Search
8 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 05-14-2004, 05:31 PM THREAD STARTER               #1 (permalink)
First Time Poster!
Join Date: May 2004
Location: Norway
Posts: 1
teeraktj is an unknown quantity at this point
 



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.
teeraktj is offline  
Old 05-15-2004, 07:54 PM   #2 (permalink)
Account Suspended
 
axilant's Avatar
Join Date: May 2004
Location: /etc/passwd
Posts: 2,178
axilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to beholdaxilant is a splendid one to behold
 

Member of the Month
July 2005

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
axilant is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 03:37 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger