39,326 Topics

Member Avatar for
Member Avatar for Arya_2

is there a plugin for video rating in WordPress that visitor be able to rate thumbs up or thumbs down continuously thought that video I mean be able to rate thumbs up or thumbs downs during the time they watch the video? for example thumb up at 01:05 and thumb …

Member Avatar for rproffitt
0
103
Member Avatar for ajahar

I was working on bank ifsc code search engine which provides all branch details for every bank in India. I used Php and Mysql to handle database queries and data retrieval. The whole project looks good but there were some technical limitations stopping me. Like, i have done all SEO …

Member Avatar for rproffitt
0
1K
Member Avatar for Abhi_6

I am getting: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 79 bytes) in /path/dbclass.php on line 225 line 225 : $row = mysql_fetch_assoc($res); 1. It was 64M; increased to 128M but no luck. 2. I added ini_set('memory_limit', '-1'); at top of the page but no …

Member Avatar for cereal
0
310
Member Avatar for Rennie_1

How to add triggers in my PHP site? Is it easy to add? What is its syntax & procedure to add it in my site?

Member Avatar for cereal
0
95
Member Avatar for cork

Hi, I'm kinda new to php and mysql. I'm making a basic shopping cart using 2 database tables. I want my cart to display items from the 2 tables into 1 html table. I ran into a problem giving the 2 database tables the same id name, so now I …

Member Avatar for Rennie_1
1
10K
Member Avatar for Mani_11

Hi, I used MathJax with CKEditor but now I am creating a WYSIWYG Editor using HTML and Javascript. I am quite stuck in this part. I like to make a Button(for Mathjax) like in CKEditor when I click it a box opens I can write formula in latex format and …

Member Avatar for Mani_11
0
60
Member Avatar for phphp

