Ben bir fveyam var ve ben gibi kullanarak onları gönderenleriçinde am
function submit($fveyamid = null, $fillerid = null){
$this->data['Result']['fveyam_id'] = $fveyamid;
$this->data['Result']['submitter_id'] = $fillerid;
$this->data['Result']['submitter'] = $this->Session->read('filler');
echo "submitter: " . $this->Session->read('filler');
$results = $this->Fveyam->hasResults($this->data);
//echo http_build_query($_POST);
if(empty($results)){
fveyaeach($_POST as $key => $value):
if(is_array($value)){
$value = implode('', $_POST[$key]);
$this->data['Result']['value'] = $value;
}else{
$this->data['Result']['value'] = $value;
}
$this->data['Result']['fveyam_id'] = $fveyamid;
$this->data['Result']['submitter_id'] = $fillerid;
$this->data['Result']['label'] = Inflectveya::humanize($key);
$this->data['Result']['submitter'] = $this->Session->read('filler');
$this->Fveyam->submitFveyam($this->data);
endfveyaeach;
$this->Session->setFlash('Your entry has been submitted.');
}
}
Ben bir fveyam gibi yaşıyveyaum
<fveyam method="post" action="/FveyamBuilder/içindedex.php/fveyams/submit/1/4" id="ResultSubmit">
<div class="içindeput text"><label fveya="1">Firstname</label><içindeput type="text" value="" style="width: 300px;" id="1" name="Firstname"/></div> <br/>
<div class="içindeput text"><label fveya="2">Soyad</label><içindeput type="text" value="" style="width: 300px;" id="2" name="Soyad"/></div> <br/>
<div class="içindeput text"><label fveya="3">Yaş</label><içindeput type="text" value="" style="width: 200px;" id="3" name="Yaş"/></div> <br/>
<center> <span id="errmsg3"/> </center>
<div class="içindeput textvardıra"><label fveya="4">Adres</label><textvardıra style="height: 300px;" id="4" rows="6" cols="30" name="Adres"/></div> <br/>
<div class="içindeput text"><label fveya="5">Date Of Joiçindeiçindeg</label><içindeput type="text" value="" style="width: 300px;" id="5" name="Katılma tarihi"/></div><br/>
<div class="içindeput text"><label fveya="6">Email - Id</label><içindeput type="text" value="" style="width: 300px;" id="6" name="E-posta - id"/></div> <br/>
<div class="içindeput text">
<label fveya="7">Kişisel Numara</label><içindeput type="text" value="" maxlength="3" style="width: 30px;" id="7" name="Kişisel Numara[]"/><içindeput type="text" value="" style="width: 30px;" maxlength="3" id="7-1" name="Kişisel Numara[]"/><içindeput type="text" value="" style="width: 70px;" maxlength="4" id="7-2" name="Kişisel Numara[]"/></div>
<span id="errmsg7"/>
<br/>
<div class="içindeput select"><label fveya="8">Gender</label><select id="8" name="Gender">
MaleFemale
<div class="içindeput text"><label fveya="9">Resmi Sayı</label><içindeput type="text" value="" style="width: 200px;" id="9" name="Resmi Sayı"/></div><br/>
<div class="içindeput select"><label fveya="10">Experience</label><select id="10" name="Experience">
<option value="Fresher">Fresher</option><option yrs="" 5="" value="Below">Below 5 Yrs</option><option yrs="" 10="" value="Above">Above 10 yrs</option></select></div><br/>
aslında benim girdi isimleri olarak var
- Firstname
- Soyad
- Yaş
- Adres
- Katılma tarihi
- E-posta - id
- Kişisel Numara
- Ciçindesiyet
- Resmi Sayı
But when i use Inflectveya::humanize($key) fveya saviçindeg the names which has white space characters they have converted içindeto like Date Of Joiçindeiçindeg i.e.., O ve J becomes Capital letters... But i need to save them as such as Katılma tarihi.. How to do so???