39,316 Topics

Member Avatar for
Member Avatar for davy_yg

Hello, I wonder why this code won't work: HomeController.php `$content = $email."\n".$phone."\n".$select; ` I expect that it goes to the next line after \n

Member Avatar for diafol
0
330
Member Avatar for sanus

I have the following code <a href="<'. Url::to(['site/campaign']) .'" class="pull-right text-green"> '. HtmlPurifier::process($camp['CampaignStatus'] < 1 ? 'Intiated' : (($camp['CampaignStatus'] < 2 ? 'Drafted' ))) . '</a> but it's giving me the following error: ParseError syntax error, unexpected ')' Can anyone see what's going wrong here or how to fix it?

Member Avatar for hericles
0
279
Member Avatar for janicemurby

hi all im wondering what i can do to stop this happening advsearch_result.php?city=&country=&gender=a+man&fage=18&lage=99&accomodate=I+can+Accomodate&minheight=152&sexuality=Straight&bodytype=&race=&piercings=No+piercings&tattoos=No+tattoos&dodrink=&smoker=&pincode=&multipleint=&seeking=a+man&meet_type=&travel=I+can+travel&maxheight=213&partner_sexuality=Straight&partner_body_type=Athletic&partner_race=&partner_piercings=No+piercings&partner_tattoos=No+tattoos&partner_drinking=Don't+drink&partner_smoker=&button.x=90&button.y=19 every time i click submit on a form all this come in address bar after file name the code is currently set as $male = $_GET['gender']; $seek = $_GET['seeking']; $age1 = $_GET['fage']; $age2 = $_GET['lage']; etc ... …

Member Avatar for diafol
0
228
Member Avatar for sunil_20

hi have tried sending mail from html through from php, but the message shows message sent succefully but nor recieved in inbox. please help me with this. 1. html page <div class="form"> <form id="contactForm" name="sentMessage" method="post" action="http://thehealcom.com/corona1/js/contact_me.php" validate> <div class="row clearfix"> <div class="col-md-12"> <div class="row"> <div class="form-group col-md-12"> <div class="form-group-inner"> …

Member Avatar for diafol
0
197
Member Avatar for sanus

I have a problem in my Yii2 app that when i upload multiple images it will become totally unaligned. This is how it is https://i.stack.imgur.com/TfIla.png I want to align contents vertically one after other when uploading multiple images . This is how i want https://i.stack.imgur.com/N30u6.png And this is the code …

0
207
Member Avatar for Irtaza Ijaz

