User Profile

Collapse

Profile Sidebar

Collapse
rohitsavalia
rohitsavalia
Last Activity: Jan 22 '08, 12:10 PM
Joined: Apr 17 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • rohitsavalia
    replied to what is problem with curl_init()
    in PHP
    =============== =============== =============

    thanks for your replay,

    but please look again at my code, i put "JUST ECHO TEXT" in my body tag, and i think it should display..???

    i m telling that curl_init() function generate php error which wipe out my all output....
    See more | Go to post

    Leave a comment:


  • rohitsavalia
    started a topic what is problem with curl_init()
    in PHP

    what is problem with curl_init()

    here is my code:
    =============== =============== =============== =========
    <?
    $ch = curl_init();
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;...
    See more | Go to post

  • rohitsavalia
    replied to cascading dropdown menus
    in PHP
    Just replace your $query2 line with this :

    $query2=mysql_q uery("SELECT * FROM route WHERE Route_From='".$ _POST["Desde"]."'") or die(mysql_error ());
    See more | Go to post

    Leave a comment:


  • rohitsavalia
    replied to problem with php passing variable
    in PHP
    Just replace this code in your body tag and save that file as file.php

    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#1 11111" width="100%" id="AutoNumber1 ">
    <tr>
    <td width="50%" style="padding: 10"><a href="file.php? add=category">A dd
    ...
    See more | Go to post

    Leave a comment:


  • Thanks teesha,

    very thanks for your reply, but u don't understand my question...

    you said that first I select db using mysql_select_db... ok
    then I create new db using mysql_query("CR EATE ...");... ok

    Now please tell me how can a database create with in existing database..

    I just want to create a fresh new database when my user registered firstime.
    For that i have
    ...
    See more | Go to post

    Leave a comment:


  • I can't create New Database using PHP command on server. My coding is here...

    <?
    //phpmyadmin version on server 4.1.21

    $DBSERVER = "localhost" ;
    //$DATABASENAME = "test";
    $USERNAME = "username";
    $PASSWORD = "password";
    $db=mysql_conne ct($DBSERVER, $USERNAME, $PASSWORD);

    $dbname = 'testdb1';
    mysql_query("CR EATE DATABASE $dbname") or die("Couldn't Create Database: $dbname");

    ...
    See more | Go to post

  • rohitsavalia
    replied to Sending Attachment with mail()
    in PHP
    Thanks for link. Thank you again....
    See more | Go to post

    Leave a comment:


  • rohitsavalia
    started a topic Sending Attachment with mail()
    in PHP

    Sending Attachment with mail()

    Hi,
    Please can anyone tell me how to send attachment with mail using PHP code.
    I want to just send a attachment file.
    See more | Go to post
No activity results to display
Show More
Working...