php mysql code help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
crazymao
Forum Newbie
Posts: 14
Joined: Sun Aug 02, 2009 1:56 pm

php mysql code help

Post by crazymao »

i wrote a script but it doesnt work, so i want to see what you guys would write. i want a script which recalls three values (id,title,message) and puts them in a table with only the id and the title. now, i want the id to be a link to a seperate page where the whole thing is displayed. can anyone write a simple script and show me how to properly write it? thanks alot
maneetpuri
Forum Commoner
Posts: 60
Joined: Tue Oct 07, 2008 6:32 am

Re: php mysql code help

Post by maneetpuri »

Hi Crazymao,

Why don't you show your script here and let others correct it and make corrections in it and explain it to you.

Cheers,
Maneet Puri
jyoti.agarwal
Forum Newbie
Posts: 2
Joined: Fri Aug 28, 2009 6:35 am

Re: php mysql code help

Post by jyoti.agarwal »

use it

<td><a href="name of ur new page"><? echo $_GET['Id'] ?></a></td>
User avatar
susrisha
Forum Contributor
Posts: 439
Joined: Thu Aug 07, 2008 11:43 pm
Location: Hyderabad India

Re: php mysql code help

Post by susrisha »

crazymao wrote:i wrote a script but it doesnt work, so i want to see what you guys would write. i want a script which recalls three values (id,title,message) and puts them in a table with only the id and the title. now, i want the id to be a link to a seperate page where the whole thing is displayed. can anyone write a simple script and show me how to properly write it? thanks alot
I would like to refer to onion2k's signature .
How I Help Here: If it's obvious you're not bothered about your problem (eg you don't post any code, you've not got any error messages) then I won't bother helping very much. If you make it clear you care and you're trying your best (eg you post code in

Code: Select all

tags, you've tried a few different fixes already) I'll do my best to help you.
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: php mysql code help

Post by califdon »

crazymao wrote:i wrote a script but it doesnt work, so i want to see what you guys would write. i want a script which recalls three values (id,title,message) and puts them in a table with only the id and the title. now, i want the id to be a link to a seperate page where the whole thing is displayed. can anyone write a simple script and show me how to properly write it? thanks alot
I can make no sense at all from that. I would say that your problem is that you haven't clearly organized your own thinking--that's why your script doesn't work, and it makes it impossible for anyone to help you because we can't understand what you mean. I'm sorry to be so harsh, but this is a technical forum where a clear definition of a problem is the most basic requirement to receive help.
Post Reply