Search results

  1. E

    php and mysql help

    First of all create a database and Run this sql query in Phpmyadmin then follow next steps... CREATE TABLE IF NOT EXISTS `members` ( `ID` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(255) NOT NULL, `sign_up_date` datetime NOT NULL, `email` varchar(255) NOT NULL, `bio`...
  2. E

    email problem

    Use this script for sending mail: <?php $to = "$toemail"; $subject = "$sub"; $body = "$msg"; $headers = "From: $cname<$cemail>\r\n"; $name = "$cname"; if (mail($to, $subject, $body, $headers, '')) { echo("<p>Thanks You have recieve an...
  3. E

    Mysql connection

    First create database in cpanel by Mysql Database Wizard....... then define username password in your file eg. <?php define('DB_HOST', 'localhost'); define('DB_USER', 'your_db_username'); define('DB_PASSWORD', 'your_password'); define('DB_DATABASE', 'your_db'); ?>
  4. E

    simple jQuery image slider...

    <head> <style> .paintslider { margin:0 auto; width:900px; height:140px; margin-top:30px; } img{ display: block; } .pics{ float:left; width:900px; height:120px; overflow:hidden; margin-left:50px; } .pics img{ float:left; height:100px; width:150px...