39,320 Topics
| |
This is the first url: http://localhost/SquprimeRevise/administrator/admin/invoice_edit.php?group_id=7&type=new invoice_edit.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Squprime</title> <!-- CSS --> <link href="style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" /> <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie6.css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie7.css" /><![endif]--> <!-- … | |
Hey I am trying to create forget password feature. When a user forget the login password an email address must be send to his/her email with a password reset link. I wonder how to do so? I have the user password stored in the database I can retrive it easily. … | |
Hello, I am getting a weird error when i try to run this array: //leafly api keys $appID ='Blah'; $appKEY = 'blah'; //init curl $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://data.leafly.com/strains/".strtolower($data)); //change the strain dynamically of course for your app curl_setopt($ch,CURLOPT_HTTPHEADER,array('APP_ID:'.$appID,'APP_KEY:'.$appKEY)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $output = curl_exec($ch); //Clean it into an … | |
Hi, I have the below array (or is it called string?) with javascript date and a value. I need to sord the elements by the date but i dont know how to do this?! [1366754400000, 8], [1366840800000, 3], [1366927200000, 1], [1368482400000, 1], [1384383600000, 1], [1369951200000, 1], [1377554400000, 1], [1377813600000, 8], … | |
//LOAD IMAGE TABLE $filename = $_FILES["file"]["name"]; $image_info = getimagesize($filename); $image_width = $image_info[0]; $image_height = $image_info[1]; echo "filename1 : ".$_FILES["file"]["name"]; echo "filename : ".$filename; echo "image info : ".$image_info[0]; echo "image info : ".$image_info[1]; echo "image width : ".$image_width; echo "image height : ".$image_height; filename1 : feature1.png filename : feature1.png image … | |
Hi...i would like to save and edit some excel files located in server using php. The coding below upload the file but when i open the page again...the message 'no file chosen' appears. Please help on this matter...thanks a lot... <?php error_reporting(E_ALL ^ E_NOTICE); $_SESSION['Targetid']; $_SESSION["Progressid"]; $conn = mysql_connect("localhost","pqa",""); mysql_select_db("pq",$conn); … | |
I have two arrays, and my problem is when I pick one value of first array it must also remotely picked the same value of the second array. Explain : array ("Volvo","BMW","Toyota"); array ("200","300","400"); It's like when I choose "Volvo" it must also remotely choose "200" OR when I choose … | |
I am working on a quiz app image 1 shows the index.php page image 2 shows the first question image 3 shows the second question image 4 shows the third question image 5 shows the result after completing the quiz image 6 shows the database 'quizzer' and its tables image … | |
hi i have a little problem, that i want to print the count of id, so i write this: $conn=mysqli_connect("localhost", "root", "","test") or die(mysqli_error()); $compt=mysqli_query($conn,"SELECT count(id) FROM `users`", MYSQLI_USE_RESULT); print $compt; to connect to db and extract the count id, i have an error and i dont know how to … | |
Hi, I'm trying to get the value from a javascript: `window.locaiton.href = "db/create_eoi.php?refNum=" + rNum;`. <?php if(isset($_GET["rNum"])){ $refNum = trim($_GET["rNum"]); } ?> the problem is that where ever I use `$refNum` I get an error saying Undefined Variable. To be more clear: what im doing is getting a value from … | |
Hi, I'm getting an url variable from this `test.php?ids=1,2,3` and need to transform it to Array ( [0] => 1 [1] => 8 [2] => 9 ) What I've tried is : `$ids = explode(', ', $_GET["ids"]);` but that gives me an array like this: Array ( [0] => 1,8,9 … | |
Im trying to convert mysql query to mysqli but it doesnt work...why? From: mysql_query("UPDATE views SET views=views+1 WHERE viewID='1'"); To: $q1=$mysqli->query("UPDATE views SET views=views+1 WHERE viewID='1'"); Errors: Notice: Undefined variable: mysqli in C:\wamp\www\SICS\home.php on line 5 Fatal error: Call to a member function query() on a non-object in C:\wamp\www\SICS\home.php on … | |
hi guys..i have a question...let me explain first..for my project i'm doing a checkbox for user to tick for several documents..after user click the checkbox..it will save in the database..based on that database..what i want is to display that checkbox..for example..if this checkbox have 10 ..then if the user tick … | |
hi im looking at creating a events system for my members similar to the images below would it be best to change a calendar software or change a clasified ads but if anyone can think of anything else i can use to do this as im not good at php … | |
Hi All, I am developing a website in which i am selecting some values form database by a query When i am running query on PHPMyAdmin i am getting desired results but when i am using this query in actual PHP code, i am getting value of Last row. Can … | |
Hello, I need a help to sorting data from php table by using a dropdown menu.. The table is reservations and im going to sort the reserve_Date where when I click the reserve Date then the data will be display.. Can someone help me? This the code form dropdown menu … | |
i don't know how to refresh a textarea. if i have a text file opened on this textarea and i entre some lines into this file, i want to refresh my textarea in ..second automaticaly ..to see the new lines.. <textarea id="chat" rows='38' cols='189'> <?php $file1 = "test.txt"; $file2 = … | |
Hello. I'm preety new to php and web development and I've written a large scale development using php and I want to be able to work on it on my windows machine. But does anyone know of an istallation so I can just straight up run php scripts on windows??? … | |
Hi All, I have a PHP code to display table data with a column of checkboxes used to click to mark the test case as Blocked. I am trying to save the state of checkbox after it is submitted, but I am unable to do so. Please help! echo "<form … | |
http://www.conservancyonmayne.com Each main page of this site (other than "index.html") has had its main dropdown menus display via a php include statement - example www.conservancyonmayne.com/talks&walks.php - I have recently added a jslider sequence that appears below this main menu. The problem: when the full dropdown "content" is on the page … | |
How to redirect url links with parameter in htaccess? Example : for_rent/detail?pro_id=Estrpsatx0usdf-wsdf/dsfet_js-97&type=..... | |
Greetings pros :D. I am having problem with creating a directory on my linux server. When i download a file it display that error. (I migrated my php project from windows to linux using WinSCP.) | |
i'm having a problem with parsing variables from previous page and saving to database on the next page. i have two pages . first page is where i view my data. i do a select sum, and it works. now on my second page i want to take the total … | |
All, I'm trying to pass a hidden value into my php mail script - the img1 isn't displaying - in the e-mail it's coming across with just http://www.mysite.com/custom_clock/sills/ and not the img1 value The html form is here: <form name="customemail" action="mail.php" onsubmit="return SubMail_Validator(this)" method="POST"> <b>E-mail</b><br/> <input type="text" name="from" size="25"><br> <input … | |
Hi, to my understanding, `isset()` checks is the variable exist and have a value. But when I try the code below, _randNum() keeps on getting new values when it should already have a value because it already exist and have a value. <?php session_start(); if(!isset($_randNum)){ //Check if the variable dont … | |
| Hi All, Been a bit bored, so went at it to create a class from some long procedural stuff I found littered in various guises all over the web. The code I used as a base for the class came from [here](http://www.codediesel.com/php/downloading-gmail-attachments-using-php/). As this uses IMAP functions and many of … |
Please help me. thanks <?php if ( wt_get_option( 'wt_show_post_img' ) == 1 ){ if (has_post_thumbnail() ) { ?> <div class="thumbnail single-post-thumbnail"><?php the_post_thumbnail( 'wt840_420' ); ?></div><?php } } ?> | |
I read a bit around here, but as I'm a newbie I couldn't configure what to change the description to on my own, can someone help me? I get this error: ` Warning: Illegal string offset 'members_seo_name' in F:\Server\xampp\htdocs\ipbwaqar\admin\sources\classes\output\publicOutput.php(3526) : eval()'d code on line 12` **publicOutput.php looks something like this:** … | |
The scenario is like this: * I am using a CMS that uses FCKEditor (that's what came with it not CKEditor). * I use this CMS a lot, I'm pretty familiar with it and I have never had a problem on my machine or anyone else's using the Admin facility … | |
Hi everyone...have this table as header and i want to display it in all 2 tabs ie Quarter tabs.Currently, the header detail is only displayed in Quater 1 tab...and eventhough i've use include (header.php) in Quarter 2 tab, the header detail is not displayed.Please advise how to display the same … |
The End.