38,023 Topics

Member Avatar for
Member Avatar for meda shiva

this is my controller i am very new to codeigniter. -------------------------------------------------------- public function joinus() { if($this->input->post('submit')) { $this->load->library('email'); $to=$this->admin_model->get_goinmail(); $from=''; $subject=''; $message=''; $config['mailtype'] = 'html'; $config['protocol'] = 'sendmail'; $this->email->initialize($config); $this->email->set_newline("\r\n"); $this->email->from($from); $this->email->to(@$to); $this->email->subject(@$subject); $this->email->message(@$message); if($this->email->send()) { $data['mail_status']="sucess"; }else{ $data['mail_status']="Un sucess"; } } $data['get_goinmail']=$this->admin_model->get_goinmail(); $data['content'] = $this->load->view($this->view_dir .'joinus',$data,TRUE); $this->load->view('template',$data); } i …

Member Avatar for cereal
0
424
Member Avatar for kw42chan

Hi, I have a wordpress blog already. I want to become a more advanced user so I install wordpress. However, what setting should I change in the file? Mainly wp-config-sample.php? Any other things I could do? Thanks.

Member Avatar for kw42chan
0
201
Member Avatar for McLaren

Hello, is there a way to easily fix this: wamp server from time to time starts loading page very slow, once a day sometimes. So I then restart all services and it runs ok again. IS this a lot of work to find where that slowliness comes from or not? …

Member Avatar for McLaren
0
314
Member Avatar for luther88

hi, im implementing a search on my site using a form on index.php that redirects to /includes/search.php currently it displays the results at domain.com/includes/search.php is there a way to do this more professional? im familiar to mod_rewrite but have already rewrits for my dynamic content and dont want to break …

Member Avatar for Webville312
0
155
Member Avatar for kakalahori

there few number of questoins that need to be answered one does drupal data base has to co be collation? after i have executed the the database query in drupal instal i get error but i refresh and the tables are made in database(collation) on local host machine.Does this causes …

Member Avatar for kakalahori
0
439
Member Avatar for ferdinandmucos

I'm not well conversant with java or AJAX, but how can i read each line of a string display each line of question and answers at a time, after a user have answered the question id displays the next question upto the last one. Im using fget () n php …

Member Avatar for diafol
0
309
Member Avatar for Maideen

Hi I am not familiar with ajax. pls help me how i can do in script Below my script and using pdo and mssql 2005. Below script working fine. But everytime change the details, page refresh and display is delayed Pls help me --------------------------------------------------------------------------- index.php ---------------------------------------------------------------------------------------------- <?php include_once '../inc/connection.inc.php'; ?> …

Member Avatar for ndeniche
0
278
Member Avatar for sushants
Member Avatar for NardCake
0
185
Member Avatar for Ronnie.Sk1ttl3s.Eke

**I really don't know what to do, and I really need the page. Please help me, thank you so much!** **The Error Code I get:** http://pastebin.com/wry2UuTA **The page code:** http://pastebin.com/xf9Ww5YS**

Member Avatar for Ronnie.Sk1ttl3s.Eke
0
307
Member Avatar for PF2G

Hello, i have this table events: id_evento, evento_texto, evento_banner, evento_image, evento_cartaz, evento_idioma Now i can upload the image to evento_banner and evento_image, because they're the same only changes the size (the code is "inside" the <form>): <?php if(isset($_POST['Submit'])){ //Declara um Array para armazenar a mensagem de erro $error = array(); …

Member Avatar for ndeniche
0
1K
Member Avatar for keeleyb

Any thoughts will be most welcome. In PhpMyAdmin and Dreamweaver cs6. I would like the user of my site to be able to select a category from a list that is populated by PhpMyAdmin and then, his or her selection to reveal all of the items on the database in …

Member Avatar for keeleyb
0
348
Member Avatar for Fiorentino01^

Hi I am doing this HTML.net tutorial on php.I keep getting this error and I cannot figure out how to fix it.I am running php version 5.4 maybe this is the problem, I appreciate tour help: Parse error: syntax error, unexpected 'TABLE' (T_STRING) in C:\inetpub\wwwroot\phpconnect.php on line 6 This is …

Member Avatar for TonyG_cyprus
0
269
Member Avatar for mallows.yum

Hello all! i have here a code that will display record from my DB. I would like to ask for help on how will i export the displayed record to excel? here is my code: <html> <head> <title>Export to Excel</title> </head> <body> <form action="saverec.php" method="post"> <?php define ('DB_NAME', 'try1'); define …

Member Avatar for Webville312
0
191
Member Avatar for rahul.pragma

