- Strength to Increase Rep
- +9
- Strength to Decrease Rep
- -2
- Upvotes Received
- 40
- Posts with Upvotes
- 35
- Upvoting Members
- 21
- Downvotes Received
- 6
- Posts with Downvotes
- 5
- Downvoting Members
- 5
Re: check your spelling is correct or not for '$crieria' near to ORDER BY | |
I have purchased SMS gateway from one hosting company. How can i integrate my SMS gateway with my website? | |
Re: [CODE=php]$result=mysql_query("select * from tbl_name"); function xlsBOF() { echo pack("ssssss", 0x809, 0x8, 0x0, 0x10, 0x0, 0x0); return; } function xlsEOF() { echo pack("ss", 0x0A, 0x00); return; } function xlsWriteNumber($Row, $Col, $Value) { echo pack("sssss", 0x203, 14, $Row, $Col, 0x0); echo pack("d", $Value); return; } function xlsWriteLabel($Row, $Col, $Value ) { $L … | |
Re: Just try the following code and check wheather the calendar opens correctly or not. [CODE] header("Content-Type: text/Calendar"); header("Content-Disposition: inline; filename=calendar.ics"); $vcal = "BEGIN:VCALENDAR"; $vcal .= "VERSION:2.0"; $vcal .= "PRODID:-//CompanyName//ProductName//EN"; $vcal .= "METHOD:REQUEST"; $vcal .= "BEGIN:VEVENT"; $vcal .= "ATTENDEE;CN=\"Attendee1Name\";ROLE=REQ-PARTICIPANT;RSVP=FALSE:MAILTO:Att1Mail@mail.com"; $vcal .= "ATTENDEE;CN=\"Attendee2Name\";ROLE=REQ-PARTICIPANT;RSVP=FALSE:MAILTO:Att2Mail@mail.com"; $vcal .= "UID:".date('Ymd').'T'.date('His')."-".rand()."-besta.com.my"; $vcal .= "DTSTAMP:".date('Ymd').'T'.date('His'); $vcal .= "DTSTART:09/06/2011"; … | |
Re: In phpmyadmin table, is it visible as hindi text or symbols? | |
Hi Frendz, I need to integrate collabrative editor in my application as code editor with socket programming. Kindly suggest me your thoughts. | |
Re: you have missed the quote at the end of the method="POST try this [CODE=php] <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 if($_POST["submit"]) { echo $name = $_FILES['file']['name']; $size = $_FILES['file']['size']; $type = $_FILES['file']['type']; $tmp_name = $_FILES['file']['tmp_name']; } ?> [/CODE] … | |
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, … | |
| Re: May be you have mistaken in table name or fieldname. so just echo your query as given below. Copy that query and paste it in phpmyadmin's SQL Section and see the output. [CODE] echo $query="SELECT * FROM products ORDER BY dateadded DESC"; $sql = mysql_query($query); $productCount = mysql_num_rows($sql); // count … |
Re: Mark solved if its solved. | |
| Re: [QUOTE=Kaniki;1531926]Hi! GUyz could any one help me about this code i dont know what is wrong cuz the second html code is working but this php code it gives me error: Undefined index: username in C:\wamp\www\web.php on line 2... GET AND POSTcode does not working for me! plz any help … |
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 | |
Re: This is the code that i have used in one of my application to upload video of any format. [CODE] include("media_handler.php"); if($Upload1) { //Flv Converter $_mediahandler=new media_handler(); $rootpath =""; $inputpath = $rootpath."Videos"; $outputpath = $rootpath. "FLV"; $thumbpath = $rootpath. "Thumbs"; $outfile = "sample.png"; $source = $HTTP_POST_FILES['video_upload']['tmp_name']; $name = $HTTP_POST_FILES['video_upload']['name']; $fileSize … | |
Re: Hi Aruthi, I'm also having the same problem. how did you solve that problem? | |
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. | |
Re: goto the view source of your browser and check wheather the image path is correct or not in source. | |
Re: Mark this thread as solved if your problem solved. | |
Re: gothrough these links http://www.w3schools.com/php/func_string_addslashes.asp http://www.w3schools.com/php/func_string_stripslashes.asp | |
Re: without submit button you can't get the value of user input. Try with veedeoo's code | |
Dear Frendz, Can we publish a web application in php like .Net? | |
Hi Frendz, How to send data report to mail in VB6.0? | |
Re: here when you need the popup? onclick of the job_id? | |
Re: try this and see what error it shows. [CODE=php]$connection = mysql_connect($server,$conn_username,$conn_password); if (!$connection) { die('Could not connect: ' . mysql_error()); }[/CODE] | |
Re: Replace your line 17 [CODE=php]$booksSQL ="select class, title, author from l_stock WHERE (l_stock.class=$classification)";[/CODE] with [CODE=php]$booksSQL ="select class, title, author from l_stock $whereClause";[/CODE] | |
Re: what datatype you have used for size in your attachment table? | |
Re: echo out your line 155 as follows and see the o/p. [CODE]echo $to =$loopadd['enew_email'];[/CODE] | |
Re: You can't extract data from insert query resultset using mysql_fetch_array. Use [B]select [/B]query to extract the data. | |
Re: try this [CODE] <?php $dept="AB"; $dateStr=date("dmy"); $rs_max=mysql_query("select max(id) as maxid from your_tbl_name where your_date_field=date(now()) and your_dept_field='$dept'"); $max_id=mysql_result($rs_max,0,"maxid")+1; $needed_string=$dept."-".$dateStr."-".$max_id; ?> [/CODE] |