- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 11
- Posts with Upvotes
- 10
- Upvoting Members
- 10
- Downvotes Received
- 36
- Posts with Downvotes
- 11
- Downvoting Members
- 14
Hi all, I want to import a .csv file into mysql database with using php code. How i can do this . what php code i will have to use for this. Please help me to do this. Because i have thousand of records which is in .csv file format. … |
|
Hi guys. It's been a third day now, I am having problems with header. I have many included files which output echo before the header, so since I can't output them after the header, I used ob_start(); and ob_flush(); but still I am getting header problems. If you wanted to … |
|
Hi All, I just want to share my code. A lots of website said that php is on server side and javascript is on client side...they said we cannot run php on javascript... here's how we can run php function when you click call the onchange events on javascript. [code=php]function … |
|
hello everyone i am currently working on my website. I wanted to make a php script for registering users. So that they may log in, log out, register, and access member only functions. I found a good tutorial online but since im fairly new to php and have never worked … |
|
what's wrong with my code? <?php error_reporting(0); // ' Send me an email' script if($_POST['submit']) { //get data from form $name = $_POST['name']; $message = $_POST['message']; if($name&&$message) { // existance check $namelen = 20; $messagelen = 300; if(strlen($name)<=$namelen&&strlen($message)<=$messagelen) // length check { // everything is ok! //set SMTP in php.ini … |
|
I'm using PHP 5 and apache 2.2 on XP prof, but did not install zip extension during the initial php/apache installation. I have downloaded and extracted Pecl-5.16-win32zip package and extracted the contents (including php_zip.dll) to c:\PHP\ext. I have also amended the php.ini and included the line extension=php_zip.dll I have checked … |
|
I want to set up Red Hat or Fedora with windows. But the dual boot option is no working. I set up windows 7 with 90 GB Hardisk. I have 148 GB in total. When I want to set up fedora it shows - not enough space. But still there … |
|
Dennis Ritchie died at age 70. Great loss the creator of C and co-inventor of Unix.Few people can truly say they changed the world. And Dennis certainly is one of the few. RIP Dennis, but also thanks for making the world in which we live in today! Thank you Dennis … |
|
Hi, I'm not very much used to with this kind of things, trying to call a class variable from a different page... Please look at the code below: [B]class.php[/B] [CODE]class bag{ private $no_of_items=0; private $sub_total; public function update(){ $this->no_of_items = $this->no_of_items++; return true; } }[/CODE] [B]index.php[/B] [CODE] $cart = new … |
|
Hi All I am sure this is easy, but I can't make it work I have two variable $sectionID and $categoryID. There are a whole pile of conditions that these could have but I want to pick out two: when $sectionID==4 and $catergory!=21 and $category is !=27 How do I … |
|
hi i am not clear with the socket connection in php, because before starting a new topic i want to clear with the experts(you all guys), why we use socket connection?? |
|
Hi,This place has solved lot of my problems , so here I come one more time. I have looked at this for long , can't fix this. I am copying my schema my xml and errors if you can help . Please and Thanks. <xs:element name="listings"> <xs:complexType> <xs:sequence> <xs:element name="listing" … |
|
I m getting this error while using http api.. i cant use post method..... what changes should i made to rectify this error..!! thanks.! |
|
|
|
Hi All, I want to run a HIDDEN FUNCTION when I click "OK"...not "CANCEL" in window.onbeforeunload() is it possible? [CODE]<script type="text/javascript"> window.onbeforeunload = function() { var bUnsavedFields = true; if(bUnsavedFields) { window.event.returnValue = "I WANT THE OK BUTTON NOT CANCEL :) TO TRIGGER HIDDEN FUNCTION AFTER EXIT"; } setTimeout("myFunction();",5000); } … |
|
Hi guys! I´m really new to PHP, but i'm involved in a small project. But i'm having an issue with the mail form. It was working, but as the user refreshed the page it would send the values of the variables again and again... First i managed to auto refresh … |
|
I'm construted a php-class where I create and save some elements in an XMLfile. Outside that class I instantiate the class and save it in a _SESSION['obj'] if the session has not been created yet, otherwise I want to get the document back and add new elements to the XMLfile. … |
|
Hi. I am trying to allow users to upload images to site. It works on testing server but having trouble on remote server. GoDaddy. Here is the upload dir for testing server: [CODE]define('UPLOAD_DIR','C:/xampp/htdocs/MyStuff/images/');[/CODE] Not sure for remote server. |
|
i have created a web page and placed some text boxes on it, now i'm looking to create an error massages when a person enter a wrong input the error massage will tell him/her to enter the right one and also if he/she left a text field empty and clicked … |
|
Hi, I am working on a job module where i have to fetch company name having more jobs. like abc 20 jobs def 30 jobs ghi 10 jobs jkl 40 jobs what i want to do, job order acc to job number like below jkl 40 jobs def 30 jobs … |
|
Hey guys, I was making a form that is um... quite large and all inputs consist of the form looking like [CODE]<input type="text" id="first_name" name="first_name" />[/CODE] so instead of having to do [CODE]$first_name = $_POST['first_name'];[/CODE] and so on for every input, is there a way to grab every 'name' or … |
|
Hi All, I just want to share my simple program :-) [url]http://www.momococo.com/nmbp/ajax/virtual_edc_sales.php[/url] Isaiah 9:6, Isaiah 7:14, Matthew 1:22-23, Jude 1:5, 1 John 4:2-3, I Timothy 3:16 [url]http://armandecastro.wordpress.com[/url] |
|
Hello All, I want to make a CD/DVD Library where by an admin can do all the operations while any other norma user can do limited operations (simply browsing and searching). I'm still organizing and doing simple design and I need your opinions on this: 1. What is the best … |
|
hi guys! I have dell laptop inspiron 630m everytime I plugin the Ethernet cable the 1394 Connection is the one always connected not my Local Area Connection (Broadcom 440x 10/100) Under my Network Adapters: --1394 Net adapter --Broadcom 440x 10/100 intergrated controller --Intel(R) PRO/Wireless 2200BG Network Connection All devices are … |
|
Hi, my pc keep on looping in user login. Logon/User options always come back. pressing f8 and try all options the same issue arise even administrator and user keep on looping and looping. |
|
[CODE]$dir = opendir ($path); while (false !== ($file = readdir($dir))) { if (strpos($file, '.png',1)) { echo "$file <br />"; } } [/CODE] super short code that lists the .png filenames obviously the $path variable is the path to the directory. how can i list them instead in abc order cause … |
|
hello please help me on this i don't know how to trap the duplicate id_no..example if i have already added this id_no H-1010..then if i input again it should prompt that id_no is already exist on your database..please help me on this..hoping for your positive responds ..thanks in advance |
|
So I was working with my pc today when it suddenly froze, I restarted the machine and during startup I noticed that some letters were displayed wrong (like "A" where a "D" should be or "@" instead of a ".") and when windows started it displayed nothing understandable except the … |
|
Hey guys, I'm hoping ye can help guide me here as I've reached a point in PHP where I think I can say I'm no-longer a beginner and would like to advance my knowledge. I believe my next step is understanding and using classes in PHP but for the life … |
|
[CODE]typedef struct _node node; typedef struct _node { int is_leaf; node child[THRESHOLD_ITEM_SET]; list<item_set> candidate_set; } node;[/CODE] or this: [CODE] typedef struct _node { int is_leaf; struct _node child[THRESHOLD_ITEM_SET]; list<item_set> candidate_set; } node;[/CODE] I am getting error: error: field ‘child’ has incomplete type I don't want to declare child as pointer. … |