Page 1 of 1

php mysql code help

Posted: Thu Aug 27, 2009 2:39 pm
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

Re: php mysql code help

Posted: Fri Aug 28, 2009 12:16 am
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

Re: php mysql code help

Posted: Fri Aug 28, 2009 6:38 am
by jyoti.agarwal
use it

<td><a href="name of ur new page"><? echo $_GET['Id'] ?></a></td>

Re: php mysql code help

Posted: Fri Aug 28, 2009 6:41 am
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.

Re: php mysql code help

Posted: Fri Aug 28, 2009 1:14 pm
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.