
thenature4u
Members-
Posts
54 -
Joined
-
Last visited
Never
Everything posted by thenature4u
-
Hi, I am using phpbb_foums in my site. One table is giving me headache. I am not able to repair the table phpbb_forums. Even the following query also not showing up. select count(*) as cnt from phpbb_forums. i tried this from command line. Its not showing any error also. This command is taking infinite time. Help me please. Other tables are working properly. Thanks in advance
-
Hi, Light box is working properly when the images are static. But for my application images loads dynamically from another php page using ajax. But this light box is not working for these images. Please help me. this is my code. try1.php code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>jQuery lightbox clone - prettyPhoto - by Stephane Caron</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script src="http://www.google.com/jsapi" type="text/javascript"></script> <script type="text/javascript" charset="utf-8"> google.load("jquery", "1.3"); </script> <link rel="stylesheet" href="css/prettyPhoto.css" type="text/css" media="screen" title="prettyPhoto main stylesheet" charset="utf-8" /> <script src="js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script> <style type="text/css" media="screen"> * { margin: 0; padding: 0; } body { font: 62.5%/1.2 Arial, Verdana, Sans-Serif; padding: 0 20px; } h4 { margin: 15px 0 5px 0; } h4, p { font-size: 1.2em; } ul li { display: inline; } </style> <script src="js/ajax.js" type="text/javascript" charset="utf-8"></script> </head> <body onload="testajax();"> <div id="naren"></div> <script type="text/javascript" charset="utf-8"> $(document).ready(function(){ $(".gallery a[rel^=prettyPhoto]").prettyPhoto({theme:'dark_rounded'}); }); </script> </body> </html> try2.php (ajax response page) <h4>Gallery 2</h4> <ul class="gallery clearfix"> <li><a href="images/fullscreen/3.jpg" rel="prettyPhoto[gallery2]"><img src="images/thumbnails/t_3.jpg" width="60" height="60" alt="Lol" /></a></li> <li><a href="images/fullscreen/4.jpg" rel="prettyPhoto[gallery2]"><img src="images/thumbnails/t_4.jpg" width="60" height="60" alt="" /></a></li> <li><a href="images/fullscreen/5.jpg" rel="prettyPhoto[gallery2]"><img src="images/thumbnails/t_5.jpg" width="60" height="60" alt="" /></a></li> <li><a href="images/fullscreen/1.jpg" rel="prettyPhoto[gallery2]"><img src="images/thumbnails/t_1.jpg" width="60" height="60" alt="" /></a></li> <li><a href="images/fullscreen/2.jpg" rel="prettyPhoto[gallery2]"><img src="images/thumbnails/t_2.jpg" width="60" height="60" alt="" /></a></li> </ul> I hope you understand the problem. Thanks, Naren
-
sorry not framework, i was taking about abstraction layer. Which is the best one to use? ADODB or PDO?
-
sorry not framework, i was taking about abstraction layer. Which is the best one to use? ADODB or PDO?
-
I am using php with smarty template engine and mysql. I want to use some framework for mysql database. That is a social networking site. Please suggest me any best framework with advantages. Thanks Naren
-
I am using php with smarty template engine and mysql. I want to use some framework for mysql database. That is a social networking site. Please suggest me any best framework with advantages. Thanks Naren
-
Hi, Can you give me some useful links or script, to create avatars. I tried, but unable to find in google. Plz help me... Thanks in advance.... Naren
-
Thanks for your help. I got it. This is the query for that one. SELECT * FROM tbluserdetails WHERE STRCMP( HEX( LOWER( username ) ) , HEX( username ) ) =1 Thanks once again.
-
thanks for your response, SELECT * FROM tablename WHERE HEX( LOWER( username ) ) = HEX( username ) By using this query i am able to retrieve user records who are not having capital letters in their username. how to make not eqval to for the above query. So that i can get required output.
-
Thanks for your response. I am new to mysql. Can you explain me in a clear way. If you done mind, can you tell the query for this. Thanks in advance.
-
I have a table tbluserdetails. username Joindate email kElvin 2008-10-9 [email protected] alex 2008-10-9 [email protected] Austin 2008-10-9 [email protected] john 2008-10-9 [email protected] With mysql query, i want to retrieve the user records, who has capital letter in their username. My required output is: username Joindate email kElvin 2008-10-9 [email protected] Austin 2008-10-9 [email protected] Help me... Thanks in advance.....
-
Hi, In my site i have one link, when i click that link it display some images. I am using Ajax. Images are loading one by one to the page. Every image has one link on down to it. When page is loading with images, If i click on any link of the image which is loaded to the page, then the remaining images are not loading to the page. Sorry for my bad english. Thanks in advance. Naren
-
Thanks for your response. I am using Ajax to display the images. Images are loading one by one. When images are loading if i click the already loaded images, remaining images are not loading to the page.
-
Hi, In my site, i have one link named images. After clicking the link it calls some Javascript functions(Ajax).And I get response(images) using ajax.when i click that link its displays some 20 images(using ajax). The page is loading image by image. when the page is loading if i click on 1st image remaining images are not loading to the site. Its working fine in FireFox but not in IE. Help me in this. Thanks in advance. Naren
-
its not animated. if you know how to do....help me to convert swf file to jpg using php.
-
thanks 4 reply...... Using php i want to convert swf file to jpg or gif.
-
I want to convert SWF file to JPG image. Help me in this. Thanks in advance
-
Here is my code, <?php require_once("ChartDirector/lib/phpchartdir.php"); $MarksArray['0']='12'; $MarksArray['1']='23'; $MarksArray['2']='32'; $MarksArray['3']='23'; $MarksArray['4']='34'; $MarksArray['5']='45'; $MarksArray['6']='54'; $MarksArray['7']='34'; $MarksArray['8']='23'; $MarksArray['9']='23'; $MarksArray['10']='12'; $MarksArray['11']='11'; $MarksArray['12']='23'; $MarksArray['13']='1'; $MarksArray['14']='2'; $MarksArray['15']='3'; $MarksArray['16']='2'; $MarksArray['17']='12'; $labels = array("0","1", "2", "3", "4","5", "6", "7", "8", "9","10", "11", "12", "13", "14","15", "16", "17"); # Create a XYChart object of size 400 x 240 pixels $c = new XYChart(400, 240); # Add a title to the chart using 10 pt Arial font $c->addTitle("Monthly Bar Graph Report", "", 10); # Set the plot area at (50, 25) and of size 320 x 180. Use two alternative background # colors (0xffffc0 and 0xffffe0) $c->setPlotArea(50, 25, 900, 150, 0xffffc0, 0xffffe0); # Add a legend box at (55, 18) using horizontal layout. Use 8 pt Arial font, with # transparent background $legendObj = $c->addLegend(55, 18, false, "", ; $legendObj->setBackground(Transparent); # Add a title to the y-axis $c->xAxis->setTitle("Number Of Candidates"); # Reserve 20 pixels at the top of the y-axis for the legend box $c->yAxis->setTopMargin(20); //$c->yAxis->setLabelFormat("{value}"); # Set the x axis labels $c->xAxis->setLabels($labels); # Add a multi-bar layer with 3 data sets and 3 pixels 3D depth $layer = $c->addBarLayer2(Side, 3); $layer->addDataSet($MarksArray, 0xff8080, "Marks"); //$layer->addDataSet($data1, 0x80ff80, "Clicks ($count_clicks)"); //$layer->setDataLabelFormat("{value|0}"); $layer->setAggregateLabelStyle(); # output the chart header("Content-type: image/png"); print($c->makeChart2(PNG)); ?> Thanks in advance,
-
<?php echo $b; // output is abc ?> by using this $b i have to get the value of 'abc' from common.inc.php common.inc.php <?php define('abc','hello'); ?> if any solution please let me know.............
-
<?php $b='abc'; // dynamic echo $b; // output is abc ?> by using this $b i have to get the value of 'abc' from common.inc.php common.inc.php <?php define('abc','hello'); ?> if any solution please let me know.............
-
meta_tag.php <? define('ABOUT US','We are the development People'); define('ABOUT US','We are the development People'); define('ABOUT US','We are the development People'); define('ABOUT US','We are the development People'); ?> test.php <?php $FileName = "meta_tag.php"; $handle = fopen($FileName, 'r+') or die("Can't open file"); while (!feof($handle)) { $buffer = fgets($handle, 4096); $buffer = htmlspecialchars( $buffer ); $msg.= $buffer."<br>"; } fclose($handle); $myFile = "update_test.php"; $msg = html_entity_decode( $msg, ENT_QUOTES, "utf-8" ); $fh = fopen($myFile, 'w') or die("can't open file"); fputs( $fh, $msg ); fclose( $fh ); ?> the output in update_test.php should be same as meta_tag.php
-
<br /> is adding to the every line. please help me.
-
i want to write the following data to a file. <? define('ABOUT US','We are the development People'); define('ABOUT US','We are the development People'); define('ABOUT US','We are the development People'); define('ABOUT US','We are the development People'); ?> i want to write the code as it is in output file. But in the output file, the code is displaying like this, <? <br>define('ABOUT US','We are the development People'); <br>define('ABOUT US','We are the development People'); <br>define('ABOUT US','We are the development People'); <br>define('ABOUT US','We are the development People'); <br>?><br> please help me
-
are there any html functions which not let the <br /> to insert into the output
-
i want to write the following data to a file. <? define('ABOUT US','We are the development People'); define('ABOUT US','We are the development People'); define('ABOUT US','We are the development People'); define('ABOUT US','We are the development People'); ?> i want to write the code as it is in output file. But in the output file, the code is displaying like this, <? <br>define('ABOUT US','We are the development People'); <br>define('ABOUT US','We are the development People'); <br>define('ABOUT US','We are the development People'); <br>define('ABOUT US','We are the development People'); <br>?><br> please help me