
waynem801
Members-
Posts
21 -
Joined
-
Last visited
Never
Profile Information
-
Gender
Not Telling
waynem801's Achievements

Newbie (1/5)
0
Reputation
-
I see, so that part is actually the more easy part... It looks like building the database and "the best way to ad data to it" seems to be what's really difficult for me
-
[SOLVED] How Do I Build Photo Album like this one?
waynem801 replied to waynem801's topic in PHP Coding Help
K, I like the pagination tutorial, I'll start with that, and the others suggested, Thank you! -
Yeah, i know it's alot of data but it has to be done... Also I would like people to make comments aka: Reviews for the course also as u see in the example...
-
Oh really, hmmmm.... Ok I get that much, but how do they have it set up do you suppose? How does one build a Database like the example? maybe that's more of what I'm search for Sometimes it's hard to explain what you're really looking for, when you don't know enough to know what you're lookin for So any advice on how to go about the above example would be wonderful Wayne
-
Well, here's my site http://www.ncgolfers.com I would consider myself very good at CSS and Design, but when it comes to php, I'm just a hacker, I can take existing scripts and "maybe" hack away a little, but very little... Depending on cost I would love to pay someone to do it, But at the same time... with a little advice it would be great to learn to do it on my own So to your ? Either or really...
-
[SOLVED] How Do I Build Photo Album like this one?
waynem801 replied to waynem801's topic in PHP Coding Help
Ok, I'm a little bit of a PHP Hacker, So could you give me an example of how i would do that, and make the pagination, or maybe point me to a script that would work for me. I will have alot of photo's so i'll need to be able to just upload them, and Go.... Thanks for your help wayne -
Hello, I would like to build a golf course directory like this one example : http://www.golflink.com/golf-courses/state.asp?state=NC It would be for North Carolina Courses, But it would have all the same functions.. It's functions are: Search for a course, Courses Listed by City, And the cities show near by courses. And the courses have a little bit of info... So how can I clone this? I've looked at php scripts that are link directories, but that isn't what i want.. Also It is important that this directory is SEO Friendly with Friendly URL's Thanks, Wayne
-
Hi, I wanted to know how i can go about making a photo album like this one... Example : http://zspotlight.com/myZgalleries/Pictures.aspx?E=6900&GI=f83ef22e-2501-4307-846f-43b1f5cf7820 As you can see, After you click on one of the photo's it opens up into a pop up thingy, and then you can browse through all the photos in that album with the arrows, I really like how it goes in order and how each photo causes a refresh of the pop up box, How can I clone this? Thanks, Wayne
-
Ok, so i've gotten this far, i've been able to display the record set "SCORE" in a table.. Here's my problem, I want to be able to add the Numeric values of all the record set. Example: "Score" 1 5 9 10 3 etc..... The total of this = 28... So how do i get php to add the data in the record? Thanks, Wayne $con = mysql_connect("#########", ######", "#########"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("######", $con); $result = mysql_query("SELECT * FROM #######); echo "<table border='1'> <tr> <th>score</th> <th>course rating</th> </tr>"; while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>". $row['score']."</td>"; echo "</tr>"; } echo "</table>"; mysql_close($con);
-
Anyone???
-
bump
-
I've included this code in all of the pages of my site that are outside of vanilla to check the user session and to state whether their logged in or not, and display if they are, and show a login/register button if they're not... Here's that code, cause it might help out with my problem.. <?php include("north-carolina/community/appg/settings.php"); //these are the files vanilla uses for sessions etc.. include("north-carolina/community/appg/init_people.php"); //these are the files vanilla uses for sessions etc.. if ($Context->Session->UserID) { echo "Signed in as <b>{$Context->Session->User->Name}</b>."; echo ' <a href="http://www.ncgolfers.com/north-carolina/community/people.php?PostBackAction=SignOutNow">'.('[ Sign Out ]').'</a>'; } else { echo "Welcome, Guest."; echo ' <a href="http://www.ncgolfers.com/north-carolina/community/people.php?ReturnUrl=http://www.ncgolfers.com/north-carolina/community/">'.('[ Login').'</a>'; echo " or"; echo ' <a href="http://www.ncgolfers.com/north-carolina/community/people.php?PostBackAction=ApplyForm">'.('Register ]').'</a>'; } ?>
-
These are the errors i'm getting after i changed the Postuser to session user as suggested.. Notice: Undefined index: user in /home/11170/domains/ncgolfers.com/html/north-carolina/agolfhandicap.php on line 19 Notice: Undefined index: delete in /home/11170/domains/ncgolfers.com/html/north-carolina/agolfhandicap.php on line 23 Notice: Undefined index: edit in /home/11170/domains/ncgolfers.com/html/north-carolina/agolfhandicap.php on line 27 Notice: Undefined variable: PHP_SELF in /home/11170/domains/ncgolfers.com/html/north-carolina/agolfhandicap.php on line 32
-
I can't seem to figure out how to set this up correctly, I have got it so my site checks for the user session though, but i'm stuck after that... need a push in the right direction.. ??? :-\ maybe someone could explain how these two scripts fit together first i dunno i'm completely lost lol... Im also very unsure how i pull the session ID and apply it to the user so the script always knows who's data it is and who's data it has to store it too.