37 Solved Topics

Remove Filter
Member Avatar for kevin wood

why i am i getting this synyax error when trying to display data from the database the code for saving the data is [CODE]// save content to db if(isset($_POST["inpContent"])) { $sContent=stripslashes($_POST['inpContent']); // remove slashes (/) $sContent=ereg_replace("'","''",$sContent); // fix SQL $sql="UPDATE cms_core SET editorial='$sContent' WHERE id=$id"; $query = mysql_query($sql); }[/CODE] and …

Member Avatar for Vince_Cannon
0
662
Member Avatar for kevin wood

this code was working fine until i changed the way the site loads the content (it now loads the content into a div tag) and since then it will not populate the menu. the page can be viewed at [URL="http://acmeart.co.uk/pip_new"]this site[/URL] you will need to go to the sub links …

Member Avatar for kevin wood
0
134
Member Avatar for kevin wood

i have these two pages of information which are stored on a php page which then feeds the main div tag on the index page. the problem i have here is that a scrollbar shows up on the first page but not the second. so to see the rest of …

Member Avatar for nav33n
0
149
Member Avatar for kevin wood

i have built a page which loads content into a div tag from a php page using javascript. the problem i am having is that the title for eachg page is not inside the div so i keep being left with the same title on each page. i have tried …

Member Avatar for kevin wood
0
156
Member Avatar for kevin wood

i am trying to get this code to work but there is something wrong with the array (not to good at these). the main part of the code works it is sending out the email but only ever to one registered user. here is the code i have so far. …

Member Avatar for nav33n
0
1K
Member Avatar for kevin wood

i have this line of code which i cannot see a problem with but i keep getting an error. [CODE]$sql= "INSERT INTO emails (Firstname, Lastname, email, table) VALUES ('$a', '$b', '$c', '$table')";[/CODE] the error i keep getting is [CODE]Error: You have an error in your SQL syntax near 'table) VALUES …

Member Avatar for nav33n
0
106
Member Avatar for kevin wood

not sure if this is the correct place to post but here we go anyway. what i am trying to do is put a table inside a div tag held within a php page but it is not working. here is the code [CODE]print "<h4>There are $num_rows records.<P></h4>"; print "<div …

Member Avatar for kevin wood
0
289
Member Avatar for kevin wood

i have set up a mysql db for storing news articles to be displayed within a flash website. i have now been asked if i could add an image upload function to this section. i have created the upload page and i can upload the images to the db fine. …

Member Avatar for terrymodular
0
1K
Member Avatar for kevin wood

i am trying to submit three forms with the one button using javascript. here is my code [CODE]<script type="text/JavaScript"> function submitForms(){ document.dropdown.submit(); document.radio.submit(); document.form.submit(); } function textLimit(field, maxlen) { if (field.value.length > maxlen + 1) alert('your input has been truncated!'); if (field.value.length > maxlen) field.value = field.value.substring(0, maxlen); } </script> …

Member Avatar for kevin wood
0
115
Member Avatar for kevin wood

is it possible tpo have a movie clip use the gotoAndPlay function without converting it to a button.

Member Avatar for kevin wood
0
78
Member Avatar for kevin wood

how can i get a rollover to target another movie. i have set up some text to use as a link inside a flash website i am building but i have a small box next to it which i want to animated when the mouse rollover the text. i have …

Member Avatar for kevin wood
0
126
Member Avatar for kevin wood

is it possible to get flash to play x amount of frames before completing the gotoAndPlay from a button click.

Member Avatar for kevin wood
0
96
Member Avatar for kevin wood

i have just had to go into the backend of an old site to fix the mysql db as some had deleted the wrong db. i have got most of it working again now but did not know what this line of code is doing. [CODE]$sql = "SELECT id,thumb,image,designer,title,(total/freq) AS …

Member Avatar for kevin wood
0
87
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
232
Member Avatar for kevin wood

is it possible to get this function in flash to load a page without using a on release function. I want to make the flash file i have created to load a html page once the end of the timeline is reached. if i use it wil out the on …

Member Avatar for kevin wood
0
71
Member Avatar for kevin wood

