No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi My following php code keeps giving me Undefined Offset errors: The code is: [code] <table border="1"> <tr> <th>Tile </th> <th> Email</th> <th> Publication No. </th> <th> Submitted By: First Name </th> <th> Submitted By: Last Name </th> <th> File Name </th> </tr> <tr> <?php if(!($lines=file('publication.txt'))) {echo 'Error:Unable to open … |
|
Hi I am writing to a text file but end up having several duplicates in the text file, this is a basic program I am creating using PHP and HTML. How is it possible to fwrite only when record exists. Thnx [code]<?php $FirstName = $_POST['FirstName']; $LastName = $_POST['LastName']; $Email = … |
|
Re:
DOES ANY ONE KNOW HOW TO VALIDATE THIS FORM? case 1: if any field is not completed, display in red colour and display a text message to correct, case 2: once is completed, display TANKS FOR SUBMIT YOUR FORM, AND REDERECT TO INDEX PAGE. [code]<?php $msg ="Name: $_POST[name]\n"; $msg .="Email: … |