• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI 4 contact form with configuration

#1
Hi
anyone can tell me how to configure the contact us form with CI4.

I am a beginner to backend programming. So I need it from start to end.

please help me
Reply

#2
We help users here we do not write the code for you, read the CodeIgniter users guide on forms.

If you have a problem we will gladly help you out but we will not write everything for you.

Hint:

google search -> codeigniter 4 contact form
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#3
Dear Jeewakapk, as InsiteFX said - we do help, but i have the feeling that the problem is that you don't understand how this PHP plaform works. Moving from that - you don't know how to use it and what the approach and opportunities are...

Read the manual first, install CI4 and make a playground, experiment, open youtube and see some detailed guides if needed.

We all have done it, seeked, learned.... etc

For example, for a beginer will do fine:
https://www.youtube.com/channel/UCXeSAhg...ZXwa1Gk2uw
https://www.youtube.com/channel/UCIbtEs1...bgD_ake7HA
Reply

#4
well lets be generous today with some pointers.

The basics are look into a simple form. It has fields with labels , i.e names

The form will use "POST" to some controller.

IN that controller you get get what a web surfer entered using :

$this->request->getVar('name');

where name is the label given to the text field in the form.


Once you collate what the user entered and considered security i.e clean up what a malicious user might do , its then just a case of sending that info to your own email. If you search this forum i have already set out how that can be done using PHPMailer. You an also use CI4 approach i.e their own email system
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.