10,940 Topics

Member Avatar for
Member Avatar for marsh4u

i have some entries in a databse like: <a href="85\test\some\other link.pdf"> 85\test\some\other link </a> I need to change that to just "85\test\some\other link.pdf" Is there A way it can be done without having to go through them one by one? Any help would be extremely appreciated

0
53
Member Avatar for bmarshall.0511

Alright after a few months of logging visitors to my site, I've compiled a database with the bots IP addresses and names. As of right now I have a little more than 1,400 recorded IP addresses. I've attached a 4 text documents of the IP addresses. I will continue to …

0
41
Member Avatar for tie372

I have an RPG programmed in PHP and people do fights against each other. Once someone's health is below 0, experience and rewards are calculated, and then the appropriate entry into the database is updated. The problem is that the sql queries near the end are not executing. People's money …

0
52
Member Avatar for bornok15

Im trying to set up an application that will connect to a MYSQL database across the a distance using internet connection. i did it with VB 6 but it seems like the connection is not that stable and sometime it wont connect. Is it because of VB 6? would be …

Member Avatar for ChaseVoid
0
868
Member Avatar for michaelh613

I've taken over a site and i see certain tables being updated without any code on the site doing the update. (It's logical updates so I know its by design and not a hacker) What I can't see in PHP admin and I also have MySql Query Browser is to …

Member Avatar for varmadba
0
105
Member Avatar for tambia

Is there anyway to have (in one query) two separate queries? For example if query one fails then it will not affect the rest of it. Example code: Say that the lastLogin table does not exist: UPDATE userInfo SET lastLogin=3 WHERE id=5 UPDATE userInfo SET LastLogin=3 WHERE id=5 Is there …

Member Avatar for Shanti C
0
101
Member Avatar for veledrom

Hi, Red line below generates error "Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource". I have checked sql string too. Thanks [code] <?php ob_start(); $dbhost = "localhost"; $dbuser = "root"; $dbpass= ""; $dbname = "test"; @mysql_connect($dbhost,$dbuser,$dbpass) or die ("No connection."); @mysql_select_db($dbname) or die ("No database!"); $page = …

Member Avatar for Shanti C
0
82
Member Avatar for runnermile

I am trying to create website that has questions with drop down options. Do I need to know MySQL for that?

Member Avatar for Shanti C
0
62
Member Avatar for php-lover

Hi, It's took me a weeks to figure out this query. I'm trying to select all the data from 7 tables but i got empty result. All these table has a link on region_id column. Your help will be much much appreciated. here's my query: [code]$q = 'SELECT rs.*,rr.*,cs.*,cr.*,cl.*,ls.*,ll.* FROM …

Member Avatar for tesuji
0
104
Member Avatar for sankarmal

hi friends i hava two primary key in single table no auto incriment.when i insert the value in jsp i getting like this error. com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry '0-3' for key 1

Member Avatar for Sulley's Boo
0
54
Member Avatar for almon

I am new to both c#.net and sql server. I am working on a project in which I have to 2-3 users using their application and connecting to common database in lan. I decided to use c# as my programming language. when coming to database i m very confused. microsoft …

Member Avatar for Ramy Mahrous
0
101
Member Avatar for eagled2

I am building a ticketing system and am currently working on the profile page. I have created drop down menu's so admins can select assign users to a specific group. My page is written in php and when submitting my form everything gets updated except the drop down menu's. I …

Member Avatar for R0bb0b
0
248
Member Avatar for eagled2

I'm new to php and am working on my first large scale project. I am making a custom ticketing system that requires users to login and let's technicians login to work tickets. I am trying to implement a account disabling feature so tech's that are no longer with the company …

Member Avatar for eagled2
0
92
Member Avatar for ncognito66

Hello all: I'm currently building a website for a radio station and I want to setup a programming lineup. The fields I'm using are: ID Title Dayofweek (Show Day) Timeslot (Show Time) AMPM (AM or PM) Description Name (Host Name) Bio (Host Bio) Photo (Host Photo) I set these all …

Member Avatar for ncognito66
0
114
Member Avatar for Rakesh Nagekar

Hello friends, when iam working on mysql server 4.1 the power suddenly went off. and when i restarted the mysql the mysql service is not starting and the error [B]"#2003 - The server is not responding"[/B] is comming can any one please help me to get back the database please. …

