FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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
Creating a new Operating System
Install PHP Teamspeak script
Php script Cod server stats
Looking for a membership Script
php script help!
Ancient Script Says Jesus Asked Judas To Betray Him
DJ-Request
A script to...
Activation Script
Overwriting a file..
anyone know of a good php form processer script
Looking for somebody to script me a MySpace page Frih$ 100+
My Script
Help: Need a review script for PHP
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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