Find Jobs
Hire Freelancers

PHP PDO 2 Table Join using Unnamed Placeholder ? - FIX THIS CODE TO WORK

$10-30 USD

Đã đóng
Đã đăng vào hơn 8 năm trước

$10-30 USD

Thanh toán khi bàn giao
I can get this working without the unnamed placeholder, ? But I need it working WITH the unnamed placeholder, ? FIX this code and I'll try it: $config = getConfig('db.membership_level1'); $db = new SimplePDO($config); $username = Auth::getInstance()->getIdentity(); $sql = "SELECT username, usernamelightpage, useridlightpage, hourlyjackpotlighttext, lightpagepic, lightpagetext1, lightpagetext2, lightpagetext3, lightpagetext4, lightpagetext5, lightpagetext6, lightpagetext7, lightpagetext8, lightpagetext9, lightpagetext10, lightpagetext11, lightpagetext12, lightpagetext13, lightpagetext14, lightpagetext15, lightpagetext16, lightpagetext17, lightpagetext18, lightpagetext19, lightpagetext20 FROM registering LEFT JOIN lightpage ON [login to view URL] = [login to view URL] WHERE username = ?"; $bind = array($username); $row = $db->fetchRow($sql, $bind); if ($row) { echo "<div align='left'><img src='[login to view URL]'></div>"; echo "<div style='position: absolute; top:-50px; left:180px;'>"; echo "<table><tr><td width='1000'>"; echo "<marquee behavior=\"scroll\" direction=\"left\" scrollamount=\"5\" loop=\"1\" style=\"position:relative; top:180px; width:1000px; height:50px;\">"; echo "<a href='[login to view URL]'>"; echo "<img src='{$row['hourlyjackpotlighttext']}' alt='When no picture shows, it means you are not an Hourly Jackpot Winner at this time. The Hourly Jackpot Winner sees a picture here and has instructions on how to claim his or her Hourly Jackpot!'>"; echo "</a>"; echo "</marquee>"; echo "</td>"; echo "</tr></table>"; echo "</div>"; echo "<table cellpadding='0' cellspacing='0'><tr>"; echo "<td width='300'>"; echo "<FORM action='[login to view URL]' method='post'>"; echo "<div align='left' style='position: absolute; top:130px; left:30px;'>"; echo "<font face='Comic Sans MS' size='6' color='navy'>"; echo $row['username']; echo "</font>"; echo "</div>"; echo "<div style='margin-left:30px;'>"; echo "<br><br><br><font size='1'>Mouseover top red line to ZOOM the picture!</font>"; echo "<br><br><font size='1'>Mouseover bottom red line to shrink the picture again.</font>"; echo "</div>"; echo "</td></tr><tr><td style='width:800px; height:20px;'>"; ?> <div align="left" style="margin-left:30px;"> <a href="#" onmouseover="zoom(110,130,'lightpagepic','in')" onmouseout="clearzoom()"><font color="white" size="2">Zoom In</font></a> <br> <a href="#" onmouseover="zoom(110,130,'lightpagepic','restore')"><font color="white" size="1">Hover Here First</font></a> <br> <a href="#" onmouseover="zoom(130,110,'lightpagepic','out')" onmouseout="clearzoom()"><font color="white" size="2">Zoom Out</font></a> <div style="position:relative; width:50px; height:0px;"> <div style="position:absolute; top:10px; left:5px;"> <?php echo "<img src='[login to view URL]"; echo $row['lightpagepic']; echo "'>"; } ?>
Mã dự án: 8670044

Về dự án

4 đề xuất
Dự án từ xa
Hoạt động 8 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
4 freelancer chào giá trung bình $27 USD cho công việc này
Avatar người dùng
Hello! With 98% to 99% completion rate, 850+ successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page https://www.freelancer.com/u/rajeshsonisl.html !!)... you can never go wrong choosing me :) I am available to get started on your project right away. I look forward to your reply. Thanks. Kind Regards, Rajesh Soni
$24 USD trong 1 ngày
4,9 (1057 nhận xét)
8,9
8,9
Avatar người dùng
Hello. What are you trying to achieve? FInd all names? Or names starting with '?'? If later, use WHERE username LIKE '?%' code Thanks. Eugene
$30 USD trong 1 ngày
4,9 (312 nhận xét)
7,0
7,0
Avatar người dùng
Dear Sir, Please let me fix it. Thanks..............................................................................................................................
$30 USD trong 1 ngày
4,9 (164 nhận xét)
6,8
6,8
Avatar người dùng
i m interested to do this task. if u give me chance to do this task u will not regret on ur decision ...Thank u we can discuss further
$25 USD trong 1 ngày
0,0 (0 nhận xét)
0,0
0,0

Về khách hàng

Cờ của UNITED STATES
Sandy City, United States
4,9
10
Phương thức thanh toán đã xác thực
Thành viên từ thg 5 5, 2011

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.