Member Avatar for trudge
0
79
Member Avatar for kevin wood

i am trying to set up this db and i am getting a parse error which it says it is on line 24 i cannot see the error. help need [CODE]$sql="CREATE TABLE IF NOT EXISTS `merc_users` ( `****` int not null, `******` varchar (250) not null, `*****` varchar(250) not null, …

Member Avatar for nav33n
0
228
Member Avatar for jakesee

Hi, I don't know what is LEFT JOIN at all, but i accidentally made this query work. Can someone tell me if there is a shorter version of this query? [CODE=SQL] SELECT j . * , k.report FROM ( SELECT x . * , y.category AS parent_category FROM AccountCategories x …

0
56
Member Avatar for sankarmal

hi friend I want insert value to three table in single query any body have idea pls send the query for me advance thanks by san..

Member Avatar for Shanti C
0
78
Member Avatar for rupaknath

hi i am rupak from india, i know little about mysql and i would like to more about mysql. i need help. regards rupak <URL SNIPPED>

Member Avatar for Shanti C
0
87
Member Avatar for Sheridan

Hi: I have developed a website using php with a mysql database running on an Apache 2.2.8 server on a Windows machine running XP Professional. I now want to make this website available on the WWW using my own machine as the host server. Can anyone point me to the …

Member Avatar for martin5211
0
103
Member Avatar for james1700

Hi guys, Me again, I have just noticed something which i cant figure out whats going on. Below the query pulls back and account type from my db however the result which is coming back does have the account type but has a number 1 after it eg: Current Account …

Member Avatar for nav33n
0
252
Member Avatar for veledrom

Hi, I encrypte my data when i insert into database. [code]insert into person (name, psw) values ('john',SHA1('111'));[/code] What about when it comes to checking that particular encripted values? Is there any function to use agains SIH-1. I have a textbox and i wanted to verify it with checking encripted data. …

Member Avatar for tesuji
0
73
Member Avatar for OmniX

[code] Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in config.php on line 60 [/code] I have checked a previous thread and they said it was due to the '' in the select statement. But I dont think this is the case here. All I did was …

Member Avatar for nav33n
0
409
Member Avatar for kvdd

hello, I try the following query: [code=mysql] SELECT IF TIME(hour_end) > '21:00:00' THEN timediff(time(hour_end),'21:00') AS diff ENDIF FROM `hours` [/code] Why whould this not work? Any help would be appreciated.

Member Avatar for tesuji
0
114
Member Avatar for eva_blue

Hello to all, I am quite new to sql, and so the time has come that I don't understand why a query has a certain output.I apologise for the long post but I'd rather describe exactly what I am doing in, hoping that someone can spot the problem that I …

Member Avatar for tesuji
0
77
Member Avatar for blackbird29

I have one application in two version: the online version and the offline version(USB). How can I update the online version after some change in the offline database?

Member Avatar for R0bb0b
0
500
Member Avatar for johnathanamber

Morning eveyrone, Alrightly then, I've already got an HTML form that uses PHP to send information to an MySQL database. I also already have a search form that allows me to search for current information that is already in the database. This is what I want to do, but I …

Member Avatar for johnathanamber
0
421
Member Avatar for inampudi

Hi, i want to upload a excel file and insert those data into mysql. i did in core java , just displayed excel sheet data into output. can you plz tell me how to do in jsp.. if possible send me the code

Member Avatar for peter_budo
1
74
Member Avatar for bajanstar

Hi Guys, This is my problem: In the below table: donor receptor 1 -> 4 2 -> 5 4 -> 6 The above reads as follows... Student 1 donates all of his/her money to Student 4 Student 2 donates all of his/her money to Student 5 Student 4 donates all …

Member Avatar for tesuji
0
95
Member Avatar for OmniX

Exactly what the title says with working demonstration please. I know the code but I am unable to get it working. [code=php] function q($a) { return mysql_query($a); } function a($b) { return mysql_fetch_assoc($b); } $abc="select * from table"; $bcd = q($abc); $cde = a($bcd); echo $cde[$column]; [/code] Thanks, Regards X …

Member Avatar for somedude3488
0
165

The End.