[PHP] Need Someone to Develop a Project
We have an organization that conducts an annual music awards show. I have written a specification for a nominating module that we would like to develop to replace the paper ballot system. I'm not a PHP developer, but based on my research, this project should be straight forward, using PHP and MySQL. Since there is not a big pile of money available, it may be more expensive than we can afford, but if there are any experienced developers looking for new projects, please contact me off list, and I will forward a copy of the spec to you. The project needs to be completed with a week to 10 days, so if you're swamped, no need to take a look. No beginners, please. Project portfolio required for selection. It is possible that this newsgroup is not the appropriate forum for this request. Is there a site somewhere where I can post the spec and invite bids? I recall that there are several, but I cannot remember where they are. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] For/Next Help Needed
I'm using Jack's PHP FormMail script, and I need to change it. I know very little abou PHP, but here's what I very much need to do right away. I need the script to send the same hard coded message to each of 10 people. All of the email addresses do not need to be in the "To" field. Only the intended recipient needs to be there. So, I see the code as something line this: $recipient[1] = "[EMAIL PROTECTED]"; $recipient[2] = "[EMAIL PROTECTED]"; ... $recipient[n] = "[EMAIL PROTECTED]"; Then, something like this: for ($z=0;$zhttp://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Unable to retrieve value from database and echo on screen
Larry E . Ullman wrote: > > > /* Select User's First Name From Table */ > > $sql = "SELECT UserFirstName FROM RegisteredMembers WHERE > > UserID='$_POST[TXT_UserID]'"; > > $result5 = mysql_query($sql) or die ("couldn't select UserID from > > database"); > > $num = mysql_num_rows($result); > > > > /* Welcome Registsred Member */ > > echo "welcome to the registered members area "; > > > > echo ("$result"); > > There are a few problems here: > 1) Your query result is assigned to $result5 but then you use $result > in the mysql_num_rows() function. > 2) You never fetch any information. You need something like > $row = mysql_fetch_array($result5). > 3) You're trying to print the query result when you should be printing > the fetched information like so > echo $row['UserFirstName']; > > Hope that helps, > Larry Larry: It's good to see you posting here. I'm on page 30 of your book and find it to be very helpful and extremely well written. Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] For/Next Help Needed
John W. Holmes wrote: > > mcp6453 wrote: > > > I'm using Jack's PHP FormMail script, and I need to change it. I know > > very little abou PHP, but here's what I very much need to do right away. > > > > I need the script to send the same hard coded message to each of 10 > > people. All of the email addresses do not need to be in the "To" field. > > Only the intended recipient needs to be there. > > > > So, I see the code as something line this: > > > > $recipient[1] = "[EMAIL PROTECTED]"; > > $recipient[2] = "[EMAIL PROTECTED]"; > > ... > > $recipient[n] = "[EMAIL PROTECTED]"; > > > > Then, something like this: > > > > for ($z=0;$z > mail($recipient[z$], $subject, $message, $headers); > > for($z=0;$z { mail($recipient[$z],$subject,$message,$headers); } Thanks, John. That's helpful. I'm not sure what other problems I'm going to run into. It looks like I may have to put the whole script inside the "for" loop. What is the difference between this code and using a "foreach" command? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php