[PHP] help with coding #3

2004-12-21 Thread karl james
Team,

 

Ok I will try the links again, sorry about the hassel, gee do I sound like a
rookie coming up

From the minor leagues or want.

 

Anyway,

Here are the links.

Phps file

http://www.theufl.com/movie_details.phps

 

website

http://www.theufl.com/php/wrox_php/movie_details.php

 

on my connection the phps file looks all bunched up, I hope it looks good
for you guys.

Are you able to tshoot it and see whats going on?

Im not able to get the code working.

 

I am trying to build a movie database website for pratice.

And I bought a wrox book beginning php.mysql, and phpmyadmin.

However the code I used from book to my code on the file is not agreeing and
I cant figure 

It out. 

 

Basically what it is if you click on a movie name link it suppose to take
you to details and show 

You all the info for the movie and the reviews of the movie.

 

Let me know if you cant view anyinfo, 

If you cant I will have to figure out another way for you to see my code, or
maybe I can email you

Directly the file instead of the php list.

 

 

 

 

 

(TheSaint)
Karl James
[EMAIL PROTECTED]
http://theufl.com/ 

 



Re: [PHP] help with coding #3

2004-12-21 Thread John Holmes
 From: karl james [EMAIL PROTECTED]

 Ok I will try the links again, sorry about the hassel, 

Did I miss the first part of this message?

 http://www.theufl.com/movie_details.phps
 
 website
 
 http://www.theufl.com/php/wrox_php/movie_details.php
 
 Are you able to tshoot it and see whats going on?
 
 Im not able to get the code working.

First thing I noticed is here: 

$movie_query = SELECT
   *
 FROM
 movie
 WHERE
  movie_id ='.$_GET['movie_id'].';

$movie_result = mysql_query($query,$link) or die(mysql_error());

Shouldn't that be $movie_query in mysql_query()??

---John Holmes...

UCCASS - PHP Survey System
http://www.bigredspark.com/survey.html

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