Posts
 
Reputation
Joined
Last Seen
Ranked #336
Strength to Increase Rep
+9
Strength to Decrease Rep
-2
85% Quality Score
Upvotes Received
40
Posts with Upvotes
35
Upvoting Members
21
Downvotes Received
6
Posts with Downvotes
5
Downvoting Members
5
15 Commented Posts
2 Endorsements
Ranked #621
Ranked #207
~303.82K People Reached
Favorite Tags
Member Avatar for Jiaxin

Hi, I got this error. Please help. Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in $result_1= mysqli_query($link, "SELECT $criteria FROM table ORDER BY '".$crieria."' ASC); $array1 = array(); while($row = mysqli_fetch_array($result_1)){ array_push($array1, "$row[0]->$criteria", "$row[5]->$criteria" , "$row[10]->$criteria"); }

Member Avatar for Rakesh_13
0
81K
Member Avatar for karthik_ppts

I have purchased SMS gateway from one hosting company. How can i integrate my SMS gateway with my website?

Member Avatar for swatisharma08
0
1K
Member Avatar for csshacker
Member Avatar for Nybuler

Hi all, my boss want me to send an calendar invitation event to Microsoft Outlook i have tried many time already and it still give me the result "This is no a valid internet calendar file" and here my code: [CODE] $vcal = "BEGIN:VCALENDAR"; $vcal .= "VERSION:2.0"; $vcal .= "PRODID:-//CompanyName//ProductName//EN"; …

Member Avatar for Foo_1
0
4K
Member Avatar for jacob21

Hi, I stored hindi data in my my sql table through Php form. While fetching,it is not coming in hindi but some unusual symbols like गिरधर गोपाल रायतानॠis coming. using below code also [CODE]mysql_query('SET character_set_results=utf8'); mysql_query('SET names=utf8'); mysql_query('SET character_set_client=utf8'); mysql_query('SET character_set_connection=utf8'); mysql_query('SET character_set_results=utf8'); mysql_query('SET collation_connection=utf8_general_ci'); [/CODE] Need help..

Member Avatar for diafol
1
7K
Member Avatar for karthik_ppts

Hi Frendz, I need to integrate collabrative editor in my application as code editor with socket programming. Kindly suggest me your thoughts.

Member Avatar for chrishea
0
107
Member Avatar for feblioz

I tried running this code <form action = "upload.php" method="POST enctype="multipart/form-data"> <input type="file" name="file"><BR><BR> <input type="submit" name = "Submit" value ="Submit"> </form> <?php echo $name = $_FILES['file']['name']; $size = $_FILES['file']['size']; $type = $_FILES['file']['type']; $tmp_name = $_FILES['file']['tmp_name']; ?> but im having these errors Notice: Undefined index: file in C:\xampp\htdocs\series\fileupload\upload.php on line …

Member Avatar for amindabj
0
433
Member Avatar for karthik_ppts

Hi Frendz, I need to login with a site to get the content. I'm using the below code to do the same. <?php include_once('simple_html_dom.php'); extract($_POST); if($submit) { $username = '*************'; $password = '*************'; $loginUrl = 'https://secure-admin.booking.com/booking.html?bn=685763648&hotel_id=439210&code=57ed501f25de55965e13ab29fcd936a3'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $loginUrl); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, 'loginname='.$username.'&password='.$password); curl_setopt($ch, CURLOPT_COOKIEJAR, …

Member Avatar for karthik_ppts
0
316
Member Avatar for OldDeveloper01

I get this message quite often and it has popped up again here, any ideas as to why? Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\.... on line 76 line 76 is this line in bold. [CODE] $productlist = ""; $sql = mysql_query("SELECT * FROM products …

Member Avatar for nandkishor.sharma.372_1
0
852
Member Avatar for carebear23

I keep getting the following error and cant seem to figure out where I'm going wrong with the code and have tried changing it but just seem to make is worse wonder could someone please help me, the code i am using is as follows: [CODE] this is the code …

Member Avatar for diafol
0
17K
Member Avatar for OldDeveloper01

Hey if anyone could help me out, that would be superb. It is probably something simple but i am always getting undefined index messages. This is the latest example. [B]Notice: Undefined index: savebtn in C:\xampp\htdocs\practice\editprofile.php on line 20[/B] And this is the php. [CODE] if ($username){ require ("scripts/connect.php"); if ($_POST['savebtn']){ …

Member Avatar for pzuurveen
0
1K
Member Avatar for sharathg.satya

can anyone provide any site with plenty of examples to learn PHP. i got [url]www.w3schools.com[/url] but i didnt find good examples in them. please help me.

Member Avatar for emoviefreak
-1
117
Member Avatar for karthik_ppts

Dear Frendz, Alone with PHP, can we do a "CCTV security and surveillance System" like zoneminder.com? , Please give me an advice on this if any experts having experienced on this application. Regards, Karthik.R

Member Avatar for cereal
1
706
Member Avatar for SunnySideUp

Hi, I am looking for a procedural PHP script that would allow me/my users to upload video content in a number of popular formats. I would also like all the information to be linked into a MySql database as well. I already have a upload script for uploading documents but …

Member Avatar for phpapprentice
0
1K
Member Avatar for aruti

Hello, I Need a TCP / IP Port Listener on my centos VPS Hosting to receive gps tracker signals on ports and store in mysql db. For further processing of received stored data, we are working on a php mysql application, but to listen to port signals, which programming language …

Member Avatar for sharath.mohan.12
0
786
Member Avatar for karthik_ppts

Hi Frendz, I have a set of polygon points on google map. I need to find whether the given input point is lying inside of the polygon or not? If anybody found articles related this please guide me. And also i need the same with poly line.

Member Avatar for msgrasser
0
5K
Member Avatar for sigit_p

hello,.. i have problem with my script, my goals to display image from my query result. i created picture database contain id, name & link (data contain link to picture folder localhost/nseries/A2-1C1-1B.png) on my query display i created dynamic link to picture but when i click the link nothing show …

Member Avatar for sigit_p
0
211
Member Avatar for lilfairy

Hi I am new to php and been following various youtube tutorials and boought a few books, I am now however clueless with my latest error and really need some help. This is my error **Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\lilfairy\admin\library\config.php on line 17** Please have a look …

Member Avatar for karthik_ppts
0
2K
Member Avatar for HasNor

Dear experties, I'm facing the problem which is system not catch data enter by user. It's happen sometimes. Means my system is not stable. So how can I solve this problem even user access thru IE8 or IE 9 and so on. Is it caused by IE version or what?

Member Avatar for HasNor
0
233
Member Avatar for cse.avinash

I am a newbie to php and learning now, can you please help me telling how can I take inputs from users in pHp instead of using forms (i.e., a replacement of scanf() in php. I am solving a question to take number as a input and print that number …

Member Avatar for cse.avinash
0
226
Member Avatar for karthik_ppts
Member Avatar for diafol
0
118
Member Avatar for karthik_ppts
Member Avatar for newbie1234

<table> <tr><td>Date</td><td>Job_id</td><td>Active</td>/tr> <?php while ($row = mysqli_fetch_assoc($rs_total)) { ?> <tr> <td><? echo $row["Date"]; ?></td> <td> <?php echo "<a href='work.php?ID=".$row['Job_id']."'>".$row['Job_id']."</a>"; ?></td> <td><? if($row["Active"]==0) echo "Active"; else if ($row["Active"]==2) echo "Completed"; else echo "Not active"; ?></td> </tr> <?php }; ?> </table> in this code i want to transfer the id on pop …

Member Avatar for newbie1234
0
372
Member Avatar for tstory28

I am trying to figure out why the PHP will not check the database level and echo the proper message. Hopefully someone can help me figure this out. [CODE]<?php $connect = mysql_connect("localhost","goforgol_master","!rach22*") or die("Couldn't connect!"); mysql_select_db("goforgol_phplogin") or die("Couldn't find database"); session_start(); $email = $_POST['email']; $password = $_POST['password']; if ($email&&$password) { …

Member Avatar for joydeepd
0
245
Member Avatar for mlhazan

Dear users, I am new to PHP5. My LAMP is working just fine.I made small database connect scripts and they just worked as it should.Then I tried the following code and run the mysql.php but showing me following error: [CODE]Could not run query: Access denied for user 'www-data'@'localhost' (using password: …

Member Avatar for emclondon
0
163
Member Avatar for dtidmas1

Hi everyone, The following code is returning the error message "Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/vhosts/numyspace.co.uk/web_users/home/~unn_u011067/public_html/displayclassbooks.php on line 24" and I'm not sure why? Basically I have a list of classifications (for a book catalogue) and all the options work except for DISPLAY …

Member Avatar for dtidmas1
0
211
Member Avatar for HasNor

Hi all..i have a problem that i want to upload file less than 5MB..but it doesn't work for file size more than 3MB..what happen huh? Please help me.. [CODE] <?php include "connection/db_connect.php"; include "template.php"; $reqid=$_GET['reqid']; if (($_FILES["file"]["type"]) && ($_FILES["file"]["size"] < 5000000000000)) { if ($_FILES["file"]["error"] > 0) { echo "Return Code: …

Member Avatar for HasNor
0
166
Member Avatar for ak47carbon

I want to sent email to all enews subcribers but how can i send mail more than one person but when i used this coding its working not properly.it is send 3 times mails to one person plz help me[CODE] <?php // Connects to your Database include("connection.php"); ?> <link href="../log.css" …

Member Avatar for ak47carbon
0
829
Member Avatar for darkiel21

<?php echo "<html> <head><title>comment box</title></head> <body> <hr width=1000>"; require('connect.php'); if(isset($_POST['submit'])) { $name = $_POST['name']; $comment = $_POST['comment']; echo "<font color=white><center>"; $result= mysql_query(" INSERT INTO COMMENT (name,comment) VALUES ('$name','$comment')") or die(mysql_error()); while($row = mysql_fetch_array($result)) { echo "<tr> <th>ID</th> <th>Name</th> <th>Comment</th></tr>"; echo "<tr>"; echo '<td>' . $row['name'] . '</td>'; echo '<td>' . …

Member Avatar for karthik_ppts
0
656
Member Avatar for HasNor

hi all... i have a problem when my boss ask me to do something that i don't know how to do it.. i need the idea for increment ID that will count by date.. For example today is 7/3/2012,user send request then id become AB-070312-1, user send other request at …

Member Avatar for HasNor
0
159