39,393 Topics

Member Avatar for
Member Avatar for dhrider

[B]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') VALUES('corey','gibson','Cambodia','ab','bragg creek','t0l0k0','corey_g' at line 1[/B] $sql = mysql_query("INSERT INTO myMembers (firstname, lastname, country, province, city, postal_code, email, acp_reg, rank_medical, rank_fire, nok_firstname, nok_lastname, nok_country, nok_province, …

Member Avatar for phpbeginners
0
139
Member Avatar for leegeorg07

Hi, I am working on a WP theme with a friend and I'm trying to figure out how to update the files on a regular basis. I will have a server that will be on at certain times (when an update is available) and I want a php file that …

Member Avatar for almostbob
0
109
Member Avatar for tatt727

Hi, I have written a code that retrieves values from a MySql database and displays it in a table. So far so good. Then, what I want to do is have the user click on edit and the row that contains the record to be edited becomes editable boxes. I've …

0
75
Member Avatar for paulbasler

I am working on a social network site with php and mysql. I was wondering which way would be the most efficient way of uploading the users pics to the server into a file folder or directly into the database? Also I was wondering would it be easier to save …

Member Avatar for emhmk1
0
91
Member Avatar for DaveCachia

Hi all! I have dug through the heaping amounts of mod_rewrite threads here and elsewhere and have come to no end! I am wondering if this is not working because: A) 1&1 Hosting is garbage. B) Its on a subdomain. Here is my code. [CODE]RewriteEngine On RewriteRule ^([a-zA-Z0-9_-]+)$ profile.php?username=$1 RewriteRule …

Member Avatar for diafol
0
196
Member Avatar for weasel7711

This is my first time really using HTML, Javascript and PHP. This is part of a prototype for a project for my SW Eng. course. The problem I am having is that the form is not going through the validation. The user is supposed to be able to search by …

Member Avatar for Airshow
0
172
Member Avatar for therio7

Hi everyone, I hope someone can help me, here's my problem: I have a php script that retreive photos from a mysql db (and place it on my page into a loop in the right album section), I dont know if you understand what I mean but if you have …

Member Avatar for therio7
0
212
Member Avatar for silursh

I tried real hard to practice that elusive php mail function but i couldn't manage to successfully send email from my php form to any of the mailbox addresses that i specified as recipient in my php form. It has been three days and i am still clueless. So all …

Member Avatar for pritaeas
0
104
Member Avatar for veledrom

Hi, I want to learn ZEND Framework. I have checked the courses and they are very expensize. My question is, if I buy a book for ZEND, do you think i could learn it. I know PHP5 and OOP. I am open for other recomendations. Thanks

Member Avatar for GL.Za
0
66
Member Avatar for nschessnerd

Hi I'm having an issue with curl on windows with php. If i have curl enabled in php and i run php through command line i get an instant cpu spike... php.exe cpu jumps to about 20% then back down. when i disable curl it only jumps to about 2% …

Member Avatar for nschessnerd
0
891
Member Avatar for 68thorby68

I am posting very simple PHP/mysql as below, to get the hang of creating a DB query, and checking if my syntax, and contruction logic is correct, However when I post the code below: [code] $dbhost = 'localhost'; $dbuser = 'myuser'; $dbpss = 'myassword'; //connect to database// $conn = mysql_connect($dbhost, …

Member Avatar for 68thorby68
0
99
Member Avatar for ayesha789

Hi this is my table structure. I need one result from this. There is a field named LAPeriodStart in this table. If LAPeriodStart date is 2009-01-05 Site Id is 4067 Today Date is 2009-12-07 1. Now I need to calculate LAPeriodStart Month from the date(2009-01-05) How its Possiblle? 2. If …

Member Avatar for ayesha789
0
279
Member Avatar for kenwestphal

Hi, I'm been looking online for sometime now and haven't really found anything that helped. Bascially my question is: Is there anything else I need to add to my php.ini file or on my Exchange server to allow me to recieve email since I'm not getting email currently from my …

Member Avatar for pritaeas
0
224
Member Avatar for magicalmakx

Problem with storing values in Array from php to AJAX index.php [CODE] <html> <head> <title>Main Page</title> <script language="javascript" type="text/javascript"> function ajaxFunction() { var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if(xmlhttp.readyState==4) { var arr = new Array(xmlhttp.responseText); alert(arr[0]); } } xmlhttp.open("GET","main.php?q="+document.frm.Act.options[document.frm.Act.selectedIndex].value,true); xmlhttp.send(null); } </script> </head> <body> <form name="frm" id="frm" …