I am following this **tutorial** to display **custom opacity control** in wordpress **default** color picker scheme, [Click Here](https://github.com/BraadMartin/components/tree/master/customizer/alpha-color-picker) i want my color picker looks like this, after adding opacity bar. ![dani.PNG](/attachments/large/4/735831d60c76788bcc1ce819a383ce49.PNG "align-center") I am using **twenteen seventeen theme** to display alpha color picker in the **apperence->customize->text**, but it is only …

0
209
Member Avatar for WebDevGuy32145

Hey everyone, So for some reason my while loop wont populate my select/option field with data in my database. I'm trying to get the values stored in database to show as well as return already submitted data. Here is where my while loop is: <select class="form-control" name="permissions"> <option value=""<?=(($permissions == …

Member Avatar for cereal
0
440
Member Avatar for SimonIoa

Hello i have a problem. i use session for any user that logs In my website. I use the session user id as a variable to show the first page of my site when one presses my website url (www.mywebsite.com) so, if the session user id is empty then returns …

Member Avatar for SimonIoa
0
527
Member Avatar for meazza

Hello. I have a quick question here. I have a html document with a very long form. Each element in the form has an label. The action of the form is [CODE]<FORM action="Bestallningsformular.php" method="get">[/CODE] What I now want to do in the php document is to fetch the value and …

Member Avatar for Rashid_4
0
9K
Member Avatar for arun_22
Member Avatar for Anni_2

Whenever i execute this, only the last row of the loop gets inserted even if i click on the first row or any row. What i need is: if i click register, the entire selected row must store in another table Whats wrong here? Please help me.. <table class="table table-striped …

Member Avatar for hericles
0
597
Member Avatar for ceeandcee30

Good Morning Dani Web, I have been struggling for days with a section of code on a hockey pool site that I have built. I am hoping someone here can help. A little background... - This is an NHL pool where each player can be drafted twice - defined in …

Member Avatar for ceeandcee30
0
2K
Member Avatar for Adrienne_1
Member Avatar for Var_1

I want to attach two excel files (sealing_production.xls & sealing_assembly.xls)to my email using php,but I have no idea on how to do it. **Problem** When I click on my send mail button, I gets the mail. with all details. but attachment is not working. **Try** I echo the file name, …

Member Avatar for cereal
0
2K
Member Avatar for tara_1

hi frinds. hope you are well. as i writte this writting im thinking about a my [site](http://Iraniantranslate.com) .... how can i introduce my site to other people? and how can i popular it in google search? best regards,

Member Avatar for cereal
0
225
Member Avatar for Ali_77

<?php $san= "" ; $year = 2013 ; switch (($year - 7) % 12) { case 0:$san = "rat" ; break ; case 1:$san = "tiger" ; break ; case 2:$san = "elephant" ; break ; case 3:$san = "sneake" ; break ; case 4:$san = "dog" ; break ; …

Member Avatar for diafol
0
233
Member Avatar for andyy121

the password in database doesnt changet when i press change button in the page i show me the pass is change but when i log in with the new pass it show incorrect pass help please <?php session_start (); $user = @$_SESSION['username']; if ($user) { //user is logged in if …

Member Avatar for diafol
0
14K
Member Avatar for websponge

Hi There, Im really really pulling my hair out here, and was hoping you guys could help a really poor coder! basically, I have a table with a list of contracts in it, and a table with a list of applications for each contract. I can succesfully populate a list …

Member Avatar for Ronie_1
0
3K
Member Avatar for Maideen

Hi I am new in PHP. I have used dropdown to bind with my sql data. It is ok But I could not insert data into table only from dropdown. Other controls like text can be inserted. I have given code below. Pls advise me. Maideen <?php require_once '../inc/header.php'; ?> …

Member Avatar for hericles
0
379
Member Avatar for WebDevGuy32145

Hey everyone, Sorry for posting another issue with the same project as of recently. I'm having trouble figuring out why when I take away text in an input field when the form is set to "Edit" a category, and click submit (to see if an error shows up), it redirects …

Member Avatar for WebDevGuy32145
0
323
Member Avatar for Queen_2

how to fix this? Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe" --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" MySQL57"!

Member Avatar for cereal
0
197
Member Avatar for rpv_sen

Hi Friends, I have some dynamic text box in my screen, i have entered only one text field of the screen, after submitting the form all the values of the dynamic text box field is getting added in the database as 0 except the value i entered. i have used …

Member Avatar for Bhuvaneswari_1
0
2K
Member Avatar for davy_yg

Hello, I am trying to utilize facebook comment plugin: Cek this website that I created: http://julmarice.com/ this site consist of many articles. I wonder why after I add the fb comment plugin which is good for different articles it shows the same comments? I would like for different article should …

Member Avatar for pixelsoul
0
248
Member Avatar for Saveitpk

i need to update when user i come on left or right side if colums in table when user come with register then count leftcount 1 , if user come right side then count , in colum rightcount . plz any person can help me?

Member Avatar for rproffitt
0
214
Member Avatar for Gloak

I am not a computer professional, only like to develop my own toys. I am using Globi Flow to get the info I need from the XML file. All is done, except for one instance where I do not have the closing tag Regular node with closing tag: <proper price>$4</price> …

Member Avatar for Gloak
0
3K
Member Avatar for tirumalai

I have installed Xampp in my PC. In the Control Panel in the apache the port setting no is not showing inspite of changing from 80 to 8080. How to resolve this problem.

Member Avatar for rproffitt
0
87
Member Avatar for Var_1

I'm trying to create a web page that when user click on the below link,it will bring user to the next page <a href="../try/sewcutrptsummary?pro={$row ->idmsul}" target="blank"">Link My question is,how can i retrieve the same data from 1st page & display it in a textbox in 2nd page as shown in …

Member Avatar for cereal
0
1K
Member Avatar for WebDevGuy32145

Hey everyone, I have been going over this in my head and can't seem to figure out the solution. I've got a database table called brands and in my form I'm trying to get it to where when I edit a brand, I can't edit it into an already existing …

Member Avatar for WebDevGuy32145
0
456
Member Avatar for peace_coder

Hi, Sometime I need to login WordPress dashbaord or Hosting place for fixing bugs and issues for client. So I want to know that how I can scan a WordPress website before logging into its dashbaord for making sure its free from all kind of malwares, viruses and keyloggers. So …

Member Avatar for rubberman
0
242
Member Avatar for Lloyd_4

Hi everyone, Iam trying to figure out how to display the correct time and date format in the following piece of code $stmt = $conn->prepare("SELECT * FROM tbl ORDER BY id DESC"); $stmt->execute(); $total = $stmt->rowCount(); while ($row = $stmt->fetchObject()) { //$opvar = $row['mchq_date']; echo " <tr> <td>{$row->mchq_date}</td> </tr> "; …

Member Avatar for Lloyd_4
0
370

The End.