Click here to Skip to main content
15,886,648 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
Question2 outta 3 ain't bad....but why is ftp_put() failing...? Pin
cjoki23-Jan-12 10:30
cjoki23-Jan-12 10:30 
AnswerRe: 2 outta 3 ain't bad....but why is ftp_put() failing...? Pin
User 171649223-Jan-12 11:50
professionalUser 171649223-Jan-12 11:50 
GeneralRe: 2 outta 3 ain't bad....but why is ftp_put() failing...? Pin
cjoki27-Jan-12 4:51
cjoki27-Jan-12 4:51 
QuestionA form data with cascading dropdown and photo for upload Pin
awedaonline23-Jan-12 4:03
awedaonline23-Jan-12 4:03 
AnswerRe: A form data with cascading dropdown and photo for upload Pin
Mohibur Rashid24-Jan-12 22:34
professionalMohibur Rashid24-Jan-12 22:34 
GeneralRe: A form data with cascading dropdown and photo for upload Pin
awedaonline25-Jan-12 21:43
awedaonline25-Jan-12 21:43 
QuestionPHP & JavaScript integration Pin
MacRaider423-Jan-12 1:53
MacRaider423-Jan-12 1:53 
AnswerRe: PHP & JavaScript integration Pin
Graham Breach23-Jan-12 2:37
Graham Breach23-Jan-12 2:37 
You need to properly match up your quotes - you used a single quote for href= and then the closing quote was just inside the javascript function. Try this:
PHP
$display_string .= "<td><a href=\"javascript:choice('{$row}{$col}')\"><img src='images/o.jpg' border=0 height=100 width=100 name='{$row}{$col}' alt='Open'></a></td>";


I've replaced the outer single quotes with escaped double quotes. I've also put the $row and $col variables into the string so that the '.' operator is not required, but that's just my personal preference.
GeneralRe: PHP & JavaScript integration Pin
MacRaider423-Jan-12 2:49
MacRaider423-Jan-12 2:49 
GeneralRe: PHP & JavaScript integration Pin
Graham Breach23-Jan-12 3:55
Graham Breach23-Jan-12 3:55 
GeneralRe: PHP & JavaScript integration Pin
MacRaider423-Jan-12 4:45
MacRaider423-Jan-12 4:45 
QuestionGetting the URL Minus the Query String Pin
Kevin Li (Li, Ken-un)22-Jan-12 17:49
Kevin Li (Li, Ken-un)22-Jan-12 17:49 
AnswerRe: Getting the URL Minus the Query String Pin
Peter_in_278022-Jan-12 18:24
professionalPeter_in_278022-Jan-12 18:24 
GeneralRe: Getting the URL Minus the Query String Pin
Kevin Li (Li, Ken-un)22-Jan-12 20:46
Kevin Li (Li, Ken-un)22-Jan-12 20:46 
GeneralRe: Getting the URL Minus the Query String Pin
Kevin Li (Li, Ken-un)23-Jan-12 16:09
Kevin Li (Li, Ken-un)23-Jan-12 16:09 
QuestionFinding the starting PHP script Pin
MacIntyre22-Jan-12 8:16
MacIntyre22-Jan-12 8:16 
AnswerRe: Finding the starting PHP script Pin
Luc Pattyn22-Jan-12 8:26
sitebuilderLuc Pattyn22-Jan-12 8:26 
GeneralRe: Finding the starting PHP script Pin
MacIntyre22-Jan-12 9:14
MacIntyre22-Jan-12 9:14 
GeneralRe: Finding the starting PHP script Pin
MacIntyre22-Jan-12 9:24
MacIntyre22-Jan-12 9:24 
AnswerRe: Finding the starting PHP script Pin
Luc Pattyn22-Jan-12 10:13
sitebuilderLuc Pattyn22-Jan-12 10:13 
GeneralRe: Finding the starting PHP script Pin
MacIntyre22-Jan-12 11:13
MacIntyre22-Jan-12 11:13 
Questioninformation Pin
nilkanth rathod19-Jan-12 23:06
nilkanth rathod19-Jan-12 23:06 
AnswerRe:Information Pin
Manfred Rudolf Bihy20-Jan-12 0:09
professionalManfred Rudolf Bihy20-Jan-12 0:09 
AnswerRe: information Pin
Dhruv Dave14-Feb-12 19:19
Dhruv Dave14-Feb-12 19:19 
Questionbplustree Pin
meenakowshalya19-Jan-12 19:26
meenakowshalya19-Jan-12 19:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.