the other threads are not displaying properly on my comp i am getting a white space where the replies and post are meant to be. here is the combo fix log without the snap shot section ComboFix 08-06-20.4 - Admin 2008-06-27 10:44:55.3 - NTFSx86 Microsoft Windows XP Professional 5.1.2600.2.1252.1.1033.18.431 [GMT …

Member Avatar for crunchie
0
139
Member Avatar for kevin wood

is it possible to add a number to a number that is stored in mysql db without extracting the stored number first. i have a count and i am updating the count periodically but i would like to know if i can update the count while it is in side …

Member Avatar for nav33n
0
80
Member Avatar for kevin wood

after i have run my query on a mysql db how can i set the result to equal a variable that i will use later on in the page. i have set the query up like this [CODE] <?php $rand = rand (0, 100); $query = "SELECT broad1 FROM images_broad"; …

Member Avatar for kevin wood
0
139
Member Avatar for kevin wood

i have created a table to store the number of a count which i need for some subtraction at a later date. when i try to get the information out of the table instead of getting the number 5 i am getting resource id # 5. the table has been …

Member Avatar for kevin wood
0
72
Member Avatar for kevin wood

i have created a page which has an iframe held on it i now what to post the data from this iframe and make it available to my other php page. I have researched this a bit and found out it can be done using javascript. the code i have …

Member Avatar for kevin wood
0
103
Member Avatar for kevin wood

i am using php to upload images onto the server and then they are being displayed on other pages around the site. the problem i am having is if the user changes the images that they have uploaded the old ones are displaying from the cache. i would like to …

Member Avatar for kevin wood
0
108
Member Avatar for kevin wood

does anyone no any code that can be attached to a flash button so that it finds and replaces images within a html page. there is a page on the web which looks like it might tell you how to do it but i just keep getting database error when …

Member Avatar for kevin wood
0
85
Member Avatar for kevin wood

i am trying to write a function so that when a user enters onto a page selected images change with each page that is entered. the page uses an iframe to load the new data so i need to swap the images on the main page which holds the iframe …

Member Avatar for kevin wood
0
101
Member Avatar for kevin wood

i have an i frame on my page and when a button is clicked it loads the title for that page into the iframe. the problem i am having is when the image is loaded into the iframe it reduces the size of the image. how can i get it …

Member Avatar for kevin wood
0
4K
Member Avatar for kevin wood

i am working with a flash menu and would like it load content into an iframe using the button from the menu. i have had a look around and found this code [CODE]on (release){ getURL("commissioning/index1.htm" , "ifrm"); }[/CODE] this is meant to load the new content into the iframe but …

Member Avatar for kevin wood
0
64
Member Avatar for kevin wood

i have done this before but cannot for the life of me remember how it is done. i have my title for my website which is a photoshop image and it is used on all the pages each time i go to a different page in the site it reloads …

Member Avatar for kevin wood
0
100
Member Avatar for kevin wood

does anyone no how to make an image in IE transparent? my images work fine in Netscape/Firefox but display with white backgrounds in IE?

Member Avatar for Inny
0
97
Member Avatar for kevin wood

hello, i have created a flash menu to go on to a website that i am building but i have come to a point were i cannot find the actionscript i ned to get the buttons to go to the pages that i want. the problem is that i need …

Member Avatar for kevin wood
0
203
Member Avatar for kevin wood

hello i am trying to display an image from a database which has just been uploaded by the user. when they go onto the next page the image should be displayed here. I have been able to get it to display the path for the image that haas been stored …

Member Avatar for nav33n
0
274
Member Avatar for kevin wood

i am trying created a table on the server called images and when i text to see if the table has been created i get the message table already exists. as i did not develop the rest o the site i thought a table might have been created already called …

Member Avatar for kevin wood
0
91
Member Avatar for kevin wood

Hello i am having a problem with trying to create a table on the server every time a try to enter data into the database i get the message table already exists. I have moved the code to create the table on to its own page and only recall that …

Member Avatar for nav33n
0
316
Member Avatar for kevin wood

i have once again been asked to fix some code on a website. this time the website is meant to have a content management system but once again the person who made the original website did not complete what he started. the content management system side of it is using …

Member Avatar for trudge
0
83
Member Avatar for kevin wood

I am trying to set up a database on the server and keep getting the same error message. it say to me that it was successful in connecting to the db but access is denied for the user. what is causing this as the password and user name that is …

Member Avatar for RoryGren
0
113
Member Avatar for kevin wood

i am trying to connect to my database which i have set up and i keep getting the same message 'could not connect'. i have a php page which sets up the database, and i recall this page with the include db.php to connect to the server. i have tried …

0
75
Member Avatar for kevin wood

i am working on a file upload system and i need the user to be able to upload images onto the server with the page reloading. the page reloading causes all the other information to be lost and the user having a lot of unwanted windows open. what is the …

Member Avatar for kevin wood
0
66
Member Avatar for kevin wood

I am fixing an e-mailing system using php and mysql and have hit a stumbling block. i have recently had to take on someone elses work and have fixed most of the problems they had created. I need to upload images and then display them on the newsletters that will …

Member Avatar for kevin wood
0
89
Member Avatar for kevin wood

hello i am trying to get uploaded to a server using a hidden iframe so the page does not reload. i have a upload.php page which resizes the file and remanes the file. What i thiink should happen is that the php file should be in the iframe and the …

0
92

The End.