DSGamer3002 Posted September 26, 2007 Share Posted September 26, 2007 fwrite($fp, "<tr>\n<td class=/"entrant_list/">\n".$wifin."</td>\n</tr>\n"); fwrite($fp, "<tr>\n<td class=/"entrant_list/">\n".$fc."</td>\n</tr>\n"); fwrite($fp, "<tr>\n<td class=/"entrant_list/">\n".$email."</td>\n</tr>\n"); fwrite($fp, "<tr>\n<td class=/"entrant_list/">\n".$aim."</td>\n</tr>\n"); fwrite($fp, "<tr>\n<td class=/"entrant_list/">\n".$gfu."\n"); I don't think I'm using the \n thing right. I get the error "Parse error: syntax error, unexpected T_STRING". Could someone please tell me how to fix this, and how to use new lines from now on? Thanks. Link to comment https://forums.phpfreaks.com/topic/70702-can-someone-tell-me-how-to-fix-these-fwrite-lines/ Share on other sites More sharing options...
Aeglos Posted September 26, 2007 Share Posted September 26, 2007 Your double quotes are badly escaped. Change /" to \". Slashes anb Backslashes are NOT the same. Cheers. Link to comment https://forums.phpfreaks.com/topic/70702-can-someone-tell-me-how-to-fix-these-fwrite-lines/#findComment-355404 Share on other sites More sharing options...
DSGamer3002 Posted September 26, 2007 Author Share Posted September 26, 2007 Your double quotes are badly escaped. Change /" to \". Slashes anb Backslashes are NOT the same. Cheers. Thanks. Link to comment https://forums.phpfreaks.com/topic/70702-can-someone-tell-me-how-to-fix-these-fwrite-lines/#findComment-355406 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.