PHP - Need Some Pointers
i am working on making this forum script i wanna allows users to upload a photo album and pictures i have everything in place including all the database info the problem is i need a page that is considered a static page lets say i use the following code
in images.php Code: [Select] <a href="view_images.php?=<?php echo $images_id; ?>"><?php echo $images_name; ?></a> this code should take me to that address but the layout is designed in view_images this is the code located in the view_albums page to load the picture from the link Code: [Select] <IMG SRC="/images/<?php echo $images_id; ?>/<?php echo $images_name; ?>"> now im not getting the image it shows just the first one located in the database now i can change the img src line to any id number and name and it will work for that image only how can i make this work the right way please respond ASAP for this is for a client of mine Thanks in advance, Mike Similar TutorialsI need to scrape pages - I only need one page at a time I'm only looking for 2/3 bits of data within each page Can someone give me some pointers where to start? I've searched and see names like DOMXpath and Xpath mentioned - do I need these? It's important that I can run the script on a standard Linux hosting with nothing extra installed like packages - I'd like to have something I can just use immediately using standard php and functions I've seen plenty of tutorials + youtube videos - just looking for recommendations and pointers for recommended practices Thanks OM Hi everybody. I have this idea and I need some pointers to get started. I am new to php and therefore I have been searching around for the best way to solve my problem. I want to create a site where you can register your username. Once you have done that, I want you to be able to make a series of choises, for example different colors of your choise. Then I want want those choises to be saved in my database. Next I want my site to be able to compare the choises of two users. Example: If user one selected blue, red, and yellow, and user two selected blue, red and orange, I want the site to display that their common colors are red and blue. I know what I ask of is alot, and would therefore be grateful if someone could point me in some direction on where to get started. Regards Kristoffer Being fresh to PHP I installed PHPMailer (Not sure how to install classes so what I did is I dropped the PHPMailer files into my PEAR folder since that's where all my extensions are being sent to in XAMPP). Then I ran a basic script to send email via PHPMailer using the functions offered by PHPMailer instead of Mail() (of course) but when I do that and execute my code by going to localhost my Firefox will just display my PHP code right back at me. |