- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
12 Posted Topics
Re: Are you using codeigniter? Maybe the return value of > $resultViewed = $this->model_report_product->getMostViewed(); is an object instead of an array.. Try using this one: foreach($resultViewed as $resultKey => $resultValue) { var_dump($resultValue); $stringResult = $stringResult . "['".$resultValue->name."',".$resultValue->quantity."],"; } | |
Re: yeah probably because "INDEX" is a reserved word for mysql, you should try to escape it by using `index` = 'value' check this one [url]http://dev.mysql.com/doc/refman/4.1/en/reserved-words.html[/url] | |
can someone help me how to transfer files from one server to another server using curl?? please help me, i really need your help | |
Re: echo " <font color='red'>Category exists, process halted...</font><br /> this one also has no semi-colon | |
Re: try to print_r it on ie it will return diferrent than image/png | |
can you help me with this. i have used tcpdf but i dont know how to read the contents of the .doc, .pdf contents and put it in a single pdf for the user to download it. Please help me.. thanks | |
Re: just dont include the index.php to your mem_accnt.php file. once you have your session started in both pages... session can be access in all you files... just dont forget to put the session_start() | |
Re: just try this: mysql_query("insert into buy_db (from_site, date_time_buy, model, ip) values ('".$_REQUEST['site']."', '".$date."','".$_REQUEST['model']."', '".$_REQUEST['ip']."')"); | |
Re: $idlist = array(1, 2, 3); $ids = implode(", ",$idlist); $query = mysql_query("Select * from tablename where id in (".$ids.")"); try this one it will help you.... | |
Re: yeah try putting quotes in the value of email address so that the query will treat it as the value of the field email_address.. | |
Re: yeah i agree with codewall if you dont want the field to be unique then you must query it if it return 0 rows dn it doesnt exist... using mysql_num_rows to check if there are records for that path | |
Re: i know how to do it in jquery but not in native javascript... var numberDiv = jQuery("div").size(); or var numberDiv = jQuery("div").length; |
The End.