• Member Avatar for Bachu
    Bachu

    Replied To a Post in Problem with login

    Can you show me your code ? For reference [Click Here](http://www.9lessons.info/2009/09/php-login-page-example.html)
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in make div's height expand with its content

    Did you give any height to this div in your CSS ? If yes, please remove; please check [Click Here](http://stackoverflow.com/questions/1709442/make-divs-height-expand-with-its-content)
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in how to select drop down list menu in php

    Check this [Click Here](http://www.91weblessons.com/php-ajax-country-state-city-drop-down/)
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in mp3 file bitrate changer

    Check this [Click Here](http://stackoverflow.com/questions/4628221/how-to-compress-or-convert-to-low-quality-mp3-file-from-php)
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in only vertical moving in textarea

    You can set this in your CSS,like textarea { overflow-y: scroll; overflow-x: hidden; }
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in how to leave the values after period (.)

    Try this function setMyValue ($myValue) { $newValue = (int)$myValue; $myArray = array_reverse(str_split($newValue)); $myValue =""; foreach ($myArray as $key=>$myDigits) { $myValue.=($key>0 && $key%2==0) ? ":" : ""; $myValue.= $myDigits; } return …
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in Resize multiple images on upload - PHP

    Try this [Click Here](http://www.sanwebe.com/2012/09/ajax-multiple-image-upload-resize-with-jquery-and-php)
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in pagination

    Try this [Click Here](http://www.9lessons.info/2009/09/pagination-with-jquery-mysql-and-php.html)
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in how to add youtube id to embedded youtube vedio

    Try this <?php $yt_url="http://www.youtube.com/watch?v=ZvzwthHh-IQ"; function get_youtube_id_from_url($url) { preg_match("/^(?:http(?:s)?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:(?:watch)?\?(?:.*&)?v(?:i)?=|(?:embed|v|vi|user)\/))([^\?&\"'>]+)/", $url, $matches); return $matches[1]; } $variable= get_youtube_id_from_url($yt_url); echo "<div align='center'><iframe src=\"//www.youtube.com/embed/" . $variable. "\" style=\"background: #fff;\" frameborder=\"0\" height=\"300\" scrolling=\"auto\" width=\"480\"></iframe></div>"; ?>
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in share

    facebook will crawl your website URL for to get the title, description, and thumbnail. when you test with localhost, change the the URL http://localhost/ to http://127.0.0.1/.
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in send image from one page to display in another page

    Did you echo **$imageName=$_GET['image'];** on page2.php ? please show your page2 codes ...
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in Uploading multiple images without name duplication

    Check the below link [Click Here](http://www.daniweb.com/web-development/php/threads/466125/upload-and-increment-filename)
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in How to capture option value and echo out or concatenate to include file?

    Hai; Try this <form name="form1" method="post" action="#"> <label for="country">View outlets in which country? </label> <select name="country_chosen" onchange="document.form1.submit()" id="country"> <option value="">All Middle Eastern Countries</option> <option value="Iraq">Iraq</option> <option value="Kuwait">Kuwait</option> <option value="Bahrain">Bahrain</option> <option …
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in Software for WAMP for Mac?

    http://www.mamp.info/en/index.html
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in syntax error in if else

    Change the above code to this <td><input type="text" name="c1" value=" <?php if($p_id!="")echo $a; else echo $p_name; ?>" ></td>
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in get data by month from mysql using php

    Try this <?php $result = mysql_query("SELECT DATE_FORMAT(`joindate`,'%m/%Y') AS MonthYear FROM member GROUP BY YEAR(joindate), MONTH(joindate);"); while($row = mysql_fetch_array($result)) { echo '<h2>'.$row['MonthYear'].' </h2>'; $resultTwo = mysql_query("SELECT * FROM member WHERE DATE_FORMAT(`joindate`,'%m/%Y') …
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in Read first row from csv file and create table according to(csv file file)

    Try this <?php //table Name $tableName = "MyTable"; //database name $dbName = "MyDatabase"; $conn = mysql_connect("localhost", "root", "") or die(mysql_error()); mysql_select_db($dbName) or die(mysql_error()); //get the first row fields $fields = …
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in trim content

    I tested your above code in my local pc. It works fine.Make sure that "$data['content']" having contents or check your database table structure.
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in php with css connection

    I have done an example here . In your php file <?php class SimpleXMLElement_Plus extends SimpleXMLElement { public function addMyCss( $name, $value ) { $dom_sxe = dom_import_simplexml($this); $dom_parent = $dom_sxe->ownerDocument; …
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in php with css connection

    Check this link [Click Here](http://www.php.net/manual/en/class.simplexmlelement.php)
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in Jquery Login dialog box closes without show validation errors

    Try this [Click Here](http://designwoop.com/2012/07/tutorial-coding-a-jquery-popup-modal-contact-form/)
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in TextArea storing </ br> in database

    Check this link [Click Here](http://stackoverflow.com/questions/855577/br-tags-appearing-in-textarea-output)
  • Member Avatar for Bachu
    Bachu

    Replied To a Post in function Not Closing ul, li tags correctly

    Hai; Try this <?php include("config.php"); function runQry ($qry){ $rows = array(); $result = mysql_query($qry); if($result) { while($row = mysql_fetch_object($result)) { $rows[] = $row; } } else { $rows = null; …

The End.