39,320 Topics

Member Avatar for
Member Avatar for sgubu

-- phpMyAdmin SQL Dump -- version 3.4.5 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: May 29, 2013 at 04:31 PM -- Server version: 5.5.16 -- PHP Version: 5.3.8 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET …

Member Avatar for diafol
0
2K
Member Avatar for aadebayo

I need to display Firstname as a fixed lenght, irrespective of how long firstname is, so that the phone nunmber in front can start from the same area. I have written some code, but it does not work. I need the telephone numbers to start at the same point, irrespective …

Member Avatar for pritaeas
0
127
Member Avatar for nickp87

Hi all, most likely a basic question but i know nothing when it comes to php. Basically i have all my php files and database set up for my login and registration but i am at a loss on how to incluse it into my html website. I have tried …

Member Avatar for diafol
0
162
Member Avatar for ceeandcee

I am trying to add the Facebook Comment plugin to my site. http://www.ourhometown.ca/hockey/nhl/NHL0017.php When you visit the link in Firefox you get the above URL. If you hit refresh, you get something like: http://www.ourhometown.ca/hockey/nhl/NHL0017.php#.UbAQAth230c This lack of a static url will cause issues for the site. Does anyone know how …

Member Avatar for cereal
0
175
Member Avatar for davy_yg

Hi, I am having a problem with my ckeditor. Whenever I insert an image in ckeditor and save it the image turn to [x]. The "\" mark in the file name disappeared. I am trying to fix the code: ckeditor_php5.php [CODE] if (isset($_SERVER['SCRIPT_FILENAME'])) { $realPath = dirname($_SERVER['SCRIPT_FILENAME']); } else { …

Member Avatar for LastMitch
0
140
Member Avatar for zakmail007

I have two stored procedure but when i call two stored procedure then given error comes: "Warning (512): SQL Error: 2014: Commands out of sync; you can't run this command now [CORE/cake/libs/model/datasources/dbo_source.php, line 684]" i'm using cakephp. And my code is: $city=$this->City->query('call CityMaster_SelectCityName'); $allAgents=$this->Admin->query('call WorkForceLoginMaster_SelectLoginName(0)'); What i do any simple …

Member Avatar for LastMitch
0
153
Member Avatar for seju

hello i have one problem.. my one tabel is.. user: userid,username,usertype,email-add. 2nd table is manager:id,managerid,userid.. userid n id is primary key.. userid is foreign key in manager table..usertype:manager,sender.i want to display..sender and its related managerid..if its is match then display record or not match then display null..i hope u understand …

Member Avatar for LastMitch
0
116
Member Avatar for arjani10

Hello!Somebody can help me please how can i autolink any word i have in my webpage autolink in php ? example array $word_list = array ( 'dogs' => 'http://dogs.com', 'dog' => 'http://dogs.com', 'cat' => 'http://cats.com', 'kitten' => 'http://cats.com', 'horse' => 'http://horses.com' ) any text dogs in my website corispond to …

Member Avatar for arjani10
0
859
Member Avatar for joseph.lyons.754

Can anybody point me in the direction of a good tutorial or pre written script for mailing many users from a database. Have been searching for the last two days and have got nothing good :(. Any help will be greatly appreciated. Either through gmail smpt or through a legitamate …

Member Avatar for cereal
0
225
Member Avatar for ashlisha

i have installed xampp in C: now I want it either uninstall it or change path to D: xampp is not showing in Add/Remove programs.so, tell me simple steps explained so that i can do either of two ways...

Member Avatar for diafol
0
37
Member Avatar for Rahul47

What is wrong with this type of assignment ? $name=array('ch' => 'chester' , 'mike', 'joe'); foreach( $name as $value) { echo $value; echo "<br>"; } Thanks.

Member Avatar for diafol
0
142
Member Avatar for rahul.pragma

REF: https://en.wikipedia.org/wiki/Content_delivery_network A content delivery network or content distribution network is a system of computers where our website is stored so it’s data (images/videos) can be served from multiple locations. However I dont want to use any online paid/unpaid CDN services but would like to setup CDN on my own …

Member Avatar for Dani
0
271
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
98
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
185
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
298
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
139
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
169
Member Avatar for Rahul47

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

Member Avatar for Rahul47
0
95
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
153
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
264
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
132
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
370
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
249
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
204
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
390
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
63
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
305
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
183

The End.