- 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
320 Posted Topics
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] | |
Re: mark this thread as solved if your problem solved | |
Re: Go through this link [url]http://php.net/manual/en/function.odbc-connect.php[/url] | |
Re: Posting this thread under web design->css/html will give more result. | |
Re: posting your code with code tags will be helpful for us. | |
Re: [CODE] select u.name, u.subscription_package, i.image_url from users u,userimages i where u.userid =i.userid; [/CODE] | |
Re: assign stud_no value to the check box as follows echo "<input type='checkbox' name='check[]' value='".$row['stud_no']."'>"; and store this value in another table while submit. Use **[code]** tags to post your codes | |
Re: try this [url]http://roshanbh.com.np/2008/01/populate-triple-drop-down-list-change-options-value-from-database-using-ajax-and-php.html[/url] | |
Re: Replace the line 40 [CODE=php] echo "<tr><td bgcolor=\"white\">".$img."></td>";[/CODE] with [CODE=php]echo "<tr><td bgcolor=\"white\"><img src='foldername/$img'></td>";[/CODE] and no need of this line [CODE=php]echo "<br";[/CODE] if you are using <table> if you need change it as [CODE=php]echo "<br>";[/CODE] | |
| |
Re: where is the `from` clause in your select query? | |
Re: Why you use comparison operator(==) on line 3? [CODE=php]$_SESSION['authenticated']==true; [/CODE] It should be [CODE=php]$_SESSION['authenticated']=true; [/CODE] | |
Re: You can't use the style in js file. js file only accept javascript code. so cut off your style from menu.js | |
Re: Mark this thread as solved if your problem solved. Dont use this quotes for field_name like 'status'. if you need, you can use like this `status` | |
Re: Why can't you try this with your php file [CODE=php] ini_set("upload_max_filesize","50Mb"); ini_set("post_max_size","50Mb"); ini_set("max_execution_time","500"); ini_set("max_input_time","500"); [/CODE] | |
Re: Replace this [CODE=php]<option value="<?php echo $row['sid'] ?>"><?php echo $row['name'] ?></option>[/CODE] with [CODE=php]<option value="<?php echo $row['sid'] ?>" <?php if($_POST["u_state"]==$row['sid']) echo "selected"; ?>><?php echo $row['name'] ?></option>[/CODE] for city [CODE]<option value="<?php echo $row['cityid'] ?>" <?php if($_POST["s_city"]==$row['cityid']) echo "selected"; ?>><?php echo $row['cityname'] ?></option>[/CODE] | |
Re: Mark this thread as solved if your problem solved. | |
Re: Replace your line 17 [CODE=php]$row = mysql_fetch_array($result) or die(mysql_error());[/CODE] with [CODE=php]$row = mysql_num_rows($result);[/CODE] | |
Re: emclondon is correct. Chage your code as per the his suggestion. the mail will bw send only once. | |
Re: In line 148 remove the single quotes from Thank's.. Please use code-tags to post your codes |
The End.