i want to pull some data out of my database and put it on my main page of my site as a link.
ie i have forums and i want to pull the latest post data for example the subject and the user who posted it and create it as a link to get that post .
i have been told to select data from the max forum and id but i dont know how to do it
help lol
cant get that to work . i edited it fine . but putting it in with a script that has sql code in already beats me. i get an error on my last line with is <?php lmao .
cheers anyway
<?php is the beginning tag of some php code. In order to put php code on a webpage it has to be between '<?php' and '?>'
You need some sort of language between the database and your website. Something like PHP. Seeing that you arn't familure with php, I don't think messing with databases would be a good idea for you yet. If you are just looking for someone to code something for you then you will need to be more descriptive then 'I want to place a link to stuff on my webpage from a database' We don't know where your site is hosted and whether it is on php or .net or anything else, also what kind of database are you connecting to?
both of them work quiet well cheers...