Jump to content

asaquzzaman

Member
  • Posts

    8
  • Joined

  • Last visited

Posts posted by asaquzzaman

  1. I can't to insert data in mysql from my wordpress plugins page. Under following code. Please tell me why i did mistake.

     

    if(isset($_POST['upload'])){

    $uri = 'http://'. $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];

    $total_field = $_POST['total_field'];

    $db_tb = $_POST['db_tb'];

    for($i=0; $i<=$total_field; $i++){

    $var[$i] = $_POST[$i];

    }

    $column=mysql_query("select * from ".$db_tb."");

    if($column){

    $columncount = mysql_num_fields($column);

    }

    for($i=0; $i<$columncount; $i++){

    $mysql_field[$i] = mysql_field_name($column,$i);

    }

    foreach($mysql_field as $key=>$value){

    $data[$value] = $var[$key];

    }

    global $wpdb;

    $suess = $wpdb->insert( $db_tb, $data, $format );

    if($suess){

    header("location:".$uri."");

    }

    }

  2. Yahoooo my problem solved. Andrea, sorry its my fault. Without properly setup my mail account i am trying to sending mail.

    Now the mail incoming and outgoing is active with my both address <joymishu@mishu.elementfx.com> & <mishu@mishu.elementfx.com>

    you can check it to sent me a test mail. Thanks again.

    One question, can i get this incoming & outgoing mail service from my index.php page? I can handel outgoing with the help of mail() function. But i can't to handel incoming. How can i do that?

  3. I am just trying to learning with my subdomain and my subdomain is www.mishu.elementfx.com

    and i am set up <mishu@mishu.elementfx.com> this mail address. So you can send me mail this address. But <joymishu@mishu.elementfx.com> will not work. Why i don't know. This is the default address from my hosting plan & joymishu is the username.

    By the way, i am success incomeing mail <mishu@mishu.elementfx.com> with this address but fail for outgoing. I want to success for outgoing, how?

  4. Thanks a lot Andrea. It's now working. But i can only receive mail from my hosting mail account. I can't to sent email to other mail account from my hosting email account. When i am trying to sending email the following message appear "SMTP Error (550): Failed to add recipient "joy.mishu@gmail.com" (Verification failed for No Such User Here Sender verify failed)"

    so how i can sent email to other email account from my hosting mail account?

    Check my attachments picture. hope you will understand my problem.

    post-35782-042531800 1314596849_thumb.png

  5. jQuery toggle direction

    Please, improve it without css

    To run this program you should connect your net.

    <html>

    <head>

    <title>Jquery toggle direction</title>

    <script src="http://code.jquery.com/jquery-latest.js"</script>

    <script type="text/javascript">

    jQuery(document).ready(function(){

    jQuery(".toggle").hover(function(){

    jQuery(".bottom_left,.bottom_right,.top_left,.top_right").toggle(1000);

    });

    });

    </script>

    <style>

    .bottom_left {

    background-color:#EDEDED;

    border:2px solid #666666;

    font-size:35px;

    line-height:1.3em;

    display:none;

    padding:10px;

    position:absolute;

    text-align:center;

    width:300px;

    -moz-border-radius:10px;

    -webkit-border-radius:10px;

    -moz-box-shadow:0 0 5px #888888;

    -webkit-box-shadow:0 0 5px #888888;

    bottom:385px;

    right:625px;

    }

    .bottom_right {

    background-color:#EDEDED;

    border:2px solid #666666;

    font-size:35px;

    line-height:1.3em;

    display:none;

    padding:10px;

    position:absolute;

    text-align:center;

    width:320px;

    -moz-border-radius:10px;

    -webkit-border-radius:10px;

    -moz-box-shadow:0 0 5px #888888;

    -webkit-box-shadow:0 0 5px #888888;

    bottom:385px;

    left:500px;

    }

    .top_left {

    background-color:#EDEDED;

    border:2px solid #666666;

    font-size:35px;

    line-height:1.3em;

    display:none;

    padding:10px;

    position:absolute;

    text-align:center;

    width:300px;

    -moz-border-radius:10px;

    -webkit-border-radius:10px;

    -moz-box-shadow:0 0 5px #888888;

    -webkit-box-shadow:0 0 5px #888888;

    top:240px;

    right:625px;

    }

    .top_right {

    background-color:#EDEDED;

    border:2px solid #666666;

    font-size:35px;

    line-height:1.3em;

    display:none;

    padding:10px;

    position:absolute;

    text-align:center;

    width:300px;

    -moz-border-radius:10px;

    -webkit-border-radius:10px;

    -moz-box-shadow:0 0 5px #888888;

    -webkit-box-shadow:0 0 5px #888888;

    top:240px;

    left:500px;

    }

    .toggle

    {

    position:absolute;

    z-index:2;

    cursor:pointer;

    left:400px;

    top:170px;

    text-decoration:underline;

    }

    .mishu

    {

    position:absolute;

    font-size:20px;

    top:350px;

    left:250px;

    }

     

    </style>

    </head>

    <body>

    <div class="toggle"> <h1>Toggle</h1></div>

    <div class="mishu">Become fan on my facebook account <a href="http://en-gb.facebook.com/people/Mishu-Asaquzzaman/100000130253126" target="_blank">joy.mishu@gmail.com</a></div>

    <div class="bottom_left">Bottom to left toggle</div>

    <div class="bottom_right">Bottom to right toggle</div>

    <div class="top_left">Top to left toggle</div>

    <div class="top_right">Top to right toggle</div>

    </body>

    </html>

     

    View Demo

×
×
  • Create New...