- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 6
- Posts with Downvotes
- 5
- Downvoting Members
- 5
22 Posted Topics
[CODE] php header('location:www.google.com'); javascript : window.location = 'www.google.com'; [/CODE]
no problem but best for use include_onc() function
[http://rajeevphp2011.blogspot.in/2012/05/export-to-excel-from-php-mysql.html](http://rajeevphp2011.blogspot.in/2012/05/export-to-excel-from-php-mysql.html)
Please use above **ob_start()** function
are you want mail with attechment [ please cick here](http://rajeevphp2011.blogspot.in/2012/03/mail-script-for-attach-file.html)
[ show how to call php function in javascript ](http://rajeevphp2011.blogspot.in/2012/03/call-php-function-into-javascript-using.html)
$result = mysql_query($query); in this line $result = mysql_query($query , $db);
any one please explain me how to use cakephp framework or any MVC base framework . i have knowledge of php and WordPress
[CODE] <?php echo "<a href='ProfileDoctor.php' style='color:#33FF00;'>$dname</a>"; ?> [/CODE]
line no 103 to 106 [CODE] $result=mysql_query("UPDATE studentinfo_tbl SET ID='$ID', FirstName='$FN', LastName='$LN', Year='$Year', Course='$Course' WHERE ID='$ID'") or die(mysql_error()); //$result=mysql_query($query); if($result) // mysql_affected_row() { echo("<br>Record Updated!"); } else { echo("Failed to Update Record!"); }[/CODE]
for better solution you store path (url) in database and image file in folder when you fetch record from database that time check url exis or not them check file exist or not it better solution
you are also use join operation for solution [URL="http://rajeevphp2011.blogspot.in/2012/02/how-to-use-join-in-mysql_4806.html"]http://rajeevphp2011.blogspot.in/2012/02/how-to-use-join-in-mysql_4806.html[/URL]
html is client side scripting and for dynamic site need to server side language such as PHP ,ASP ,JSP etc or you use any CMS for this
you are getting this error due to user name is not correct i think
SELECT * FROM TableName ORDER BY colunamnName ASC / DESC ;
you are also use this condition and try in server not in localhost and use $header also if(mail($to, $subject, $message)) { echo 'Email successfully sent'; } else { echo 'Email is not successfully sent'; }
[CODE]<html> <body> <script type="text/javascript"> var d = new Date(); var time = d.getHours(); if (time == 10 ) { document.write("<b>Good morning</b>"); } </script> <p>This example demonstrates the If statement.</p> <p>If the time on your browser is less than 10, you will get a "Good morning" greeting.</p> </body> </html>[/CODE]
use this $_SESSION['myusername']=$myusername; in place of $_SESSION['myusername']==$myusername;
[URL="http://rajeevphp2011.blogspot.in/2012/02/mobile-number-validation-in-javascript_3393.html"] for mobile number validation [/URL]
echo date('d-m-Y', strtotime($date)); for change date format in php
we are want to pass value in url when we click om menu in <?php wp_nav_menuservice(array('menu' => '27')); ?> function click on menu , current output in url: [url]http://localhost/daffodilsite/?page_id=540[/url] and we want in url: [url]http://localhost/daffodilsite/?page_id=540&cityid=3[/url] please help me how to pass cityid in url thanks Rajeev Dhar
The End.
rajeevphp2011