- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I have the below file that opens a pdf and puts some text at the top. This is working fine. But what i want to do now is replace mypdf.pdf with the results of a mysql query. Similar to this: `$pageCount = $pdf->setSourceFile('../folder/folder/$mypdf');` and `$pdf->Write(0, '$sampletext');` Each person going to … |
|
I am using bootstrap modals, when i query to populate a dropdown to fill in to my form, my query is show all but the first record and i can't figure out why. My form looks like this <div class="form-group"> <label for="deptcode">Department</label> <select class="form-control" id="deptcode" name="deptcode" value="<?php echo $mem['deptcode'];?>" <?php … |
|
Good Day, I'm trying to changed the background color of a field based on the results of the field. My script runs fine and provides the data correctly. I query my database and it gives me a result of $priority. $priority can be High, Medium, or Low. What I want … |
|
Hey All, I know this piece of script is not the best way to write this but it actually worked when I started this project, but for some reason it no longer works. I was wondering if someone could take a look at it and give me some improvements or … |
|
Hey Guys, I need a little help. I have a calendar script that I want to write a query for and pull out the day of the week, then have it send an email showing all the entries for that day. Unfortunately i'm querying a day, month, year as seperate … |
|
Hey all, I found this script that i'm using to read a directory, show all the pdf files in it, then be able to click on one of the pdf files displayed and open the pdf. So far i can show the pdfs in the directory, but when I click … |
|
I'm having trouble figuring out how to display data from another indexed table. What I have is one table (assets) with a majority of my data in it. I use a simple select statement to display the data. Within that data is a field of "typeid" which is an indexed … |
|
Hey All, I've got a web page that displays multiple boxes of text using php. The text are coming from .txt files instead of using a database to store the data. I can update these text files when I want to change the information. My problem is that I need … |
|
Hey All, I'm having trouble figuring out why I can not put aphostrophies in my input form. This is a user input area and it won't take words like, don't, won't ...etc. Here is the input form [code] <?php if (!isset($_SESSION['valid_ad_user'])) { echo "<h2>Sorry, you do not have permission to … |
|
Re:
Hello dears, I have problem with setting up a PHP bible ( [url]http://phpbible.org/[/url] ) to use in my page. Any help please! I really appreciate single jot to this problem, Steve |
|
I have a form that inputs data to a database. All is working fine, but what I'd like to do is when it gets to the [code] $result = mysql_query($query) or die ("Error in query: $query. ".mysql_error()); [/code] instead of the mysql_error, I want to display my own error with … |
|
Re:
Hi everyone, I hope all are fine. Is there have anyone who knows about shorting a table whose containers are uploaded from the database. Please help:icon_eek: |
|
I'm trying to get this script to work and it is only giving me a blank white page, can someone take a look at it and see if you can tell whats wrong with it. [code] <?php // Show simple format of the records so person can choose the reference … |
|
Hey All, I have a simple query form that displays from a mysql database, a list of names and phone numbers. What i'd like is a column heading at the top of the page but I can't seem to figure out how to put it in there. Here is my … |
|
Does anyone know if its possible to update an item on a web page by using a form. Lets say I have a web page that has several different headings with a paragraph of text under each heading. I would like the owner of each heading to be able to … |
|
I'm very new to php and am looking for help getting data out of my MYSQL database. I've made all my proper connections and all is running fine so far. What i want to do is have people get a result from the database based on their input...i.e., put in … |
|
Hey all, Quick question i'm having trouble answering. I've concantinated my variables together and all looks good except for one thing. I want 2 spaces after a colon and am only producing 1. [code] "Thank You!!<br /><br />PERSON:"." ". $row['fname']." ". $row['lname']." [/code] This produces: Thank You!!! PERSON: John Smith … |
|
Good Morning, I have a script that is working just fine as it stands, thanks to ya'll :) I wanted to make a change to it but am having trouble making this change work. The scripts says to "select * from my databases", using "Where" three data inputs. This tells … |
|
Hey All, I have a form that i want to be able to change the look of, it displays within an HTML page and is basically a rectangle with my input fields in it. I'm using a [code]<form action="fromform.php" method="post">[/code] type form. What i want is to be able to … |
|
I'm having a little trouble understanding the mysql_connect and putting the user, passwd, database in a file outside of the web root. Can someone explain this to me like i'm 2 :) mysql_connect establishes the connection to the db, and the way I understand it is..I can put the username … |