developers help topic
Search Only:

Search Keyword create php array from database

Total: 40 results found.

Page 1 of 2
Hi, I am trying to create an array from my db of names to be used for a live search and I havent quite got the syntax correct. This is my basic script called when a user starts ...
I am trying to create a new array from the results of two queries. Its not working. What I am doing wrong? Here is the code for the queries and array. Code: <? $query1="select ...
Is it possible to output PHP code from a database and execute it? Id like to write PHP code inside the dynamic page engine of my CMS. Could i add a checkbox to the input form allowing particular ...
I am trying to create an array from ROWS in the DB, not fields in a row, which is quite simple. Please can someone help. Its really getting irritating now. Quote: $uid = $_GET[uid]; ...
the following code lists results from mysql in html format. i need to create an array from the results, but i have no idea how to do it. the first column in the mysql table is called "datestmp", ...
... site works currently and what Id like to achieve. Current set up: 1.) page request 2.) clean requested page paramaters and make db connection for that users information 3.) create ...
HI all, I am a beginner in php and having problem in getting the single record from database to my home page. There are four tables in the database 1) login 2) pages 3) profiles ...
Ok. Im a newbie to PHP so please dont destroy me yet. I have a mysql database set up with content (a library with book entries), and I want to create dynamic pages from this content. ...
i am currently running the following query to get my data from the database.. Code: SELECT *, DATE_FORMAT(date, %m/%d/%Y) AS dateadded FROM ( SELECT * FROM bonuslevels UNION SELECT ...
Hey So I am building a website that runs almost entirely of a MySQL database. I created submission form in which the person fills out certain fields such as, Article Name, and the actual Article ...
Hi, I would to create an array as mysql_fetch_assoc using data from different queries . My problem is this: The initial query is this: PHP Code:  mysql_select_db($database, $con);  ...
Ive searched around and cannot find any good code to create a dynamic thumbnail table from a database...I want create a table that has five columns and prints the images accordingly. The ...
I am not sure if this is even possible, but I am assuming it is, I just wasnt able to find it searching the forums. Below I have put the code for my SELECT statement and I want to create ...
Hi Folks, Im having probs with the code below. It wont delete the entry from the database. The page just refreshes? Can anyone help? Code: <br><br><br> <center><font ...
Hi Guys I have a number of checkboxes that are created dynamically via a database table. No problems there. I then save the details of the checkboxes that were checked into the database ...
... to an index in a database. I created an array from the database and an array of all of the files in the directory (with the extension & a, b, c, etc, trimmed off). I then compared those 2 arrays to ...
... Category. I am trying to query the products table, create an array of all the CategoryPlay values, then query the Cats_Play table for the Category value, and compare the two arrays, in order to determine ...
My codes can create additional rows into database when new value is added to the toolbox.txt. But when the value is removed, the database cannot remove the affected rows. how can I remove the ...
Greetings PHPers! Ive tried searching the forums but no luck.. What Id like to do , is to explode a string, and depending on how many values are in the array, Id like to create an associative ...
Hi I have a php script imbedded into html. Unfortunately it doesnt show the info. heres my code: PHP Code:  $query1 = (select num_of_sm_images from Eli2 where page_number=5);  ...
<< Start < Prev 1 2 Next > End >>