User Profile
Collapse
-
Code:echo "<input type='text' name='Accession' value='".$row['Accession']."'>";
Code:echo "<input type=\"text\" name=\"Accession\" value='".$row['Accession']."'>";
Leave a comment:
-
Code:echo "<input type='text' name='Accession' value='".$row['Accession']."'>";
Leave a comment:
-
Get the value of the hidden field the same way as you get the values for other fields...
Code:$myusername=$_POST['memberid'];
Leave a comment:
-
Remove the first loop because it's useless, and then transfer the opening and closing <tr> inside the second loop.
Code:foreach ($arr as $key1 => $item) { echo "<tr>"; echo "<td>" . $key1 . "</td>"; foreach($item as $key => $value) { echo "<td>" . $value[1]
Leave a comment:
-
This question belongs to SQL. Anyway, use GROUP BY and COUNT together
Code:SELECT COUNT(id_program) AS prog, id_program, id_student FROM YourTable GROUP BY id_student
Leave a comment:
-
Try this:
Code:$array_search = explode(',', $search); $imploded_search = "'".implode("','", $array_search)."'";
Leave a comment:
-
I think your first post is already okay, only for these 2 reasons:
1. The field names you indicated in the query is wrong
Code:$sql = "SELECT Team, Num, Name, Pos, Salary, Contract, [B]11/12 Salary, 12/13 Salary, 13/14 Salary[/B], Protected, Rookie FROM playerslist11 WHERE Team = " . $teamid . " ";
Code:Print "<td align = center>".$info['11/12_Salary'] . "</td>
Leave a comment:
-
you need to enclose the page's name with quotes like
Code:getMakeIndexPage(this.value, 'index');
and then add the second parameter on your function to receive the page name.Leave a comment:
-
netbeans for the IDE, SQLyog for the database interface, and XAMPP as your local webserver.Leave a comment:
-
Leave a comment:
-
Is this what you mean?
Code:update #temptable Set Aug_total = ( Select sum(hist.amount) from cust inner join hist on cust.c_id = hist.c_id where blah blah blah....)
Leave a comment:
-
-
Hi...
I think it will really not output anything because the textfield "First" doesn't exist in the previous page. Request.Form() will get a value from the querystring or from the previous page that called this current page.
In order for you to set the value of the session variable, you need to submit the page and do the setting of the session on the receiving page.
Can you try to check if this will work: place...Leave a comment:
-
-
Try this:
Code:UPDATE TableName SET ColumnName = 'ABC' + ColumnName
Leave a comment:
-
There's no other way to check if another user logs in with the same login details on another computer without going through the server. It's a drawback, though, but that's logically the way to go. Performance will be compromised to achieve that requirement because we can't do magic anymore. You just need to design it in a way that it will still perform efficiently.
Another option would be to not allow the same user to login in another...Leave a comment:
-
How about using a Timer? On its Tick event, change the backcolor of the textbox depending on how you want it...Leave a comment:
-
Can you use JavaScript on this?
You can use the OnClick event of the checkbox item.. like
Code:onclick="javascript:this.checked=true;"
Leave a comment:
-
Hi...
Use Form_Load() for the form load event...
For the screen resolution, you can use the Screen object of VB. Take note that the width and height of the Screen object are in Twips unit. So you need to divide them by the Screen object's TwipsPerPixelX and TwipsPerPixelY properties to get the figures in pixel.
Like,
width = Screen.Width/Screen.TwipsPer PixelX
height = Screen.Height/Screen.TwipsPer PixelYLeave a comment:
No activity results to display
Show More
Leave a comment: