39,393 Topics

Member Avatar for
Member Avatar for Rahul47

count() and sizeof() both are used for retriving size of array. Are there more jobs that these two can do ? Thanks

Member Avatar for AaryaSiddharth
0
99
Member Avatar for games1124u

Hello all, i dont know how to fix this i made allot of forms but never with select option, what i want is to post the select option and to update database. here is the script could somebody explain me how to change this > echo '<tr><td><select>'; > echo '<option …

Member Avatar for diafol
0
188
Member Avatar for nish123

Hey frndz i m new member of community..!! . . i jst want to knw is there anyway to get the previous month starting and ending date and which is the previoes month..!!!! . . . . hope for positive reply..!!

Member Avatar for Webiswide
0
15K
Member Avatar for webmoster

Help me! I have a domain, I would like to handle subdumain with .htaccess file. for example: http://usa.hotbizzle.com or http://india.hotbizzle.com should not redirect to sub folder. URL should not change in the browser but it has to call a file php file and give result. Is there any possibilities in …

Member Avatar for webmoster
0
301
Member Avatar for mjsmitten

There is something wrong with this foreach. The last value from $myregions is not picked up but has again the second value 'georgia': <?php $myregions = array('florida','georgia','delaware'); foreach ($myregions as $value) { myfunction(array('region'=>$value)) ; if(count_items()>1) { if(has_items()){ draw_item($class); } } } ?>

Member Avatar for mjsmitten
0
140
Member Avatar for ahudson

Hi. Not sure where to put this but basically I have a form. There are two buttons. One says submit and the other says print form. How do I make sure that the user has clicked the print form button before the form gets submitted. For example, a user fills …

Member Avatar for arunmagar
0
3K
Member Avatar for Rahul47

I was going through this book on php and i was left confused what author is trying to convey. Following is that part. You must use quotes if you’re using interpolation to build the array index: $age["Clone$number"] However, don’t quote the key if you’re interpolating an array lookup: // these …

Member Avatar for arunmagar
0
171
Member Avatar for Rahul47

What is need of Associative Arrays when Indexed arrays is present. Please Suggest. Thankx.

Member Avatar for Rahul47
0
99
Member Avatar for gilgil2

Hi I am having a problem with the following line: $query = mysqli_query($link, "UPDATE `getgigs` SET `venue` = '$venue', `town` = '$town', `phone` = '$tel', `website` = '$web', `email` = '$email', `address` = '$add' WHERE `rock` = '$url'") or die("Error: ". mysqli_error($link). " with query ". $query); It is telling …

Member Avatar for arunmagar
0
155
Member Avatar for ferdinandmucos

Having these questions and answers hard coded. I want to be able to read them from a text file and load the arrays questions with questions from questions.txt while also read answers array from answers.txt. but at the same time maintain my data structures used. How should I go about …

Member Avatar for arunmagar
0
267
Member Avatar for mjsmitten

I have an array('one','two','three'); I want to query one time, for one result. First query using the first array value, the second query with the second array value, the third query using the third array value. Do I have to use some kinda counter to loop through the array values? …

Member Avatar for diafol
0
133
Member Avatar for PsychicTide

Hey guys, think I've just been staring at this problem too long to find out how simple it is to fix... worked with several methods of finding and saving image dimensions to MySQL (actually used this same method several times), but the MySQL width and height is not populating this …

Member Avatar for PsychicTide
0
375
Member Avatar for showman13

Good evening, I have a client that wants to be able to display a list of contacts that have requested a call back from him. On this list he wants their phone number that was submitted. This is easy stuff to here... But then he wants to click on the …

Member Avatar for diafol
0
255
Member Avatar for mjsmitten

The program I use takes items out of a database per query. <?php myquery(array('region'=>'florida','region'=>'florida','region'=>'florida'));?> I have regions per example (florida, georgia, delaware, etc.). After the query it return: more items from one state then the other; nothing; or just one (depending on what users are posting). Now I would only …

Member Avatar for mjsmitten
0
206
Member Avatar for Dani

What is the difference between: isset($foo['bar']) array_key_exists('bar', $foo) Is there a performance difference? Is one way more correct than the other?

Member Avatar for cereal
0
392
Member Avatar for abedi.pele.522

Hey guy's need your help. Am building a system to track all the pc's plus monitors each user in the company is logged on to. I need a php code to read the system information and display this details.

Member Avatar for pritaeas
0
65
Member Avatar for furalise