Hello, I tried to create a SOAP request but could not succeed. SOAP WADL url is **http://www.mobipost.com.au/httpapi/Messaging.asmx?WSDL** AND request should be like: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <AuthenticationHeader xmlns="http://messaging.mobipostapi.thirdscreen.com.au/"> <UserName>SAMPLE_USER</UserName> <Password>SAMPLE_PASS</Password> </AuthenticationHeader> </soap:Header> <soap:Body> <SendSMSToContacts xmlns="http://messaging.mobipostapi.thirdscreen.com.au/"> <oSMS> <MessageText>THIS IS MESSAGE</MessageText> </oSMS> <ContactIDs> <int>123456789</int> <int>987654321</int> </ContactIDs> </SendSMSToContacts> </soap:Body> …

Member Avatar for pritaeas
0
316
Member Avatar for abhi10kumar

I have dropdown down boxes with multiselect; I'm using jguery to display Dropdown with multiselect; I'm populating Select Locality with Select City dropdown. Now, when I select a city from dropdown It should display its locality in dropdown with multiselect but showing localities in dropdown only. Code is attached in …

Member Avatar for abhi10kumar
0
272
Member Avatar for Priti_P

I have atext file but I want to pick a phone number from that file. How can I? is there any regex for this? How to write regex which gives output as 10 continuous digits (which will be phone number!)? Other things like what if +91 is addedd and all …

Member Avatar for pritaeas
0
98
Member Avatar for bradly.spicer

Hi, Been working on this PHP snippet and it was fine until I changed one line. I am doing this inside Wordpress so I can't echo the problems out. "Server error" Hopefull you guys can see where my snippet has gone wrong :)) <?php //Create connection //new mysqli("localhost", "user", "password", …

Member Avatar for bradly.spicer
0
139
Member Avatar for ahudson

Hi guys. Okay, well I've been at this for a while and I cannot seem to figure it out. Basically, I have a simpleXML PHP file that I'm trying to"parse" (I guess it's called). *All I want to do is get some info from an API XML site and display …

Member Avatar for diafol
0
1K
Member Avatar for LEAN.HEART.YOU
Member Avatar for LEAN.HEART.YOU
-1
158
Member Avatar for mallows.yum

Hello all! i have here a code that will save the inputs in my database. but 'save' button doesnt work. please help. here is the code for the save button <?php define ('DB_NAME', 'try1'); define ('DB_USER', 'root'); define ('DB_PASSWORD', ''); define ('DB_HOST', 'localhost'); $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); if (!$link) …

Member Avatar for |-|x
0
205
Member Avatar for razamughal67

Hello every one i want to send emails to other peoples. i want to do this. when i type any email adress in text field and when we click send button to send email to text field Email address. simply i want to send mail different email addresses. if any …

Member Avatar for razamughal67
-1
289
Member Avatar for ankitamalu

Hi friends, I have a drop down list which contains Country that i get values of country through store procedure Now i Have another combobox that have operators that also i have to get through store procedurebut one condition is that when i select country i get only operators of …

Member Avatar for diafol
0
365
Member Avatar for romaman

can any body provide me with a simple example of how insert and retrieve pictures along with text from mysql, kinda like when you post something in craigslist u add information about what ever you are selling and pictures, i would appreciate it, thank you in advance.

Member Avatar for diafol
0
121
Member Avatar for Venter

hi i'm new to Code Igniter here is my controller for signup & login.i'm having a little problem while working with sessions.when i cal logout function it was redirecting the page to login page with out destructing sessions. after doing logout when i press back button it was displaying the …

Member Avatar for cereal
0
5K
Member Avatar for noahwilson

Hi friends, I want to make my website's product-detail pages title dynamic. so help me how can i create this in php. please share your suggestion. thanks.

Member Avatar for paulkd
0
388
Member Avatar for bfitzgerald

Hi Guys I'm using a form which sends data to a php file so that ti can be sent to a database. However some of the data passed are dates for the start, end of teh event and when sign ups expire. I want to stop the from data been …

Member Avatar for bfitzgerald
0
196
Member Avatar for 68thorby68

I have a small site that is not too data intensive, but requires the user to login to access pages that handle data and pages that interact with the database. To enhance the site security I am hoping to that I do not need to use cookies, instead handle all …

Member Avatar for Webville312
0
135
Member Avatar for Webville312

Hullo, I am working on sam php code that captures users' details, depending on their choice. If the user selects "No", then the products will not be delivered to him, and so; the form collecting details will not be displayed. However, if he selects "Yes" option, then the form to …

Member Avatar for Webville312
0
104
Member Avatar for bfitzgerald

Hi Guys I have been asked to make an online sign up sheet system by my boss. I have almost finished but have encountered a problem. To sign up to the created activity I have use a previous form to add a "page name" which is then used to generate …

Member Avatar for bfitzgerald
0
222
Member Avatar for yy886

It seem to be I have a problem on that code as this only go though the first one and then stopped...so other file extension is not allow... //Check the file extension if (($_FILES["file"]["type"] == "application/pdf") || ($_FILES["file"]["type"] == "application/doc") || ($_FILES["file"]["type"] == "application/docx") || ($_FILES["file"]["type"] == "application/ppt") || ($_FILES["file"]["type"] …

Member Avatar for yy886
0
290

The End.