Thanks for the reply..
So suppose in my page If javascript print button is available (document.print ) and I am pressing through mobile then it will print right?
One more question can we check available bluetooth devices using HTML5 / php / javascript?
User Profile
Collapse
-
Print mobile website page using html5 / javascript / php / ajax
Hello,
I want to take a print of web page using mobile blue-tooth.
How can we do that?
My mobile site contains HTML5. Can somebody please help me?
regards,
Mayur -
Signature verification
Hello,
Can someone give me idea how to do signature verification using php / javascript / html5 ?
For eg I am using iphone and and generating signature over there. Now I need to compare this signature with previous one (which is available in php application / database). Like a login password.
can someone please help me?
Regards,
Mayur -
Mayur2007 replied to Parse error: syntax error, unexpected T_VARIABLE in D:\Hosting\7659316\html\sendmail.in PHPHello,
I think there is no problem in code just confirm your variable name and post variable names. Also remove or write proper meta tag in header section.
Regards,
Mayur BhayaniLeave a comment:
-
Mayur2007 replied to Parse error: syntax error, unexpected T_VARIABLE in D:\Hosting\7659316\html\sendmail.in PHPHello,
Use the headers (check sample below) instead of $from in your mail function.
Code:// To send HTML mail, the Content-type header must be set $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Additional headers $headers .= 'To: Mary <mary@example.com>' . "\r\n"; $headers .= 'From:
Leave a comment:
-
Mayur2007 replied to Parse error: syntax error, unexpected T_VARIABLE in D:\Hosting\7659316\html\sendmail.in PHPHi,
In your code check the below line
Code:$specialrequest = $_POST['specialrequest']
Thanks,
Mayur BhayaniLeave a comment:
-
Hi
Replace your code with the below code
Code:<html><head> <title>Submit a URL</title> </head> <body> <?php $message = '<font color = "red">The following errors occured: <br/>'; $problem = FALSE; if(!eregi("^[[:alpha:].'-] {4,} $", stripslashes(trim($_POST['name'])))) { $problem = TRUE;
Leave a comment:
-
-
Hello,
I think problem is in this line
Code:$sql_gettrial = "select orderid,userid from tblhosting where DATEDIFF(now(),regdate)=$remind_trial_days and (packageid=23)";
Code:$sql_gettrial = "select orderid,userid from tblhosting where DATEDIFF(now(),regdate)= '".$remind_trial_days."' and (packageid = '23')";
Leave a comment:
-
Hello,
Its not possible. Instead use ajax & PHP.
Regards,
Mayur BhayaniLeave a comment:
-
Hello,
Try the below code
Code:<?php mysql_connect("localhost","root",""); @mysql_select_db("pointofsales") or die ("Unable to connect");; $sql = "INSERT INTO products(prodid, prodname, description, amount, stocks) VALUES ('".$_POST[ProdID]."', '".$_POST[ProdName]."',
Leave a comment:
-
Hello,
For that you have to set user_id in your mysql table.
Regards,
Mayur BhayaniLeave a comment:
-
Hello,
Kindly check the below link. Hope this will help you.
http://docs.elgg.org/wiki/Install_Troubleshooting
Regards,
Mayur Bhayani...Leave a comment:
-
Hello,
You have to write some php code like below
Code:mysql_connect('your host','your username','your password'); mysql_select_db('your database name'); $insquery = "INSERT INTO `tbl_name` (`field1`, `field2`, `field3`) VALUES ('val1', 'val2', 'val3'), ('val1', 'val2', 'val3');"; mysql_query($insquery);
Mayur BhayaniLeave a comment:
-
Hi
check the below link might be it will useful for u.
http://www.tagbytag.org/tutorials/ge...are/wamp-guide
Regards,
Mayur Bhayani...Leave a comment:
-
Please refer the mysql_connect functions syntax and then try it.
see the below for information.
Code:$link = mysql_connect($server, $username, $password) or die('Unable to connect'); if ($link) mysql_select_db($database);
Leave a comment:
-
Yes you can use any of the above to insert data in mysql.
Regards,
Mayur BhayaniLeave a comment:
-
Hello,
See below example, it might be helpful.
Code:$message ='<table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>Name:</td> <td>'.$name.'</td> </tr> <tr> <td>Email:</td> <td>'.$email.'</td> </tr> <tr>
Leave a comment:
-
Hello rizwanrajput,
Just try with the following function.
Code:function password_protected() { if(!is_home() or !is_front_page()) { if ( (!is_user_logged_in() and !is_feed()) or (!is_user_logged_in() and is_feed() and !get_option("wppassprotect_public_feed")=="checked ")) { auth_redirect(); } } }
Thanks & Regards,
Mayur...Leave a comment:
-
Hello,
You can make your page / post password protected from the admin panel >> Edit Page/Post then click on visibility Edit link from right sidebar and set restriction and click on ok button.
Hope your problem will be solved.
Regards,
Mayur Bhayani.Leave a comment:
No activity results to display
Show More
Leave a comment: