10,940 Topics

Member Avatar for
Member Avatar for MDanz

[code]<?php mysql_connect("localhost", "Master", "pword"); mysql_select_db("db"); $official2 = mysql_query("SELECT * FROM Contribute WHERE stack LIKE '%comic%' ORDER BY points DESC")or die (mysql_error()); while($row = mysql_fetch_array($official2)) { $officaluser = $row['username']; $officalpoints = $row['points']; echo "<table><tr><td align='center'><font face='Arial' size='3px' color='#D99C29'><strong><a href='ustack.php?search=$officialuser' style='text-decoration: none'>$officialuser</a></strong></font></td><td align='center'><font face='Arial' size='3px' color='#FFFFFF'><strong>$officialpoints</strong></font></td></tr></table>"; } ?>[/code] the page is coming …

Member Avatar for colweb
0
65
Member Avatar for neethub3@gmail

code to link database selected through dropdownlist with corresponding database in mysql.Plz reply as soon as possible. Dropdownlist will list all database names inserted in a particular table

Member Avatar for saiprem
0
220
Member Avatar for JerieLsky

How am I going to create a relationship from one table to another in phpmyadmin? Like a one to many relationship?

Member Avatar for pritaeas
0
79
Member Avatar for Dani

When I do `mysql> show status like '%qcache%';` it returns: mysql> show status like '%qcache%'; +-------------------------+----------+ | Variable_name | Value | +-------------------------+----------+ | Qcache_queries_in_cache | 19817 | | Qcache_inserts | 299528 | | Qcache_hits | 687127 | | Qcache_lowmem_prunes | 6702 | | Qcache_not_cached | 3171 | | Qcache_free_memory | …

Member Avatar for Sushantt
0
266
Member Avatar for andydeans

Hi, I was looking for some help with how i would go about setting up my commission table. Basically i have currently: Users Table UserID Username Password Email Clients Table: ClientId Client_UserID FirstName LastName Address PostCode Tel Email Insurance Table: InsuranceID Clients_ClientID Provider Commission DatePaid CarInsurance Table: CarInsuranceID Clients_ClientID Provider …

Member Avatar for rch1231
0
131
Member Avatar for colweb

I have a strange problem when making a backup of my mysql databases. In order to do so I have a 2TB external hard disk mounted when needed under /backup. Before making the backup I stop mysql (with /etc/rc.d/mysqld stop) and use rsync to copy all the data to the …

Member Avatar for colweb
0
320
Member Avatar for andydeans

hi, fairly new to mysql. i have been working on a site which would have say 100 + agents. basically the agents clients are their own so i thought the best way would be to get a dedicated server and create a mysql database for each agents company. the database …

Member Avatar for andydeans
0
149
Member Avatar for JerieLsky

Hi, im working on some project on php with mysql, and I'm only actually a beginner in programming with php and mysql. I created a table in mysql which contains several records. I have like 10 records in it. Now what I want to do is I only want to …

Member Avatar for rajarajan2017
0
110
Member Avatar for ElegantElephant

Is it possible to use PHP and a mysql query combined to allow a whole database backup file to be downloaded? For example, I'm currently backup up my database by using the export tool in phpmyadmin, but what if I wanted to add a button or link on my site …

Member Avatar for diafol
0
172
Member Avatar for jvestby

Hello Today is the first of february and I noticed a bug in my coding. I use the php date function to give me todays date in an european style: 010210 I then insert this date to a mysql table. The problem is that the date after being inserted is …

Member Avatar for njm5785
0
76
Member Avatar for balam

Hi, I changed my table to InnoDB so one table can be used as foreign key. To do that i had to DELETE the content in my child table. I exported and saved the data on my computer. 1, Now that im trying to import all the data with phpMyAdmin …

Member Avatar for rch1231
0
58
Member Avatar for smush

Hi everybody, I'm having some difficulties with mysql_num_rows( ) on line 26. I keep getting a warning that the supplied argument is not a valid MySQL result resource. What does that even mean!? I get the same warning on line 51. Can somebody fill me in on why this comes …

Member Avatar for Froger93
0
152
Member Avatar for jephthah

i know this is about MySQL, but there is no 4GL forum, so i'm hoping one of you experts might know: we have an application that uses Progress (on a unix system) that imports data from .csv files and writes the various fields to the database. one particular type of …

Member Avatar for jephthah
0
222
Member Avatar for Pityu

Hey guys, I have a question: So... I want to do a product page with new product, edit product and delete product feature. While I'm on the modify or the deletion page, I would like to and [B]categorise [/B]by [B]date[/B]-desc, asc ; by [B]category [/B]and [B]alphabeticaly[/B]-desc, asc the retrieved content …

Member Avatar for karuppasamy
0
115
Member Avatar for rch1231

I am attaching a word document I put together with screen snapshots on how to connect to MySQL on a remote server using putty. I hope it helps those of you how have questions.

0
112
Member Avatar for QWaz

Hi, I'm pretty new to php and MySQL. I am trying to use a form to update a the database. However it just doesn't seem to actually work. I also am getting this error from printing out errors: You have an error in your SQL syntax; check the manual that …

Member Avatar for QWaz
0
139
Member Avatar for warzol

Hi all! I am still new at PHP and mysql and am having a little difficult time figuring out how to get my "Trainee Name" link to switch my info list from ascending to descending order and vice versa. Right now, you will see it defaults to ASC. Any help …

Member Avatar for diafol
0
75
Member Avatar for biomed

I have a tab delimeted file that I want to convert into a mysql table. there are 25 tab delimeted fields in the text file. I can get the values in when I construct the SQL statement word by word and get each value individually stated in the VALUES part …

Member Avatar for biomed
0
83
Member Avatar for rohitmanhas_12

Hi, I need help for this problem that i'm trying to solve for a while (i'm Using ASP.net and C#). How do i submit the values from selected checkbox lists into database using c#.... Here's the code: .......................................................................... [code] <asp:CheckBoxList ID="CheckBoxList1" runat="server" Font-Bold="False" Font-Names="Vrinda" Width="338px" style="text-align: left"> <asp:ListItem>Public Tap</asp:ListItem> <asp:ListItem>Well …

Member Avatar for rohitmanhas_12
0
198
Member Avatar for andydeans

Hi, Fairly new to MYSQL, still learning. I have create basic web databases before but the project i am working on just now is slightly more complex than before and need some advice. i have had some help qith queries which has been great however i need some advice from …

Member Avatar for andydeans
0
139
Member Avatar for avinash_545

Hi everyone. I'm currently working on a project whereby I'm creating a small client/server website. For the server side programming, I have no ideas to how to upload and download images. I'm am using Xampp and Mysql database. I really need your help. Please help. Thanks in anticipation.

0
71
Member Avatar for jpknoob

Hi, I have managed to upload images to a table in mysql, however, i am having problems with displaying the image, all i get is a box with a red cross in it and i'm not sure what i'm doing wrong. Here is the code i am using to view …

Member Avatar for pritaeas
0
89
Member Avatar for Waher

I am looking for a platform to build a manual and function reference for my open source software-in-development. Something that is easily organized. I spotted a very nice and simple solution here: [url]http://mpdf1.com/manual/index.php[/url] But contacting the author has not resulted in information what that software is and by the look …

Member Avatar for pritaeas
0
120
Member Avatar for khess

What the hell is up with [URL="http://www.oracle.com"]Oracle[/URL] lately? First, they stopped giving away the Solaris operating system and now they have some big announcement planned for next week at the [URL="http://en.oreilly.com/mysql2010"]MySQL Conference[/URL]. Should we hide our wallets before we listen? To me, Oracle has morphed into [URL="http://www.microsoft.com"]Microsoft[/URL] II with all …

Member Avatar for jwenting
-1
406
Member Avatar for FreshGe

Hello can you help me add utf-8 coding to this query $settings = dbarray(dbquery ("SELECT * FROM ".DB_SETTINGS )); it displayes whole mysql data echo $settings['maintenance_message']; echo $settings['data']; echo $settings['warn']; etc

Member Avatar for colweb
0
57
Member Avatar for FreshGe

[code] <?php if (isset($_GET['id'])) { $id = abs((int)$_GET['id']); $sql = "SELECT *, ((`hit_head` + `hit_chest` + `hit_stomach` + `hit_leftarm` + `hit_rightarm` + `hit_leftleg` + `hit_rightleg`)/`shoot`) AS 'acc' FROM `zp_weapon_stat` WHERE`id_weapon` = $id"; $r = mysql_query($sql); $row = mysql_fetch_assoc($r); if ($row) { $template = 'weapon.xsl'; $weapon = $root->appendChild($data->createElement('weapon')); foreach ($row as …

Member Avatar for pritaeas
0
169
Member Avatar for smush

Hi everybody, I'm having trouble with my query on line 19. I'm supposed to search for a name and return the balance and credit limit. I'm not sure why I keep getting a parse error. Thanks in advance! [CODE=php] <?php $find=$_POST['find']; $name=trim($_POST['name']); if (!$name) { echo 'You have not entered …

Member Avatar for Will Gresham
0
114
Member Avatar for lifeworks

Hi Im trying to pull out a list of meetings, and the associated number of comments attached to each meeting. Comments are assigned a category (ie meetings) and a linkid (the uniqe id of the meeting) - Im using this query, buts its cutting out all meetings that don't have …

Member Avatar for d5e5
0
82
Member Avatar for katties

I've got a situation with minibus repair database design, where it looks like in the Repair table I could do with a 3-composite primary key: jobID from the JobType table (types of maintenance with price and time), mechanicID (Mechanic table), minibusID(minibus table). This way, I've got type of job performed …

Member Avatar for katties
0
388
Member Avatar for rustifer

Hi there Im getting this error message with a script im trying to use. Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/rideron1/public_html/join_form.php on line 67 No database selected The script im using works on my local server but as soon as I upload it to …

Member Avatar for rustifer
0
231

The End.