Suljettu

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

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 [url removed, login to view] = [url removed, login to view]

WHERE username = ?";

$bind = array($username);

$row = $db->fetchRow($sql, $bind);

if ($row) {

echo "<div align='left'><img src='[url removed, login to view]'></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='[url removed, login to view]'>";

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='[url removed, login to view]' 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='[url removed, login to view]";

echo $row['lightpagepic'];

echo "'>";

}

?>

Taidot: MySQL, PHP

Näytä lisää: work comic, where to work, how to work at, how to get to a size 0, comic work, a placeholder, jsp fix header table, free vb source code college term work calculations, captcha code data entery work, flv code generator doesnt work, fix mysql table centos, fix css table position, code star rating work, captcha code igniter doesnt work linux, code excel compare work, code photoshop template work

Tietoa työnantajasta:
( 10 arvostelua ) Sandy City, United States

Projektin tunnus: #8670044

5 freelancers are bidding on average $28 for this job

rajeshsonisl

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 [url removed, login to view] Lisää

24 $ USD 1 päivässä
(650 arvostelua)
7.8
k1ng440

Hello, I am a professional web developer with over 9 years of experience. I will solve your issue in no time. Please message me for further discussion

30 $ USD 1 päivässä
(95 arvostelua)
6.5
webxtor

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 päivässä
(198 arvostelua)
6.2
PHPsoldier

Dear Sir, Please let me fix it. Thanks..............................................................................................................................

30 $ USD 1 päivässä
(84 arvostelua)
6.1
Vist3chInfo

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 päivässä
(0 arvostelua)
0.0