I'm quiet confused as to how PHP works. Just starting out and want to learn it but all I have done prior to now is C++ and Javascript. I'm not sure where to start. I have tutorials on PHP, no problem there. I'm not sure whether it is compiled, interpreted …

Member Avatar for furalise
0
308
Member Avatar for rdtheclown

Hi all I have no idea if im in the right place, but im gonna try anyway. I have a basic php form to email / uses a captcha verification before submitting, when i recieve the info via email the font that the client inputs is the same as the …

Member Avatar for pzuurveen
0
184
Member Avatar for phpDave

Hello, I trying to learn how to create a forgot password page. I used some code from another forum and having some trouble with it. I get an error for the $recs and $row variables. Any feedback on this topic would be appreciated. Thank you. <?php require_once('Connections/connadmin.php'); ?> <?php session_start(); …

Member Avatar for srilatha12
0
218
Member Avatar for NitsPatel

hi, for wordpress theme which portfolio plugin is best for portfolio page thanks in advance

Member Avatar for NitsPatel
0
104
Member Avatar for PF2G

Hi, i'm using facebook like box on my website but it seems it doesn't work with localhost. I hit the like button and when i refresh the page the Like was not "accepted". Is there a problem being localhost? Thank you.

Member Avatar for Szabi Zsoldos
0
50
Member Avatar for omoayan

I have a site where I upload data into mysql database. When I upload my text, it is just the way it was uploaded in mysql, but when I call for the text upload, in my php page, there are no paragraphs. Everything is just muddled up. what could be …

Member Avatar for C#Jaap
0
166
Member Avatar for Dannis86

I downloaded the script just for fun and for learning some new things. For the one who are curious what this is: [url]http://facemash.moefelt.dk/[/url] I wanted to install this on my localhost, but i got this: [url]http://imageshack.us/f/41/facemashalikenotgood.png/[/url] This is my index.php code: [CODE]<?php /* * Title: Facemash-Alike Script * Author: Anders …

Member Avatar for arunmagar
0
2K
Member Avatar for mikeandike22

So im new to the PHP world because I have to learn it for work. So one of my clients is a musician and wanted a music player so I made a simple way the user could click a link and load a song. ok first I set the variable …

Member Avatar for diafol
1
297
Member Avatar for Farouq21

[b]. I have searched google and everywhere before asking this question. I have a forum that the posts support php bbcodes. All basic bbcodes like [b], [i], [h1], e.t.c are working well. I used the str_replace() function for the bbcodes. Now i have a problem on how to create the …

Member Avatar for diafol
0
287
Member Avatar for coder91

I was wanting to develop some PHP websites on my own laptop to build up knowledge of PHP and was wondering what I needed on my laptop for PHP. At university we use filezilla to upload our files to the uni's server but I haven't got that facility at home. …

Member Avatar for diafol
0
208
Member Avatar for Amiet Mhaske

Hey guys, I want to connect my **VB.NET application to the data saved on my webserver's mysql database**. Can you please tell me, is it possible or not? Can you give me any hint for further coading? Where should i look for help in this regard? Or should I consider …

Member Avatar for Amiet Mhaske
0
415
Member Avatar for weeraa

This is my code. $arrivDate = $_POST['arrival_date']; echo $arrivDate; //Print correctly echo date("Y/m/d", strtotime($arrivDate)) ; // every time print 1969/12/31 echo date("Y/m/d", strtotime('.$arrivDate.')) ; // every time print 1969/12/31 but if i put like this, it is print correctly echo date("Y/m/d", strtotime("05/08/2019")); // Print like this --> 2019/08/05 (This is …

Member Avatar for diafol
0
167
Member Avatar for kantigniter

I have to sync with two tables in the database The following is the error I get: *A database error has occurred Error Number: 1054 Unknown column 'Array' in 'field list' INSERT INTO `client` (`interior_client_name`, `Interior_client_email`, `interior_client_mobile`, `interior_house_id`) VALUES ('a', 'b', '8989898', Array) Filename: C:\xampp\htdocs\ThinkInterio\system\database\DB_driver.php Line Number: 330* These are …

Member Avatar for cereal
0
5K
Member Avatar for NitsPatel

hi how to do automatic url rewriting in opencart ? Now I have a following link for login page Example : http://dejavutrends.com/index.php?route=account/login and I want to do like this http://dejavutrends.com/account/login same for the all products,manufacturers, category's So,How I can i do that Thanks in Advance

Member Avatar for arunmagar
0
171

The End.