Member Avatar for magicalmakx
0
1K
Member Avatar for Hanna_garcia

Hi. im new in php and i am building a simple site..my problem is how could i make a dynamic query in php using one txtbox to input the keyword and one button. and when i hit the submit button the information will display on other text boxes.. any suggestion …

Member Avatar for xuexue
0
71
Member Avatar for elamigosam

I want to know if there is a way to make php react to a change from mysql database example: I have information on a db and I want to display it in a table and group all the info from one day in one <td></td> then when the day …

Member Avatar for elamigosam
0
83
Member Avatar for honos1

Want to click on an image from a list and simply set that filename in a field in a mysql database. I read the tutorials and have tried several different ways to pass the variable on the url and then update with a second php page. Hi my second question …

Member Avatar for honos1
0
142
Member Avatar for Deady

Hello Devs, Wondering about permissions-based web software to have a registered user (client) upload file to server host, perhaps for a fee, and have server host take file and store it. Is there a somewhat streamlined solution for this? I realize this can be achieved with sophisticated software such as …

0
40
Member Avatar for newbie37

Can anyone help me or get me going in the right direction? Here is the problem. I need to create a script that presents a word guessing game. Allow users to guess the word letter-by-letter by entering a character in a form. Start by assigning a secret word to avariable. …

Member Avatar for newbie37
0
429
Member Avatar for newbie37

Can you create a form and have it show in the same window when you click the submit window? can this be done with out a database? Here is a rough sketch of what I have in theory... see attachment Like signing a guest book.

Member Avatar for newbie37
0
82
Member Avatar for cambraydesign

Hi, I need help with this. I basically want users to enter their name email address with validation and also have a tick box for them to say yes or no to receiving future updates. This information will be sent to an email address not a database on clicking the …

Member Avatar for almostbob
0
206
Member Avatar for aditi_19

Hi, I want to upload pdf file on the network drive ([B]name : csu shared files on 'csu-isa-s1(S: )' [/B]) instead of uploading it in the local drive of the server computer? Could anyone tell me how this can be done. It will be great help ! Thanks, Aditi

0
63
Member Avatar for azegurb

Hi I have took from internet PHP script that uploads images to the host [CODE] <form name="upload-form" id="upload-form" method="post" action="./upload.php" enctype="multipart/form-data"> <input type="hidden" name="MAX_FILE_SIZE" value="30000"> <fieldset> <legend>File upload:</legend> <dl> <dt> <label for="file">File:</label> </dt> <dd> <input tabindex="1" accesskey="b" name="file" type="file" id="file" /> </dd> </dl> <input tabindex="2" accesskey="l" type="submit" name="cmdupload" value="Upload" /> …

0
102
Member Avatar for bouncycastle

Hello I have tow queries on my website. A first query that extracts a number of records from my "Tutors" database based on the criteria "Location". This query works fine and returns "Id", "Name" and "HourlyRate". I want my user to be able to see an extended profile for each …

Member Avatar for praveen_dusari
0
413
Member Avatar for anu.reka85
Member Avatar for NoID

Hello Guys, Can someone please show me if this is possible or not, if so where can i get further information or a code example will be nice. When i enter first name, and then click from the drop down selection "product spec 3" from options "product spec 2" , …

Member Avatar for NoID
0
146
Member Avatar for yonker
Member Avatar for awo

I just started using both PHP and MYSQL and i have this SQL statement that get record from three tables ie [CODE]Select name,age, datejoind, active, avrage_time_in,avreagework_duration from Personalrecord Union Activestaff Union Timetable[/CODE] but i need to be able to get a the list of Returnd field name into a PHP …

Member Avatar for diafol
0
189
Member Avatar for leahmarie

Hi guys, I'm not sure if this is the right category for this inquiry. I have my phpmyadmin working for my existing database but I couldn't make it to work. The site is running in xammp localhost. I have the data in place . I get the database to run …

Member Avatar for jomanlk
0
88
Member Avatar for levsha

I've read some articles and forums on the topic, but still hasn't gotten a clear answer for myself... What I need is my incoming emails to be stored in my MySQL database. I understand that the email has somehow be submitted to a PHP script that will handle it further, …

Member Avatar for Simply T
0
491

The End.