39,323 Topics
| |
I have following tables for photo album script. How to display Album title and album cover inside anchor tag? (Display Albums cover on homepage and redirect to gallery page, when clicked, to see images inside that album) * get id of album * get album title * get album cover … | |
**I want to track Email if opened by user and increase the count in my database.** **I have tried a lot a things like image sending and bgsound but none of them worked. But now i will do with the help of image sending. I am not getting the idea … | |
Hello, I am trying to "transfer" geolocation-data to a php script. I think, that the reason it wont work is, i can't get the varible from outside the function. So far, i got this code. How do i get it to work?! :) <body onload="office_getLocation()"> <script src="min.js" type="text/javascript"></script> <script type="text/javascript"> … | |
I have a server script with which i have allowed the user to mark any item as favorite, but i also want another script through which the user can unfavorite the same item if they want and that item should be deleted from their favorite list. I have kept the … | |
Is it possible to convert pdf to image without imagick. | |
| Trying to create a registration page...but i notice that Data is being sent to database on page load. I would like this to happen when the user click on Register button. What am i doing wrong...any solotion please? My database is below and code is also below: <?php require_once('Connections/bankusers.php'); ?> … |
Hello, I try to explain my situation. I need to insert multilanguage support in my php site. I used this script called common.php: <?php session_start(); header('Cache-control: private'); // IE 6 FIX if(isSet($_GET['lang'])) { $lang = $_GET['lang']; // register the session and set the cookie $_SESSION['lang'] = $lang; setcookie('lang', $lang, time() … | |
I have a simple form to search a table for the search term entered into that form. $query = $_GET['term']; $min_length = 1; if(strlen($query) >= $min_length){ $query = htmlspecialchars($query); $query = mysqli_real_escape_string($link, $query); } Here the variable 'query' is the search query posted using the get method from the form. … | |
Hallo, I am trying to create a calendar elearning like this: [schedule](http://www.innovation.web.id/schedule.jpg) Any idea how to? The student and teacher must be able to book the calendar. Any clue how to? Thanks in advance. | |
i got this code from the internet to export mysql query to excel using php..i just modify it to meet my need. i need some help on this..thanks.. <?php $DB_Server = "localhost"; $DB_Username = "root"; $DB_Password = ""; $DB_DBName = "dcde"; $DB_TBLName = "po"; $filename = "filename"; $sql = "Select … | |
Hello.... I want to convert swf to mp4 using ffmpeg in php ? Thare are Any particulre script avaible for this ? | |
i need to change the - of the date into / in $myDate1 . here is my code but its not working. also i need to insert / in the $myDate2 variable. $myDate1 = "06-20-2014"; $myDate2 = "06202014"; $newDate1 = date("m/d/Y", strtotime($myDate1)); $newDate2 = date("m/d/Y", strtotime($myDate2)); echo $newDate1; echo $newDate2; … | |
I have this code, where I want to get inclusive dates between two dates. Date1 is the date to day and Date2 is the date after 7 days. I am having problem because the code returns date from the past day, How should I fix it? This is my query. … | |
i got the following entry in my dtabase.. field: poNo 001 002 003 004 005 006 007 008 009 0010 0011 0012 0013 if i issue in my php program this sql statement: $query = "SELECT * FROM po ORDER BY poNo ASC"; the result is: 001 0010 0011 0012 … | |
here is my code foreach($test as $t=>sid) $sid->'name of table' $sid->'name of table' $sid->'name of table' $sid->'name of table' when i use this code i can only retrieve the last inserted data. i want to retrieve all the data on my html table. Thanks in advance. | |
studentinfo.php //Simpan berita if (isset($_POST['ok'])){ if (empty($_GET['student_id'])) { $sqlstr = "INSERT INTO `student`(group_id, student_name, student_address, student_telp, student_hp, whatsapp, skype, facebook, twitter) VALUES('".$group_id."','".$student_name."','".$student_address."','".$student_telp."','".$student_hp."','".$whatsapp."','".$skype."','".$facebook."','".$twitter."')"; include('studentinfopic_upload.php'); } else { $sqlstr = "UPDATE `student` SET student_name='".$student_name."', student_address='".$student_address."', student_telp='".$student_telp."', student_hp='".$student_hp."', whatsapp='".$whatsapp."', skype='".$skype."', facebook='".$facebook."', twitter='".$twitter."' WHERE student_id=".$_GET['student_id']; include('studentinfopic_upload.php'); } $result = mysql_query($sqlstr) or die(mysql_error()); //Jika mode … | |
This code is to create a simple database to insert records into a table ... but the table appears to be empty with the following errors after entry>> errors: Notice: Undefined index: FirstName in C:\xampp\htdocs\my_php_files\insert.php on line 34 Notice: Undefined index: LastName in C:\xampp\htdocs\my_php_files\insert.php on line 35 Notice: Undefined index: … | |
I have a question that I want to print out the result that I have calculated using php.not confuse with(print or echo) I am asking for page print. | |
hy i have a php script that its insert my sql db row two values,after i make the request to show that row $row.name. its show like this valueone,valuetwo with , its is possible to show that two values on that row one down to another like valueone, valuetwo ? … | |
http://lucasstark.com/estore/shop/donation-sample/ Anyone know a cheaper option to add text fields on a woocommerce product page. 99.00 is too steep for my client. | |
| Please correct the two syntax errors after " exit; " on line 8 and 16. code below: <?php $bad_login_limit = 3; $lockout_time = 600; $first_failed_login = failed_login_count; // retrieve from DB if( ($failed_login_count >= $bad_login_limit) && (time() - ($first_failed_login) < $lockout_time) ) { echo "You are currently locked out." ; … |
Hi, Im having a problem with the following code of mine: <?php require_once 'config.php'; $title = "Home!"; $content = <<<EOF <h3>Current Statistics</h3> Our Home Page! EOF; include 'layout.php'; ?> when i try and render the page i get the follwing error: Parse error: syntax error, unexpected $end, expecting T_VARIABLE or … | |
Diafol, anybody pls help. i have this javascript code <script> FB.init({ appId : '00000000000000', frictionlessRequests: true, }); function sendRequestToRecipients() { var user_ids = document.getElementsByName("user_ids")[0].value; FB.ui({method: 'apprequests', message: 'Great App', to: user_ids, }, requestCallback); } function sendRequestViaMultiFriendSelector() { FB.ui({method: 'apprequests', message: 'My Great Request' }, requestCallback); } function requestCallback(response) { console.log(response); … | |
Good day Admins, I have now variables $learner_id $student_pasword The learner_id and student_password are being used as their log in accounts. While the student_id is being used as their unique id and it is auto-incremented. Here are my codes. Student_login_handler.php <?php session_start(); include 'Connect.php'; $flag = ""; $learner_id = $_POST['learner_id']; … | |
Hi everyone. I have this problem, my for each output is incorrect. This is my form, I have a dynamic table. It think the problem is not here, but for the sake of more clear explanations. ![f02560409ffa7053e6601d38d966fc3b](/attachments/large/3/f02560409ffa7053e6601d38d966fc3b.png "f02560409ffa7053e6601d38d966fc3b") I am passing the values of that table to another page, I … | |
hello. im not sure if this is the right forum because it is about php echo AND js but since it is about echoing i thought this forum will be better. sorry if i asked in the wrong forum. Anyway, so i want to know if echoing a js script … | |
Hi Friends, I am developing a Music download system. I thought to have two database tables. One for songs and other one is for artists because some songs have two or more artists. Then I created two tables call `songs` and `songartists`. Following are the structures of that tables. `songs` … | |
Hello I want to import combination of csv that look like bellow attach image. ![aa52fba6db0049c40f21ad6daaa65a98](/attachments/large/4/aa52fba6db0049c40f21ad6daaa65a98.png "aa52fba6db0049c40f21ad6daaa65a98") OR look like *Combination:* **Attributes:** Color - Metal, Disk space - Optional 64GB solid-state drive, ICU - 1.60GHz Intel Core 2 Duo Any One can suggest me how i can format my csv.. Thank … | |
Hi all, I hope this is the right place to ask I've been searching high and low for a script that I cannot seem to find. I'm looking for a script that will allow me to make a list of items with about 6 columns for each item (sortable by … |
The End.