Results 1 to 10 of 10
-
3rd Oct 2012, 06:08 PM #1OPMember
echo this line in php
usually i use ' ' , " " that for echo lines
but now i have little bit problem
How i echo this line
$line=<td class="play2Png"><a href="http://www.besthostingforums.com/" onclick="javascript:void window.open('http://www.besthostingforums.com','1349207004705','width= 400,height=300,toolbar=0,menubar=0,location=0,stat us=1,scrollbars=1,resizable=1,left=0,top=0');retur n false;">Play Online</a></td>
this code is for pop up generate
after this i will replace
http://www.besthostingforums.com/with my $variablehihotfile Reviewed by hihotfile on . echo this line in php usually i use ' ' , " " that for echo lines but now i have little bit problem How i echo this line $line=<td class="play2Png"><a href="http://www.besthostingforums.com/" onclick="javascript:void window.open('http://www.besthostingforums.com','1349207004705','width=400,height=300,toolbar=0,menubar=0,location=0,status=1,scrollbars=1,resizable=1,left=0,top=0');return false;">Play Online</a></td> this code is for pop up generate Rating: 5
-
3rd Oct 2012, 06:45 PM #2Member
This site is using a hacked database of W junction
Last edited by Gavo; 4th Jan 2015 at 01:52 PM.
-
3rd Oct 2012, 08:15 PM #3OPMember
you should learn php dude
useful site
tizag
W3 school
-
3rd Oct 2012, 08:19 PM #4Member
This site is using a hacked database of W junction
Last edited by Gavo; 4th Jan 2015 at 01:52 PM.
-
3rd Oct 2012, 08:39 PM #5MemberWebsite's:
WarezEurope.comhaha
-
3rd Oct 2012, 09:32 PM #6MemberWebsite's:
imdber.org justpaste.meWhat if you close your php tag and put that text instead.
-
4th Oct 2012, 02:36 AM #7OPMember
you can find yourself ............ just check your code in php IDE Nusphare OR your localhost server
-
4th Oct 2012, 02:47 AM #8MemberPHP Code:
$line="<td class='play2Png'><a href='http://www.besthostingforums.com' onclick=\"javascript:void window.open('".$variable."','1349207004705',width=400,height=300,toolbar=0,menubar=0,location=0,status=1,scrollbars=1,resizable=1,left=0,top=0');return false;\">Play Online</a></td>";
echo $line;
if you want to print the html special chars...
use
PHP Code:echo htmlspecialchars($line);
-
4th Oct 2012, 09:29 AM #9Member
This site is using a hacked database of W junction
Last edited by Gavo; 4th Jan 2015 at 01:51 PM.
-
8th Oct 2012, 03:32 PM #10Respected Member
easiest way would be
PHP Code:echo <<<HTML
<td class="play2Png"><a href="http://www.besthostingforums.com/" onclick="javascript:void window.open('http://www.besthostingforums.com','1349207004705','width=400,height=300,toolbar=0,menubar=0,location=0,status=1,scrollbars=1,resizable=1,left=0,top=0');return false;">Play Online</a></td>
HTML;
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
<?php echo "Hello World!"; ?>
By -elfloj0- in forum IntroductionsReplies: 1Last Post: 14th Jul 2012, 04:45 PM -
Php echo error
By torrfriend in forum Web Development AreaReplies: 2Last Post: 30th May 2012, 05:37 PM -
echo 'Hello World';
By boss751 in forum IntroductionsReplies: 4Last Post: 11th Nov 2011, 02:23 AM -
Echo
By Echo` in forum IntroductionsReplies: 2Last Post: 7th Jan 2011, 10:06 AM -
need help with this line
By nelly27 in forum vBulletinReplies: 12Last Post: 8th Oct 2008, 07:12 PM
themaManager - edit and manage...
Version 4.04 released. Open older version (or...