[PHP] PHP Tutor in Denver?

2003-01-24 Thread Grae Wolfe
Hiya!

  I am back again...  Is there anyone in or around Denver, CO that is
familiar enough with PHP and MySQL that would be willing to help teach me
enough to build a fairly simple shopping cart program for a website?  I have
looked at some of the free ones, and I don't really like what I have seen.
I had one gentleman here give me his cart and it is truly awesome, but it is
WAY over my head for making changes or corrections.

  I can't pay a lot for the services, but I wouldn't expect anyone to do
this for free.

Thank you for your time in reading this, and I would like to ask that
replies to this message are sent to my email since I am horrible about
checking on the newsgroups daily.

Thank you!!



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Multiple "if()" statements

2006-06-28 Thread Grae Wolfe - PHP
I have a table with lots of fun information in it.  For one of the pages 
that I am working on, I want to display a list of names based on what is in 
the DB.
  My $SQL statement works great and has pulled in values for "first_name," 
"hs_last_name," and "last_name" in that order.  Right now, I am just 
printing to the screen the results of "first_name (hs_last_name) last_name" 
but there are two problems with this...
  The first problem is men's names and unmarried women's names...  they will 
have the same "hs_last_name" and "last_name" so I don't want the duplicate 
displaying on the page.
  The second problem is the entry of the word "none" by some of the visitors 
in place of a "hs_last_name"...  obviously I don't want to display this 
either.
  The following is the string of "IF()" statements that I am using, but I 
have an issue with my syntax somewhere because it isn't working the way I 
want.  Any help would be great!


  if($row[1]="none") {
  print("");
  print("$row[0] $row[2]");
  print("");
  } else
  if($row[1]=$row[2]) {
  print("");
  print("$row[0] $row[2]");
  print("");
  } else
 print("");
  print("$row[0] ($row[1]) $row[2]");
  print("");

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Multiple "if()" statements

2006-06-28 Thread Grae Wolfe - PHP
Thank you all SO incredibly much!!!  Now I just have to figure out how to 
get it to put the results into two columns instead of one, and this phase of 
this nightmarish project is over!!

I am eternally grateful, and I am sure I will be back with more questions!!



""Grae Wolfe - PHP"" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>I have a table with lots of fun information in it.  For one of the pages 
>that I am working on, I want to display a list of names based on what is in 
>the DB.
>  My $SQL statement works great and has pulled in values for "first_name," 
> "hs_last_name," and "last_name" in that order.  Right now, I am just 
> printing to the screen the results of "first_name (hs_last_name) 
> last_name" but there are two problems with this...
>  The first problem is men's names and unmarried women's names...  they 
> will have the same "hs_last_name" and "last_name" so I don't want the 
> duplicate displaying on the page.
>  The second problem is the entry of the word "none" by some of the 
> visitors in place of a "hs_last_name"...  obviously I don't want to 
> display this either.
>  The following is the string of "IF()" statements that I am using, but I 
> have an issue with my syntax somewhere because it isn't working the way I 
> want.  Any help would be great!
>
>
>  if($row[1]="none") {
>  print("");
>  print("$row[0] $row[2]");
>  print("");
>  } else
>  if($row[1]=$row[2]) {
>  print("");
>  print("$row[0] $row[2]");
>  print("");
>  } else
> print("");
>  print("$row[0] ($row[1]) $row[2]");
>  print(""); 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] New install platform

2006-06-25 Thread Grae Wolfe - PHP
  It has become evident that I need some form of local testing environment 
so that I can figure out what is wrong with one of my $sql statements.
  Can anyone tell me what the easiest platform is to set up a PHP/MySQL 
system?  I have a PC and a Mac on OS X, and with the use of VirtualPC I have 
the ability to load most flavors of Linux as well.
  I hate to have to go through this to test a single error, but if anyone 
can help with this, I would truly appreciate it. 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php