FRIHOSTFORUMSSEARCHFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

DJ-Says Script

 


DanielXP
Im making a DJ-Says script and it put this code into a .txt file

Code:
<?php\n$DJname=\"$djname\";\n$DJmessage=\"$message\";\n?>


But i can make the $DJname save into the .txt file. it only saves as

Code:
<?php
="DJ-MYDJNAME";
="TEST DJ-SCRIPT!";
?>


Can anybody help with the code to save a $ to a .txt?
DanielXP
* FIXXED *

i added this code

Code:
$DJname = "DJname";
$DJmessage = "DJmessage";


EDIT: Its not fixxed it don't post the $

this is what it posts
Code:
<?php
DJname = "DJ-NAME";
DJmessage = "HELLO WORLD!";
?>
Atomo64
DanielXP wrote:
Im making a DJ-Says script and it put this code into a .txt file

Code:
<?php\n$DJname=\"$djname\";\n$DJmessage=\"$message\";\n?>


But i can make the $DJname save into the .txt file. it only saves as

Code:
<?php
="DJ-MYDJNAME";
="TEST DJ-SCRIPT!";
?>


Can anybody help with the code to save a $ to a .txt?


Just use
Code:
<?php\n\$DJname=\"$djname\";\n\$DJmessage=\"$message\";\n?>

Edit: lol, I forgot that BBcode isn't parsed inside the [ code ] [/ code] tags...
so here's the difference:
\$DJname=\"$djname\";
\$DJmessage=\"$message\";
DanielXP
Thank i just posts it without that Very Happy
Related topics

Ancient Script Says Jesus Asked Judas To Betray Him
phpBBFM update
MSN probs
wild card domains ???????
Mail() Help

Cpanel down again
Sending Email from localhost
Install PHP Teamspeak script
Php script Cod server stats
Looking for a membership Script

php script help!
Creating a new Operating System
DJ-Request
A script to...
Activation Script
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.