Find Jobs
Hire Freelancers

PHP PDO select from passed variable

$10-30 USD

Completed
Posted over 9 years ago

$10-30 USD

Paid on delivery
I am passing variable to the next page with <a href="[login to view URL]<?php echo $my_number; ?>"> on the next page I want to display the contents of the mysql database and am trying to do so with something like this and having no luck. <?php try { $handler = new PDO('mysql:host=localhost;dbname=db', '', ''); $handler->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch(PDOException $e) { echo $e->getMessage(); die(); } $query = $handler->query("SELECT * FROM my_table WHERE my_number = :my_number "); $stmt = $handler->prepare($query); $stmt->bindParam(':my_number', PDO::PARAM_STR); $stmt->execute(); $results = $stmt->fetch(); ($result as $row){ } Then I am trying to display the my_table fields with on my page with: This is field one <?php echo $my_field1; ?> This is field two<?php echo $my_field2; ?> This is field three<?php echo $my_field3; ?> I do know know what my problem to day is but just some help to finish, Will pay as soon as script is working. Needed NOW>>>>
Project ID: 6704962

About the project

8 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
i can quickly help you out sort this and explain you what you are doing wrong i can quickly help you out sort this and explain you what you are doing wrong i can quickly help you out sort this and explain you what you are doing wrong
$10 USD in 1 day
5.0 (1 review)
2.8
2.8
8 freelancers are bidding on average $23 USD for this job
User Avatar
----------------------------------------------------------Please Consider on My BID---------------------------------------------------Dear Sir/Madam, We are already read your project description & fully understand this project for you. Also I have solid experienced professional in-house team of designers, developers and coders. We are offering best price in this market & providing best quality of work for you. Please check your PMB for more details & award me for this project. ~~~~~~~~~~~~~~~~~Few reasons to select us as a service provide~~~~1. Post delivery free bug fixing support.------- 2. Industry standard modern design.------- 3. Secure coding SQL injection and XSS (cross site scripting),------- 4. Well documented code.------- 5. Regular work update. ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ Thanks with Regards
$31 USD in 1 day
4.9 (83 reviews)
5.9
5.9
User Avatar
I am here to support and help for fixes within very less time. I would like to help you in passing the values to other form.
$30 USD in 1 day
5.0 (9 reviews)
5.0
5.0
User Avatar
Hello can i try to fix it, i will not ask you to award me the project unless script is fixed. Regards, Darpan
$26 USD in 0 day
5.0 (7 reviews)
3.2
3.2
User Avatar
Hello I can solve the problem and make working you code NOW !! Waiting for your response to talk and start Thanks
$30 USD in 1 day
5.0 (9 reviews)
3.1
3.1
User Avatar
Hi, I am a full-time freelance developer with special interests in creating scripts for process automation. I have worked extensively on csv/ txt/ xml/ excel data manipulation, pdf generation, emails, PHP forms etc. For few of the project I have done parsing, data scraping and file manipulation based on client needs. My scripts are clean and provide high performance. I will provide you with a solution that is highly configurable with plenty of comments so that most of the future configuration changes (if any) could be done by you without needing to consult a developer. I will provide you with clear instructions on how to code this. Please let me know if this suits your need. If you confirm I would be able to provide you with a solution within 2 days. Also, would it be possible for you to share your codebase. I can make changes in it and send you the working files Thanks and have a great day ahead. Regards, Prakhar
$15 USD in 2 days
5.0 (1 review)
3.0
3.0
User Avatar
A proposal has not yet been provided
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$20 USD in 0 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Port Charlotte, United States
5.0
43
Payment method verified
Member since Apr 30, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.