39,393 Topics
![]() | |
I know that myisam is no longer used by I don't know how to update the query. I am trying to create tables with text in "Run SQL query in myphpadmin. Can anyone help? This is the complete error I receive: //MySQL said: Documentation #1064 - You have an error … ![]() | |
I have a problem with resizing images with imagemagick this is the info ImageMagick module info Array ( [versionNumber] => 1672 [versionString] => ImageMagick 6.8.8-7 Q16 x86_64 2015-01-27 http://www.imagemagick.org ) this is the imagemagick.php <?php $im = new Imagick(); $im->newPseudoImage(50, 50, "gradient:red-black"); $draw = new ImagickDraw(); $draw->pushPattern('gradient', 0, 0, 50, … ![]() | |
I have created a page where employees submits their daily status report at every end of the day so on admin page I have created 3 drop down menus first one is Select User Select Month Select Year So a bit confused about the code to be intended I tried … | |
I have a page which has a form table. It displays select option when an option is selected the user clicks button and it runs choosecake.php which has query for updating. I need the select to be dynamically updated and display the success/error message like "updated" or "no results" on … | |
I have a php loop that writes hundrends of records, I need to have a button on each line to trigger a bootstrap modal that will allow to edit this specific record. can't really sent the line ID (it's user ID) via GEt since the URL doesn't change, or by … ![]() | |
Cant figure our why I get this error, Please Help! this is my php file: <?php $servername = "localhost"; $username = "ebookcas_down"; $password = "down2263"; $dbname = "ebookcas_down"; // Create connection $link = mysqli_connect($servername, $username, $password); mysql_select_db($dbname); if ($CatID != "") { mysql_query("UPDATE Download_Cat Set CatName ='" . addslashes($CategoryName) . … | |
Hi, I'm working on a wordpress website where every product page has its own top banner that appears on the page using php. This works fine on the products but when I try to have a different banner on the category page it shows the banner that was the first … | |
In my Excel col1 col2 col3 100_45 9852 5 My code $one = isset($excel->sheets[0]['cells'][$x][1]) ? $excel->sheets[0]['cells'][$x][1] : ''; $two = isset($excel->sheets[0]['cells'][$x][2]) ? $excel->sheets[0]['cells'][$x][2] : ''; $three = isset($excel->sheets[0]['cells'][$x][3]) ? $excel->sheets[0]['cells'][$x][3] : ''; $four = isset($excel->sheets[0]['cells'][$x][1]) ? $excel->sheets[0]['cells'][$x][4] : ''; In my Excel only 3 records but i want to insert … | |
Hi All, I was wondering if anyone could have a look at this code and explain why the page doesn't display an image? Basically I have a camer taking pictures very few minutes and I want to display the latest one. <!DOCTYPE html> <html> <head> <title>Picture</title> </head> <body> <a href="index.html">Return … | |
![]() | |
I need to put this loginform a login attempt after 3 unsuccessful attempts. Can you please help me out in this situation, I've been trying to do this several days now and none of them is working. I've try some examples on the net but the problem is I can't … | |
<?php session_start(); if (isset($_SESSION['username'])) { include("database.php"); $username = $_SESSION['username']; $query = "SELECT * FROM tblpatient_pass p, tblpatient_info i WHERE p.RelationMR_no = i.MR_no AND p.username='$username'"; $result = mysql_query($query) or die(mysql_error()); $patient = mysql_num_rows($result); if ($patient!=0) { while ($row = mysql_fetch_array($result)) { $dMR_no = $row[0]; $dusername = $row[1]; $dpassword = $row[2]; $demail … | |
Hello i a have a problem with my site. The thing is that the images take too much space and the site runs slow. A programmer seiad that i need to resize them. How do i do that? i have set the upload file to be under 2mb. this is … | |
HI i am trying to work with a html5 canvas for signature capture i got script and try to get the signature with ajax and php function saveit() { var myDrawing=document.getElementById("newSignature"); var drawingString=myDrawing.ToDataUrl("image/png"); var postData="canvas="+drawingString; var ajax=new XMLHttpRequest(); ajax.open("POST",'saveimage.php',true); ajax.setRequestHeader('Content-Type','canvas/upload'); ajax.onreadystatechange=function() { if(ajax.readyState==4) {alert("image saved"); } ajax.send(postData); } and here … | |
hello, I have trouble with mustache php template engine. I have this: $get2 = mysqli_query($link,"SELECT * FROM users_table"); while($row = mysqli_fetch_assoc($get2)) { $values3 = array('repo' => array( 'name3'=>$row['user_name'], ),); } And in template file i try to catch all with: <select> {{#repo}} <option value="{{ name3 }}">{{ name3 }}</option> {{/repo}} </select> … | |
while saving in database, if I save A it shouldnot save as A, it should save as 1, for b as 2, it should continue till 26. How it is possible? ![]() | |
I have to make a select to get the info from db from a particular article id it it about an php to mysql database field edit. Thanks in advance! <? include "db.php";//database connection $order = "SELECT * FROM comanda where ['id']=''"; $result = mysql_query($order); $row = mysql_fetch_array($result); ?> <form … | |
![]() | hello every one i am creating form of 15 question length for 5 questions it worked but when i increase the length of question to 15 or 18 dont work plz help me it's urgent <?php //Start session session_start(); //Include database connection details require_once('connection/config.php'); //Array to store validation errors //$errmsg_arr … ![]() |
How to do Autocomplete in php? Can any one tell me with example in ajax with javascript. | |
![]() | I am Creating a form with some question about 3 or 4 question.answers are submitted via radio button which has to be inserted in database.I have 2 problems problem 1: in given code i have implemented for one question as we know for inserting the ans in database we have … ![]() |
I am trying to get a dropdown box to choose what is printed out. The dropdown is populated by course names and when a selection is made I want certain course modules releated to that course printed. Code to post course name- ?php if ( isset( $_POST['send'])) { print_r( $_POST … | |
I am totally new in Wamp server and i don t know how to handle a problem. I installed wamp 64-bit server and i am trying to open the localhost/phpmyadmin page but i get the following message. Can someone with simple steps tell me how to make the server work … | |
<div class="form-group"> <label for='image' class="col-sm-2 control-label">Leader Board</label> <div class="col-sm-10"> <input id= "txt_lead" type = "text" name="image_lead" class="form-control input-sm" onclick ="javascript:document.getElementById('file_lead').click();"> <input id = "file_lead" type= "file" accept="image/*" name="file_ads_lead" style='visibility: hidden;' onchange="ChangeText(this, 'txt_lead');"/> <?php echo form_error('image_lead', '<small class="pull-right req">', '</small>');?> </div> </div> <script> function ChangeText(oFileInput, sTargetID) { document.getElementById(sTargetID).value = oFileInput.value.replace("C:\\fakepath\\", "");; … | |
Hi All, Just wanted to know how to post the contents of a file to a 3rd party server using post. I wish to upload the fields and entries on my excel sheet to a different server in one go, that server only support POST and GET. | |
im working on a project .. SCENARIO:::in which we want to collect comment given by 3rd party users or end users and by seeing the comments we should give ratings! My IDEA:: i am grad student- intersted in algorithms and problem solving.. and my intention is to create a two … | |
how to insert text box value in mysql using laravel???????? | |
I seem to have something mixed up with my code. Its just not working. I need help please <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Bootstrap 101 Template</title> <!-- Bootstrap --> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="css/style.css" rel="stylesheet"> <!-- HTML5 Shim and Respond.js IE8 … ![]() | |
![]() | What do people think about PHP template engines, or CMS's that get the end user to develop using these template syntax. Is it an extra learning curve, is it not very flexible? Is it a great asset discuss... ![]() |
hi guys , Need help on how to insert files (.docx,pdf and etc.) using laravel . |
The End.