Find Jobs
Hire Freelancers

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

$10-30 USD

クローズ
投稿日: 8年以上前

$10-30 USD

完了時にお支払い
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 "'>"; } ?>
プロジェクト ID: 8670044

プロジェクトについて

4個の提案
リモートプロジェクト
アクティブ 9年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
この仕事に4人のフリーランサーが、平均$27 USDで入札しています
ユーザーアバター
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 1日以内
4.9 (1057 レビュー)
8.9
8.9
ユーザーアバター
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 1日以内
4.9 (312 レビュー)
7.0
7.0
ユーザーアバター
Dear Sir, Please let me fix it. Thanks..............................................................................................................................
$30 USD 1日以内
4.9 (164 レビュー)
6.8
6.8
ユーザーアバター
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 1日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

UNITED STATESのフラグ
Sandy City, United States
4.9
10
お支払い方法確認済み
メンバー登録日:5月 5, 2011

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。