Log in

View Full Version : passing variable into form's value="$pm[title]"


briansol
04-22-2006, 06:53 PM
I've added a custom link on my board where I want to have a user click and it goes to the PM system. I want to pass in the subject of the message.

the value on the PM forum is a variable- $pm[title] - for when the pm doesn't go through, the data is still there.

Can I access populate that somehow?

I'm wokring on adding a link to the pm system, and in addition to userid=X i would like to pass in &title=Reply to PostingXXXX where XXXX is pre-complied so its one big string (doesn't need to be parsed before going to the pm system).

private.php?do=newpm&u=userid&title=XXXX

Any adivce?

thanks

nevermind, i figured it out.

cavyspirit
09-09-2006, 04:12 PM
How did you do it? I need to do this as well. Thanks!