What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Form submit to PHP

Form submit to PHP
Author: Message:
DJeX
Veteran Member
*****

Avatar


Posts: 1138
Reputation: 11
– / Male / –
Joined: Jul 2003
O.P. RE: Form submit to PHP
ok thanks lopardo i'll take a look at that.

I've come across antoher problem. When writeing php code to a file with php code how do you write the $varibles without them not being written.

like this:

code:
$file5 = fopen("sdata/$hits/$hits.php","w");
fwrite($file5,"<?php

$filenamesong50 = 'sdata/$hits/$hits.rev';
$html50 = '<table border='1' width='100%' id='table1' bordercolor='#000000' style='border-collapse: collapse'>
    <tr>
        <td>$rate /10</td>
    </tr>
    <tr>
        <td>$name</td>
    </tr>
    <tr>
        <td>$review</td>
    </tr>
</table>
<hr color='#000000'>\n';
$fp50 = fopen($filenamesong50, 'w');
fputs($fp50, $html50) or die('Could not open file!');
fclose($fp50);

?>");
fclose($file5);
[Image: top.gif]
03-08-2005 03:50 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Form submit to PHP - by DJeX on 03-08-2005 at 03:06 AM
RE: Form submit to PHP - by lopardo on 03-08-2005 at 03:22 AM
RE: Form submit to PHP - by DJeX on 03-08-2005 at 03:50 AM
RE: Form submit to PHP - by L. Coyote on 03-08-2005 at 03:54 AM
RE: Form submit to PHP - by DJeX on 03-08-2005 at 03:59 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On