=============== =============== =============
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....
User Profile
Collapse
-
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;... -
Just replace your $query2 line with this :
$query2=mysql_q uery("SELECT * FROM route WHERE Route_From='".$ _POST["Desde"]."'") or die(mysql_error ());Leave a comment:
-
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
...Leave a comment:
-
rohitsavalia replied to I can't create New Database using PHP command on server. My coding is here...in PHPThanks 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...Leave a comment:
-
rohitsavalia started a topic I can't create New Database using PHP command on server. My coding is here...in PHPI 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");
... -
-
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.
No activity results to display
Show More
Leave a comment: