Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
zephthorion_acquilexmorbid
PHP/Javascript problem... Anyone help...?
I have a problem about item selection.
Attach is a sample of the form I'm working with.
What I want is when I select a specified item in my popup menu, let's say "Tutorials", an additional textbox or textarea will be displayed in my form. I have no problem on displaying the selected item in the textbox. Only the addition of input text or textarea upon selecting it in the popup. Hope any master in PHP and Javascript could help . TIA
2 AnswersProgramming & Design8 years agoPHP checkbox remain checked problem...?
Hi everyone, I'm making a website and I got a problem with checkboxes.
Here's the scenario.. I have a database with a table name "brands", these brand table has several brand name records, let's say SAMSUNG, ALCATEL, NOKIA, MICROMAX, SONY, IPHONE etc..
The following brand names will be viewed in checkbox list. Now, if I only selected SONY and NOKIA in the checkbox after I submit the form in error, I want the two remain checked.. How can I do this... I tried anything but nothing works.. Hope anyone can help me.. BTW heres the part of the code under checkboxes (after submitting in error).
echo"<tr>";
echo"<td colspan=\"2\">Brands:<br>";
$x=mysql_query("SELECT * FROM brand ORDER BY name ASC") or die(mysql_error());
if(mysql_num_rows($x)==0){
echo"<br><img src=\"icons/Info.png\" width=\"15\" height=\"15\" align=\"texttop\"/> No brand exist\n";
}else{
while($rx=mysql_fetch_array($x)){
echo"<input type=\"checkbox\" name=\"brand[]\"";
if(isset($_REQUEST['brand'])){
$select=($rx['name]==$brand)?"CHECKED":"";
echo"checked=\"$select\" value=\"$rx[id]\"/>";
echo "".html_entity_decode(htmlspecialchars_decode(addslashes(ucwords($rx['name'])),ENT_QUOTES),ENT_QUOTES)."<br>";
}
}
}
echo"</select></td>";
echo"</tr>";
What happens in this code, all checkboxes are checked...But I only want is to remain the selected checkboxes checked. Thanks in advance to all who can help.... Have a good day..
1 AnswerProgramming & Design8 years agoAutodesk 3DS Max 2010 Activation Code?
Hello peepz, just want to ask if someone know where I can get autodesk 2010 keygen... I know there's one... The X-force keygen. Im running in a 32 bit OS.. I've searched google, youtube and anywhere but I cant find a 2010 keygen..
Hope u guys out there can help me.. Thanks
4 AnswersProgramming & Design9 years agomy Chaos(I dont know) deck? help me?
Is this a good deck... I won several times using this in dueling network coz i can have several special summon monsters on the field. Ill just ask, if someone can give me a better/best deck for my chaos dragon type. (Maybe should i add or remove something in the list)
red-eyes darkness metal dragon 3x
lightpulsar dragon 2x
black luster soldier-envoy of the beginning 1x
darkflare dragon 1x
gorz the emissary of darkness
interplanetarypurplythorny dragon 2x
genesis dragon 2x
dark armed dragon 2x
red eyes wyvern 1x
dimensional alchemist 2x
rinyan, lightsworn rogue 2x
lyla, lightsworn sorceress 2x
ryko, lightsworn hunter 2x
divine dragon apocralyph 2x
effect veiler 2x
dragon ravine 2x
mirror force 1x
heavy storm 1x
monster reborn 1x
torrential tribute 2x
dimensional prison 2x
beckoning light 1x
d.d.r-diff dimension reincarnation 1x
return from the diff dimension 1x
foolish burial 1x
royal decree 1x
1 AnswerCard Games9 years agoPlease rate my old yugioh deck? MACRO?
dd survivor 3x
dd warrior lady 2x
dd assailant 2x
banisher of the light 2x
banisher of the radiance 2x
dd crow 1x
necroface 1x
mobius the frost monarch 1x
caius the shadow monarch 2x
dd scout plane 1x
gren maju da eiza 2x
macro cosmos 3x
bottomless trap hole 2x
torrential tribute 2x
dd dynamite 2x
dimensional prison 2x
gravekeeper's servant 2x
soul release 2x
soul absorption 2x
dd borderline 1x
ddr-different dimension reincarnation 1x
dark hole 1x
heavy storm 1x
Extra Deck:
Number 39:Utopia - I added this one coz i have level 4s
is this ok???
1 AnswerCard Games9 years agoPlease rate my yugioh deck!!!!!?
Evilswarm thunderbird 2x
Evilswarm azathoth 2x
Evilswarm salamandra 1x
Evilswarm ketos 2x
Evilswarm freis 2x
Evilswarm mandrago 3x
Evilswarm zahhak 2x
Evilswarm o' wisp 2x
Evilswarm golem 1x
Evilswarm coppelial
Evilswarm castor 3x
Evilswarm olanta 2x
double summon 2x
infestation pandemic infection 3x
corrosive contagion infestation 2x
infestation collapse 2x
torrential tribute 2x
slip summon 1x
mystical space typhoon 1x
monster reborn 1x
call of the haunted 1x
ribbon of rebirth 1x
dark hole 1x
Extra Deck:
Evilswarm Ophion 3x
Evilswarm Ouroboros 3x
Evilswarm Thanatos 3x
Evilswarm Bahamut 3x
Evilswarm Nightmare 3x
Is this good???
1 AnswerCard Games9 years agoPHP search results highlighting?
hello everyone, can anyone please help me identify in my code coz i can't see the error to perform highlighting of a search keyword results.
Example: the search keyword is 'hi well okay' -> this is what you type in search box
In my database I have this record where i am searching;
'hi dude, well im a okay!'... How can I highlight the search result base from its keyword..
here's my code:
$sql1 = "SELECT * FROM search WHERE $construct LIMIT $offset, $rowsperpage";
$result1 = mysql_query($sql1) or trigger_error("SQL", E_USER_ERROR);
function highlight($title,$search_each) {
$search_each = explode(" ",$search_each);
for($j=0; $j< count($search_each); $j++){
$xtemp = " ";
$i=0;
while($i<strlen($title)){
if((($i + strlen($search_each[$j])) <= strlen($title)) && (strcasecmp($search_each[$j], substr($title, $i, strlen($search_each[$j]))) == 0)) {
$xtemp .= "<span style=\"background:yellow;font-weight:600;\">" . substr($title, $i , strlen($search_each[$j])) . "</span>";
$i += strlen($search_each[$j]);
}
else {
$xtemp .= $title{$i};
$i++;
}
}
$title = $xtemp;
}
return $title;
}
while($runrows = mysql_fetch_array($result1)){
$title=$runrows['title'];
$desc=$runrows['description'];
$url = $runrows ['url'];
echo "<div style=\"font-size:14px;\"><a href=\"$url#result\" class=\"urlresult\">".highlight($title,$search_each)."</a></div>";
<br>";
}
1 AnswerProgramming & Design9 years agoHi everyone. .Can anyone help me create a PHP Script?
The PHP Script allows you to upload video of size 1GB and lower as well as images and txt files . . PLease help me coz this is our project. . .But i don't know how. . .
5 AnswersProgramming & Design1 decade agocan anyone help me create a PHP script?
the script makes search engine
2 AnswersProgramming & Design1 decade agohelp me make a PHP script with MySQL program.?
Add, edit and delete records from a database
3 AnswersProgramming & Design1 decade agocan anyone help me code a java program?
Conversion of decimal to binary wherein applied in JOptionPane in Java.class
1 AnswerProgramming & Design1 decade ago