39,388 Topics
![]() | |
my goal is to list each job_title or job_id and under each job_title or job_id I want to list the candidates that qualify for that job I have this sql query: SELECT * FROM rank_results AS result WHERE result.job_id='{$job_id}' GROUP BY job_id ORDER BY rank ASC I know this is … ![]() | |
Hi. 'm new to php..please help.. 'm working with dropdown and submit button.. the dropdown contains certain values..if the user selectes one option in dropdown and clicks submit button, values corresponding to the dropdown should be displayed in table format from the database. the file name is campus.php 'm attaching … ![]() | |
HI, I am trying to convert an audio file that is in wav format to mp3 format. I have installed apache and I am using windows 8. I downloaded the files for ffmpeg and tried to run the php script and convert the file but no success. What I am … | |
I have written a script when clicked it creates a zip archive of files from the server and start downloading. Till this point everything is fine but what annoys is that it freezes the browser whether it be Chrome, Mozilla or IE. I assume this is due to overheard of … | |
I have file that is supposed to pass the id of a link to using the ajax post method to a php file so that a div on my webpage updates. But nothing happens so i think the class is not being passesd. Can anyone see the problem. blog.js $('a.bloglink').click(function(e) … | |
Hi, I need to show results with some filters on mysql query. The filters will be taken from $_GET['filter'] There are going to be multiple combinations of filters. Like : filter1+filter2, filter1+filter5, filter2+filter4 etc. I think i need to create a switch() for these filters. And based on the filters … ![]() | |
so i have xampp installed on windows the address is localhost and i have a page test.php to preview my code a couple days ago everything worked fine when echoing <?php echo '<'.htmlentities('?php if ($_SESSION['Username']=='nume') { echo 'right name'; } else { echo 'wrong name'; } ?').'>'; ?> and when … | |
hello dani community. i am looking to get my fashion ecommerce website made in Magento and for that reason i wanna know what features magento is offering me by default and what features i need to ask my developers to built into my website (i have all my requirements documented). … | |
i want to make comment box in my own site so i have to make database online but it shows some error, Please help me.!! this is the code <?php $comment = $_POST['comment']; $submit = $_POST['submit']; if($submit) { if($name&&$comment) { $con= mysql_connect("localhost", "root",""); if($con) { $query="create schema IF NOT EXISTS … | |
On the form user enter rego no where it search database and display the output what i am looking is, if the entered data not match its should display " Record not found." <?php $search_Rego = ($_POST['RegoNo']); try { //open the database $db = new PDO('sqlite:iSearch.sqlite'); $result = $db->query("SELECT Fname … | |
I need all the possible combinations alphabets, numbers (a-z0-9) , _(underscore) and .(dot) which must satisfy the below conditions Please use between 6 and 30 characters. Please use only letters (a-z), numbers(0-9) The first character should be a letter (a-z) or number. The last character a letter (a-z) or number. … | |
Hi,everyone.. I was wondering.. Is it possible to carry out other tasks in a php application while data is being uploaded(by that application) into a MySQL database? | |
Posted earlier in the wrong forum...update here: Hey there...my code below had tradtionally only updated 1 of 4 fields. Now I want to update 2 of 8, but when I enter two variables it crashes. Any help would be appreciated. Code is here if( isset($_POST['Submit']) && $_POST['Submit']=='Submit' ) { foreach($_POST['CFHL_A'] … | |
what i'm doing wrong? <?php if (isset($_SESSION['Username']=='axxxA')) { echo '<form action="upload.php" enctype="multipart/form-data" method="POST"> <input type="file" name="file" /><br /><br /> <input type="submit" value="Upload" /> </form>'; } else { echo 'Trebuie sa fii logat ca axxxA pentru a modifica profilul.'; } ?> | |
I have a code that places the time into a database in the format Year-Month-Date Time. The time isnt in Pm or Am. I want to change the code from that into Month/Day/Year and the time in am or pm. Is this possible? Or should I be using a different … ![]() | |
Hello, This I am trying to create an effective navigation code in CI. Let's say I have 10 shared pages that have the same navigation. Do I have to add the "## navigation link" codes over and over again (10 times ?) controllers/page.php <?php class Page extends CI_Controller { public … | |
Hello, please update the code to get below mentioned output. when user role is admin display text box. else hide the text box. kindly update the code so as to get desired output. <? php ...... .... $role= $_SESSION['role'] ?> <form> <input type="text" name="bankaccount" value=""/> </form> | |
I have code that worked before so i copied and pasted into new PDO as I am upgrading my website. It displays all images in one row, even though i have told it after 4th image in row crete new row and sart putting images below the row above. <?php … | |
Hello, I revised my previous discussion code by simplifying it. controllers/page.php <?php class Page extends CI_Controller { public function index() { echo "Controller loaded"; $this->load->view('homepage'); } } ?> views/homepage.php <!DOCTYPE html> <html lang="en"> <head> <link href= "<?php echo base_url('assets/css/style.css'); ?>" rel="stylesheet" type="text/css" media="screen"> </head> <body> TEST </body> </html> assets/css/style.css $('body').css('background-image', … | |
Hey iam new in php code and i tried to created login which has two type of user(Normaluser and Amdminuser) but i tried to create query where i want when normal user has loged in, to be able to fetch specified data from database just normal user so please need … | |
Hello, there is a simple code I'm writing but can't find exactly where I'm going wrong. $data = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis eget tellus cursus, ultrices justo at, ultricies libero. Vivamus consequat ante vel nunc dapibus, non tempus elit vehicula. Nulla facilisi. Proin leo urna, … | |
How to add the string before increment values with letters like A0001 increment to A0002---- please help me | |
Hi all. I need help with one HTML form. I taked a web sie template and formed it to suit my need but at the end the form build in it was not working. I have add php file and action to use the php file from what i have … | |
i have a index.php i just want only logged in user can access the page my code . in the index page is <?php error_reporting(0); $authorized=false; @session_start(); if(isset($_SESSION['$myusername']) && isset($_SESSION['$mypassword'])) { $authorized = true; } if(!authorized) { header('location:login.php'); exit(); } ?> | |
please correct the below query. i want to display variable value to textbox using echo command. variable can have both null and non null values. <td>First Party*:</td><td><input type="text" name="firstparty" value="<?php echo is_null($firstparty)? "":$firstparty;?>"/></td> error message error message:<br /><b>Notice</b>: Undefined variable: firstparty in <b>C:\xampp\htdocs\claim\claimform.php</b> on line <b>134</b><br />none. However issue is … | |
/* `I have some dynamic checkboxes and corresponding textboxes. When a user ticks a checkbox and enters data into the corresponding textbox and submits, the value of the checkbox and textbox should be inserted into the database. I can insert the checkbox values perfectly, but the textbox values have issues. … | |
Greetings friends. Please help me to understand this issue. 1 echo"<tr><td>< a href=\"home.php?num=$num\">$num</a></td><tr> 2 echo"<tr><td>$num</td></tr>"; Basically i wanted to have link for variable $num. I couldn't proceed because of following issue. However second command worked fine for me. issue : first echo returns below mentioned output. < a href="home.php?num=23434">23434 second … | |
Hi, I want to send a mail with attachment which was already uploaded and stored in a database using php. | |
I have a very small sqlite3 database with one row consisting of three columns but I can get the page to display the row to save my life. So far all I've been able to get the page to display is the first column of the one row that's in … | |
Whats the difference between Linux and windows hosting? Which Server is Best For Wordpress and custom PHP sites . I have Choosed goodady bcz its provide ssl, domain and hostin service in one place , kindly sejust me if another hosting provider best then godady |
The End.