- Strength to Increase Rep
- +11
- Strength to Decrease Rep
- -2
- Upvotes Received
- 161
- Posts with Upvotes
- 122
- Upvoting Members
- 78
- Downvotes Received
- 10
- Posts with Downvotes
- 10
- Downvoting Members
- 4
- Interests
- Games, Movies, Music.
- PC Specs
- Ubuntu 13.04/Win8, i5-2500k, 16Gb 1600Mhz, GForce 560Ti.
Re:
I m working on a MLM project in which i have to store member automatically in binary tree form like 1 is root 2 is child of 1 3 is child of 1 Then 4 is child of 2 5 is child of 2 6 is child of 3 7 … |
|
|
Re:
Hello there, > colud you please tell me that how can i generate html into csv, actually it display all tr and td into csv file, here i have share my code <?php /*include("wp-config.php"); include("wp-app.php"); include("wp-active.php"); include("wp-settings.php");*/ //include("index.php"); include("wp-load.php"); include("wp-includes/template-loader.php"); header ("Expires: Mon, 12 Aug 1988 23:30:00 GMT"); header ("Last-Modified: … |
Re:
I am now working on a project that allows high school students in Ghana study maths among themselves. I would like to embedded editor on the page but dont know how to go by it. Any help. |
|
Re:
currently I have a survey with 10 questions on a html/ php form. I use post data and then have a long insert statment. My code looks something like this. <php? $surveyid = $_POST['surveyid']; $q1 = $_POST['q1']; $q1comments = $_POST['q1comments']; $q2 = $_POST['q2']; $q2comments = $_POST['q2comments']; $q3 = $_POST['q3']; $q3comments … |
|
Re:
Hi everyone, i'm having problem on what PHP code that is appropriate for me to search for a specific data from mysql database, help me with how to go about please |
|
Re:
I was trying to tweak some html headers due to change in content type and facing a weird issue When I execute the below code it doesn't gets email delivered at all $htmlheader = "From: $emailad\r\nContent-Type: text/html\r\nContent-Transfer-Encoding: 8bit\r\n"; But when I add extra slash ( \ ) and double quotes … |
|
Re:
I am trying to allow my users to upload videos to my site and i have the php file upload but it will not work, it worked with images but once i changed it to video it stopped working this is the code <?php $allowedExts = array("mp4", "mov", "avi", "flv","mpg", … |
|
Re:
"Our investigation currently indicates that the attackers accessed Adobe customer IDs and encrypted passwords on our systems. We also believe the attackers removed from our systems certain information relating to 2.9 million Adobe customers, including customer names, encrypted credit or debit card numbers, expiration dates, and other information relating to … |
|
Re:
Hello There! Im trying to study php on my own. But i have a problem installing "xampp". So please help me. this keeps on showing: 10:27:35 AM [mysql] Expected Path: d:\xampp3\mysql\bin\mysqld.exe --defaults-file=d:\xampp3\mysql\bin\my.ini mysql 10:27:35 AM [mysql] Problem detected! 10:27:35 AM [mysql] Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" … |
|
Re:
I want to Learn about this "android and php web services". please give me some good resources for learn about this subject.(Video tutorials links) |
|
Re:
Okay I hope my title is not confusing. I have two checkboxes names Delete[] and Update[] followed by a textbox named Name[]. When I tick checkbox Delete[] and click Submit, I ran a query to delete the data based on that Checkbox's value (which I have set to be the … |
|
Re:
Some one help me to provide working fblogin script. Thanks and Regards. |
|
Re:
hi friend , m facing problem to generate pdf file. i m using following code:- if(isset($_POST['pro'])) { include "common.php";// for db conectivity $tablename="rentsum"; $sql = "Select empcode,ticket_no,ctgcode,empname,allot_dt,to_char(qtrno) qtrno,type,seccode,wt,lf,'0' arr ,CONSERV con,met_chg,'0' eu from $tablename where MONTH='$month' AND YEAR='$year' and type not in ('4','5','0') order by qtrno "; $result =oci_parse($conn,$sql); oci_execute($result); … |
|
Re:
hi friends, I already have a code that upload image with re size it. [CODE]<form action="<?php echo $_server['php-self']; ?>" method="post" enctype="multipart/form-data" id="something" class="uniForm"> <input name="new_image" id="new_image" size="30" type="file" class="fileUpload" /> <input type="submit" name="submit" value="Submit"><p> </form> <?php if(isset($_POST['submit'])){ if (isset ($_FILES['new_image'])){ $imagename = $_FILES['new_image']['name']; $source = $_FILES['new_image']['tmp_name']; $target = "images/".$imagename; move_uploaded_file($source, … |
|
|
|
Re:
this is my sendmsg coding page. Am i right? its not working. First i got fatal error: call undefined function curl_init(). i cleared that error. now it takes time to load 10 to 15 seconds and show error in that page. coding is below... $name = $_POST['name']; $connum = $_POST['connum']; … |
|
Re:
I would like to know if its possible to extract data from a database and then displayed the data in a pdf file ? |
|
Re:
Hi Everyone. I have the following preg_match to check user passwords contain elseif (!preg_match( "((?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,15})",$bpwd ) ) { 1 Upper Case Letter 1 lower case letter 1 number It works as described, but what I am looking to do is to create a stronger password requirement. I would like to … |
|
Re:
**SUMMARY** Hello all, I am currently working on a project that requires me to mine data from websites so i can work with it later. I have been using cURL to accomplish pretty much all the needs i have had thus far. I ran into a complication that cURL is … |
|
Re:
I've cust_name and install_no columns in table, each customer's name repeated 12 times as rows how to insert numbers 1 to 12 in install_no column for all rows. table sample: ----------------------------- cust_name | install_no ---------------------------- ROGER | 1 ---------------------------- ROGER | 2 ---------------------------- ROGER | 3 ---------------------------- ROGER | 4 … |
|
Re:
I need help with an assignment. I have been working of this the better part of a week and still do not really understand what I am meant to do. This is my first week using PHP and I am really confused. Here are the instructions: Write a PHP script … |
|
Re:
I am hoping someone can help me fix the issue I am having with a php script that sends a email with a attachement. The script does generate a email that goes out. However when I recieve it the email has a attachment correctly named but when I open it, … |
|
Re:
$userEmail = $db->query("SELECT email FROM users WHERE email='$email'"); $userPsswd = $db->query("SELECT password FROM users WHERE email='$email'"); Can someone tell me what I've done wrong in teh two lines above? I'm getting the following errors. PHP Warning: SQLite3::query(): Unable to prepare statement: 1, near "@hotmail": syntax error in /var/www/ET/password/accounts.php on line … |
|
Re:
Hi all, the following PHP MysSQLi query works in XAMPP but not in WAMP: <?php include('../../inc/config.php'); $mysqli = mysqli_connect($config['host'], $config['user'], $config['pass'], $config['db']); $responseQuery = "SELECT tr.id as trid,tr.topicid,tr.usersid,DATE_FORMAT(tr.date_added,'%b %d, %Y %H:%i') AS format_date_added,tr.date_added,tr.response,tr.status, t.id, t.usersid as creatorid, u.id, u.authuser, u.memtype, u.fn,u.ln,u.avatar FROM topic_response tr LEFT OUTER JOIN topic t ON … |
|
Re:
The following code used in productlist.php // some code manipulation to generate new values $filetodownload = 'DoubleClick to run.txt'; $filehandler=fopen($filetodownload,"w"); fwrite($filehandler,$generatedValue); fclose($filehandler); header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename='.$filetodownload); header('Content-Transfer-Encoding: binary'); header('Expires: 0'); header('Cache-Control: must-revalidate'); header('Pragma: public'); header('Content-Length: ' . filesize($filetodownload)); ob_clean(); flush(); readfile($filetodownload); header('Location:druglist.php'); After file downloaded page … |
|
Re:
i have a problem to redirect user to the requested page after login. 1-this are my files:login.php,register.php,protected.php,plan1.php,member.php et plan2.php,home.php 2-plan1,plan2, and member have a check before people have access. 3-when a user click on plan1 for exemple and get redirect on login.php 4-My problen is after logged in he goes … |
|
Re:
Should be simple right? Well I've been at the PC for 16 hours so far and the answer is probably screaming at me in the face, but I can't hear it... # This code... # $differenceInSeconds = 448005; if($differenceInSeconds >= "86400"){ $calcDays = floor($differenceInSeconds / 86400); if($calcDays = "1"){ $daysPlural … |
|
Re:
I have 2 tables for a simple massage board, one for questions and one for answers. The table forum_questions has a field called 'reply' with holds an int value for the number of answers the question has. My problem is this: I have a form to delete answers, you pick … |
|
Re:
Evening Sirs, I got some problems in PHP when using while loop in tables. My problem is that I can't make the rows be the same width. This is my preview: ![11ce93daec6265124e189def81dc9696](/attachments/large/4/11ce93daec6265124e189def81dc9696.png "11ce93daec6265124e189def81dc9696") I want the blue part of the table, to be equal width with every relative white part. … |
|
Re:
Hi, Please advise which database should choose for developer and dba profile |