Microsoft
Software
Hardware
Network
Question : php
I am not sure how to script the following:
I have a script that goes into one table and gets the info needed (currently working), but I then need it to go into another table and grab the Symbol of the highest and lowest Current_Value assigned to that user.
So it is like grabbing your best performing and worst performing stock.
I am not sure exactly how to do it, here is what I have to this point:
$sql2 = mysql_query("SELECT Symbol FROM portfolio WHERE username='$username'");
while($row = mysql_fetch_array($sql2)) {
$Symbol = $row["Symbol"];
echo "id_topperform=$row[Symbol
]&";
echo "id_bottomperform=$row[Sym
bol]&";
Answer : php
There was a question similar to this on the FireBug forum :
http://groups.google.com/g
roup/fireb
ug/browse_
thread/thr
ead/
b463f5
9c3aa230e2
/4e7ffab89
83b1d7a?hl
=en&lnk=gs
t&q=Featur
e+
request+
(JS+Consol
e)#4e7ffab
8983b1d7a
At the moment, it doesn't seem that you can.
Random Solutions
Can I use a sql query file (.sql) with bcp.exe?
Controlling Exchange 2010 port usage + some mythbusting
GPO to ensure no users are able to bypass the Proxy when browsing the Internet (IE:7 and IE:8)
Capture Linkbutton click event in Master page from Content page
Windows 7, Domain: Admin cannot save to C drive from Outlook.
Batch File Wildcards
Batch file to remove whitespace - similar to word replace ^w
jQuery - AJAX Call when a Checkbox is Checked
How to play a video file in JSP
Network / Internet issues