39,320 Topics
| |
[CODE]How to echo html code in php echo not for email... <?php echo '<a href="http://digg.com/submit?phase=2&url='. $_POST["url"] .'&title='.echo $_POST["title"].'" target="_blank"><img src="http://www.virtualdolphintherapy.com/images/digg.png" alt="Digg" width="64" height="63" border="0" /></a>'; ?> how can i make this code to disply in browser page...[/CODE] | |
Hello, I would like to create navigation tab like this picture: http://www.innovation.web.id/tab2.jpg I just cannot find a way - to create navigation tab like the design. Any idea how to? | |
Fatal error: Uncaught exception 'Google_AuthException' with message 'Error fetching OAuth2 access token, message: 'invalid_grant'' in /var/www/html/edplace/dev2568/cron_files/google-api-php-client/src/auth/Google_OAuth2.php:115 Stack trace: #0 /var/www/html/edplace/dev2568/cron_files/google-api-php-client/src/Google_Client.php(131): Google_OAuth2->authenticate(Array, '4/He7CoB42K1zSX...') #1 /var/www/html/edplace/dev2568/cron_files/cron_job_for_export_and_sent_parent_list_to_google_drive.php(126): Google_Client->authenticate('4/He7CoB42K1zSX...') #2 /var/www/html/edplace/dev2568/cron_files/cron_job_for_export_and_sent_parent_list_to_google_drive.php(7): export_to_csv(Array) #3 {main} thrown in /var/www/html/edplace/dev2568/cron_files/google-api-php-client/src/auth/Google_OAuth2.php on line 115 error_reporting(E_ALL); ini_set('display_errors', 1); $clientId = "xxx"; $clientSecret = "xxx"; $authCode = "4/xxxx"; require_once("google-api-php-client/src/Google_Client.php"); require_once("google-api-php-client/src/contrib/Google_DriveService.php"); … | |
pls i need help from my friends out there.. i am gettin aform validation error in my contact page when i first try to load it using a webserver like xampp or wampp, else if i jus run with my web browser there is no such error .. here is … | |
Hello iwant a script in php i describe my problem below > i checked all the checkbox and updated after updating i am getting values from enable field but when i checked randomly i am not getting updating i am getting different values to be checked Here's the code /* … | |
Hello everyone, I have a comment system using PHP and ajax, but it only have and function add, now I want to have a function edit comment and delete comment, so I need some example link guide to make reference, who known please share, thank for read. Here is example … | |
Hello, I am trying to create button link with image. This is the code: index.php <div style="margin: -250px 0 0 700px;"><a href="#"><img src="images/button_program.jpg"></a></div><br><br> I wonder why I cannot click the button when I hover my mouse over the button. Usually the mouse cusor turns into hand cusor as a sign … | |
Hello, The website that I build has xampp logo sides it's title. I wonder how to erase it? Daniweb has the right logo - > Mind has xampp logo in it. I would like to erase it or change it but I do not know how to? index.php <!DOCTYPE html> … | |
I am using mailgun. now i am sending mail from gmail to my domain. using mailgun api i am getting that and showing that content in my webpage. but when i am adding images in middle of the text or in signature of the mail image is not showing in … | |
i have a database table with fields mobno1 and mobno2, first i would like store all the values of field mobno1 into var1 and field mobno2 into var2 by using comma seperator and pdo. my code is as follows. $pdo = Database::connect(); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $sql = "SELECT mobno1,mobno2 FROM custreg"; … | |
i just installed wamp server then php version 5.2.6 but when i start the wamp server services and select the phpmyadmin option, a page with the error 'phpMyAdmin - Error Cannot load mysqli extension. Please check your PHP configuration. - Documentation' p what can i do to fix it? i … | |
Hello, I am trying to fix my server file path. After moving my web project file from localhost to the server. There are several errors that appears. One of them is: Destination folder does not exist or no permissions to see it. file_upload_exercise.php define('DESTINATION_FOLDER','c://xampp/htdocs/squprime/administrator/admin/materialstorage/'); if (!@file_exists(DESTINATION_FOLDER)) { $errors[] = "Destination … | |
Can someone help me explain the coding? if(isset($_SESSION['patron_ID'])) { set_time_limit(0); include 'dbconnect.php'; $studylevel1 = $_POST['studylevel']; if(isset($_POST['submit'])) { do { $senderid = $_SESSION['patron_ID']; $studylevel1 = $_POST['studylevel'];}}} | |
How to delete Data from multiple tables. For example Iam having category id in one data base table .in another data base table iam having this id if i delete category id it should display a message as first delete in that table if the id is there in that … | |
hello everyone im working on my masters thesis project, i need a help on how to convert md5 password into binary andthen generate a randomly number, then calculate there exclusive OR, i mean that suppose i have attechd the code in this msg. but the PROBLEM here is that it … | |
i want to print the bill to printer from php mysql database? is it possible? help me please!!!!! | |
jst a small Query..!! . . How to convert string to Date format.. So tht i can get result from database..!!! $date = "mm/dd/yy"; i want in yy-mm-dd format...!!! which function is used for it.!! . . waiting for positive reply..!! | |
`Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\administrator\admin\schedule.php on line 187` admin/schedule.php //LOAD CLASS LIST $sqlstr = "SELECT * FROM class_list INNER JOIN `group` ON class_list.group_id = `group`.group_id INNER JOIN teacher ON class_list.teach_id = teacher.teach_id INNER JOIN class ON class_list.class_id = class.class_id WHERE datetime > '".date('Y-m-d … | |
Hello all, I'm code php concern with google map api, run it don't alert error, still marker and display infowindows but map don't display, I need hear some advice or guide to solve it problem. thank for help P/s: Sorry that my ability of English is not good http://i1095.photobucket.com/albums/i472/OLAKEN91/ff_zps9e66a073.png | |
Hi, all. Currently i am facing some problem with my coding. I am used this code to insert data from multiple checkbox values into database. but its still not happen anything. Sorry, i am new to php. Please can anyone help me on this? I would be more appreciate if … | |
hello guys.. i have made a form in checkbox which is in fieldset by categories.. so now the values is success inserted into database.. but i've got problem to make it displayed. The form will pass value YES if user select from form. if user select a checkbox at form. … | |
im new in web development and i wanna know, how can make a dynamic file path or dynamic source directory. its like : <img id="branding-logo" src="/image/logo.png"> <link rel="stylesheet" href="/images/green.css"> <script src="/js/jquery.js"></script> main { background: url('/images/CAT119/hp-images/hptilebggreen.jpg') top left repeat-x; } so basically what i want to know is how can i … | |
Hello, I am trying to create a messaging system inter-user within the same website. 1 message_id int(4) 2 from_stu_username varchar(30) 3 date datetime 4 messages varchar(200) 5 to_stu_username varchar(30) admin/messages.php //Hapus berita // undefined index: mode if (!empty($_REQUEST['message_id'])) { $message_id = $_REQUEST['message_id']; $result = mysql_query("DELETE FROM messages WHERE message_id =".$message_id) … | |
I need to know how I can display the data stored in the database using php when a user load a page, without necessary puting them as it is on a static web page. | |
Hi I am writing a php program, it gives the error "parse error syntax error unexpected t_constant_encapsed_string expecting ']' " the code is <a href="blog.php?id=<?php echo $article['_id']; ?>">View </a> any suggestion? | |
hi. i'm seeking help with checkboxes.i have built a ordering system. i have two tables "food" and "refreshments" both consists of columns "name,price" . what i want to do is . if i click on my submit button , all the checked checkboxes should be added up and have a … | |
Hi, Currently we have legacy system which is build purely using java and runs on jboss. We notice its using a lot of jms and also httpurl connectivity to pass on files. The system basically supports rossetta net framework where it allows file transfers between trading partners. We notice with … | |
I am not sure what I am doing wrong but can't seem to recieve test email for this php form the form is at the bottom of this code snippet <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>MIAPP</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> <!-- FAVICON --> <link rel="shortcut … | |
Hi All, I'm having trouble understanding how the spl_autload (and namespaces) should be implemented. I have the following: namespace A\Core; class Controller { } extended by: class SiteController extends \A\Core\Controller { public function __construct() { echo 'Created SiteController!'; } } * I'm not sure if this is the correct/best way … | |
I need Live Webcam Video Streaming Script for a tv channel website pl help |
The End.