Sir I have following codes <?php if (isset($_POST['submit'])) { $allowedExts = array("gif", "jpeg", "jpg", "png"); $temp = explode(".", $_FILES["file"]["name"]); $extension = end($temp); if ((($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == "image/jpg") || ($_FILES["file"]["type"] == "image/pjpeg") || ($_FILES["file"]["type"] == "image/x-png") || ($_FILES["file"]["type"] == "image/png")) && ($_FILES["file"]["size"] < 20000) …

Member Avatar for hielo
0
194
Member Avatar for LRNPHP

Hi guys, I'm busy testing storing PHP variables in a MySQL table but I'm having difficulties using them as variables when pulling them from MySQL. When I pull the variables is displayed as a normal string and I'm not able to use them as a variable. Is it possible to …

Member Avatar for pzuurveen
0
111
Member Avatar for riccardo_1

Hi all, i'm currently workin on a project and i need to show on a maps the live position of my car. i have an arduino wich send every 5sec to my DB the position The problem is that i can't figure out how to refresh my polylines every 5second …

Member Avatar for rproffitt
0
1K
Member Avatar for Arya_2

is there a plugin for video rating in WordPress that visitor be able to rate thumbs up or thumbs down continuously thought that video I mean be able to rate thumbs up or thumbs downs during the time they watch the video? for example thumb up at 01:05 and thumb …

Member Avatar for rubberman
0
69
Member Avatar for Stefce

I have problem with selecting elements from array i have this code which is supposed to take the choosed element and echo it back but instead that this code just takes last element and echo it what is wrong with the code ? <div class="col-xs-3"> <?php global $m; $currencies = …

Member Avatar for Stefce
0
383
Member Avatar for kkavita060
0
104
Member Avatar for Sadiq_2

Good day ,wish to know how to upload multiple image files with multiple inputs and multiple directories. My code is <table border="1px" width="100%"> <tr><td colspan="3" style="background-color:#E8E8E8"><b>Supporting documents upload</b></td></tr> <tr><td> </td><td colspan="3"><input style="height:35px;" type="file" name="pri" required ></td></tr> <tr><td> </td><td colspan="3"><input style="height:35px;" type="file" name="oresult" required ></td></tr> <tr><td> </td><td colspan="3"><input style="height:35px;" type="file" name="oresult2" required ></td></tr> <tr><td> </td><td …

Member Avatar for series
0
2K
Member Avatar for Marco_4

Hello, how can I improve this form login with error alerts? For example, if the fields are empty, if entered data do not match any user, etc. etc. Right now my form is so, taking advantage of a class: if(isset($_POST['login'])){ //Retrieve the field values from our login form. $username = …

Member Avatar for diafol
0
398
Member Avatar for TheFearful

Hey everyone, I am trying to be able to have a textbox that only accepts numbers that is either 1 or greater but less than the number of items in a table from the databse. The queries work fine and such. What I'm trying to figure out is how to …

0
193
Member Avatar for bigignoramus

I have been wrestling with this subject for six months and can find no complete answer anywhere on the web or in any book seen. I have become very familiar with the debate and so it is not necessary to debate the following here. I had rather do all of …

Member Avatar for gentlemedia
0
2K
Member Avatar for Ivan_10

Hello there, I need a simple function which do something like tihs: I have folders like this: ext/test1/test1/index.html ext/test2/ ext/test1/test2/index.html ext/test3/ I need a function which gives me only folders with subfolders and files in it. The condition is to give a "ext/" folder in the function :) function get_subdirs('ext/') …

Member Avatar for rproffitt
0
211
Member Avatar for Amaina

This question is very similira to this [one](https://www.daniweb.com/programming/web-development/threads/472324/inserting-a-multidimensional-array-into-db) but with a little twist to it. I have an array that looks like this: Array ( [0] => Array ( [post_id] => 5410 [Issue] => 2010 [_Issue] => field_573d7fa8454e9 [_volume] => field_573d7f79ef9ab [volume] => 530 [_journals] => field_56d3de5ddc04d [pages] => 105-9 …

Member Avatar for Amaina
0
442
Member Avatar for Amaina

This question is similar to this [one](https://www.daniweb.com/programming/web-development/threads/371092/notice-undefined-index-id-on-line-26) However, my insert does not involve a form but a direct mysql query that looks like this $query2 = "insert into table(author,title,abstract) values(:author,:title,:abstract) "; $stm=$con->prepare($query2); $stm->bindValue(':author', $author, PDO::PARAM_STR); $stm->bindValue(':title', $title, PDO::PARAM_STR); $stm->bindValue(':abstract', $abstract, PDO::PARAM_STR); $stm->execute(); echo "$author &nbsp $title &nbsp $abstract <br>" In …

Member Avatar for Amaina
0
281
Member Avatar for Amaina

I want to insert multiple records to wp_posts table in word press using a mysql query and not the front-end. I also want these new records(that i insert into wp_posts) to insert metadata into wp_postmeta table. My question is how can i do this? How does wp_posts update wp_postmeta if …

Member Avatar for Amaina
0
757
Member Avatar for Aeonix

SELECT blabla FROM a INNER JOIN b ON a.a = b.b Is what I have. However I'd like to sort the results DESC by ID. I'd like to select last [`variable` x 10] of items sorted by ID DESC. Variable provided by PHP (I'll sort things out, I just need …

Member Avatar for hielo
0
313
Member Avatar for Aeonix

`Unknown column 'topics.id' in 'field list'` `SELECT topics.id topicId,` [...] `topics.id` DOES exist.

Member Avatar for cereal
0
4K
Member Avatar for tqmd1

What is the difference between following functions? Does these both functions perform same task? $wh_ope=clean($_POST['whop'])?(int)$_POST['whop'] : 0; $wh_ope=(int)clean($_POST['whop']); function clean($str) { $cstr=trim($str); $cstr=addslashes($str); $cstr=strip_tags($str); $cstr=htmlspecialchars($str); return $cstr; }

Member Avatar for cereal
0
113
Member Avatar for Aeonix

I don't think it's code-bound, but here's the code: http://pastebin.com/yWJ5qpwN What happens is... I input 2 different passwords, line 22 is for some reason entirely skipped. The script passes every verification, the SQL record is added, and further execution of code happens. User gets logged in and moved to `index.php` …

Member Avatar for cereal
0
251
Member Avatar for rayearth_1

i have a problem in showing two columns which is reff_number and Name in a combobox/select box, and now i can only display one column with it, if i have 9000 customer(in bahasa = pelanggan) , it will take an effort to find for user, and it will be easy …

Member Avatar for rayearth_1
0
2K
Member Avatar for SpottyBlue

Hi, I need help with the attendance form (index.php). When I tried to update the first row, nothing happened. For the last row, the message says, "**We couldn't update the attendance form at this time.**" Please check lines 96 and 101 to see if got any error. And also I …

Member Avatar for hielo
0
1K
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 Aeonix

I need to create about 1000 users, with random (but normal looking names not "293dsaf81s234" but "Blue Air" (can be random dictionary words)). And I need to generate topics and posts, and many others things. Does anybody know a good way on how to generate dummy content in PHP? What …

Member Avatar for Aeonix
0
164
Member Avatar for abhi10kumar

How I replace my eregi_replace with preg_replace expression? eregi_replace($word, '<font style="background:' . $color . '";>\\0</font>', $text); and I how do I check preg_replace function is executed or not?

Member Avatar for cereal
0
322
Member Avatar for gogs85

Hi, i have was make small social network website and now i need to use RESTful API for hybrid application. Social network website i make in php, mysql. How to make API now? Do you have some tutorial for API that integrate in existing website? Thanks!

Member Avatar for divyakrishnan
0
137

The End.