i am currently using code that resembles this:
fputs($cmke,"<? \$first=\"");
fputs($cmke,$first);
fputs($cmke,"\"; \$last=\"");
fputs($cmke,$last);
fputs($cmke,"\"; \$username=\"");
fputs($cmke,$username);
fputs($cmke,"\"; \$password=\"");
fputs($cmke,$mypass);
fputs($cmke,"\";?>");
this isn't too bad, but in reality i have many more variables, i'd like to turn this into just one fputs() command is that possible?
My script isn't done yet so i can't test, but i would assume that it could be written like this:
fputs($cmke,"<? \$first=\"" . $first . "\"; \$last=\"" . $last . "\"; \$username=\"" . $username . "\"; \$password=\"" . $mypass . "\";?>");
is this right?