39,320 Topics
| |
Hey Underneith is my code, im having a problem where as when i click the delete button it does what i need it to do (delete a thead) however it also delete the 'title' fields from every other entry in my database ?? this is substantually weird can anyone help … | |
I am a PHP developer and enjoying my work in it , but i was very disappointed when some of my colleagues said that the PHP is bullshit... it is not a programming language... there is no future in it... i was very amazed when other professional doesn't consider me … | |
How to do it? Please! Thanks! A $1 mini-prize is available for the right answer (PayPal or AlertPay) | |
Hi Story goes... I have a booking form, on a website, which needs to send a 'bundle' of data to another page in my booking system. But I dont want to redirect the user to the booking system page... I got it right once on a paypal project, i think … | |
I need help deleting a row from a mysql database using a drop down menu form. i want to be able to just select the category i want to delete and then hit the delete button. For some reason I can not get this to work. I'm also fairly new … | |
Hi guys I am trying to allow people to upload any image (size, format, etc) and reformat it into a jpeg file of 50 by 100. Now im not sure if this is possible to re-format but I know you can re-size the image. At the moment I am having … | |
Hey everyone. I was reading the documentation for this function and I can't understand what the example is doing, and how it's working. Can someone explain to me what these functions are doing? [CODE] <?php function odd($var) { return($var & 1); } function even($var) { return(!($var & 1)); } $array1 … | |
hi im trying to make a flash web page. im using a free template for starting. it has a contact form but when i try to use it just not working. where am i making mistake can any1 tell me?i dont know as well so just c/p what i saw … | |
Hello all, Im trying to display an image to the right side of radio buttons. I kind of did it, but my OK button is too low now, which means I must have put this echo code in the middle of the radio button list or something. Im an absolute … | |
Hello all I need to download the content of a username and password proteced file using negotiate authorization (not basic ex. "Authorization: Basic username:password". I need PHP to download and save the file, but I don't have a clue on how to do this handshake with the server. Anyone having … | |
hi all; im looking a good example of 3 selector like for region province and city. if select form the list of region the province would have a list of province belong to region and the city well provide a list of cities belong to the region. and if province … | |
Hello, I'm having trouble with these syntax errors & need some help. Thanks! Parse error: syntax error, unexpected T_STRING in /home/a3933825/public_html/require.inc.php on line 43 function footer() { ?> <CENTER> <table> <tr> <td class="font"align=center><a href="start.php?option=contact">-contact us-</a> <a href="privacy.htm" target="_NEW">-privacy policy-</a> <a href="spam.htm" target="_NEW">-spam policy-</a><br></td></tr> </table> </CENTER> <? } ?> I also get the … | |
Guys, right now i'm trying to develop a php file that can scan a virus in a server. The file and the virus definition i kept in a separate folder I named it 'virus'. I mean my website is not in a same folder as the virus scanner file. After … | |
Hi there I'm new to using sessions and I'd like some input on what the best method is for my situation. The site I'm building requires a shopping cart. A very simple one I might add. There will be no credit card facility or login system (explained in next paragraph). … | |
[COLOR="Red"]When I open my page I get this error:[/COLOR] [code] Parse error: syntax error, unexpected $end in /home/a9617139/public_html/order2.php on line 215[/code] [COLOR="Red"]Here's all of the code for the page:[/COLOR] [code] <? session_start(); ?> <script language="JavaScript" type="text/javascript"><!-- function placeFocus() { if (document.forms.length > 0) { var field = document.forms[0]; for (i … | |
I'm trying to load a text file into a MySQL table. The text file has 2 delimiters (tab and space). The problem is that some of the fields in the text file occasionally have NULL values. When this happens, and I split (preg_split or split) the file out into an … | |
Hello everyone, I have been trying to get this piece of coding to work! It contains multiple if statements and has just sent my mind spinning. I have an error code and cant seem to get past it! What im trying to achieve is to basically check if the username … | |
Hi What is the difference between Programmer and Developer? Thanks | |
[COLOR="Red"]I have a code and it comes up with this error:[/COLOR] [code]Parse error: syntax error, unexpected T_VARIABLE in /home/a9617139/public_html/order2.php on line 1[/code] [COLOR="Red"]I don't know why it does. This is my code for that page:[/COLOR] [code] <?php session_start(); ?> <script language="JavaScript" type="text/javascript"><!-- function placeFocus() { if (document.forms.length > 0) { … | |
I am trying to crosscheck a column in a table with 30 rows. Example: [code=php] $value = "a"; $sql = "select * from characters"; $query = mysql_query($sql); $fetch = mysql_fetch_array($query); for ($i = 0; $i < 30; $i++) { if($value == $fetch['letters']) { $counter++; } } echo $counter; [/code] The … | |
Hello All, Rookie here... I have run into a problem coding my first Registration form with PHP. Everything works great with the form. I just want to know how to check two fields in the database to see if the values being posted already exist. I have one working but, … | |
hi all; im looking a good example of 3 selector like for region province and city. if select form the list of region the province would have a list of province belong to region and the city well provide a list of cities belong to the region. and if province … | |
guys really need your help here.! im working on multiple update using checkbox. since i was using only 1 checkbox before it works fine. but i need 2 values (from checkbox, because if not, array wont give me the value im looking for..) for my query on the next page. … | |
Is there a command to empty a table? or would I just use a SQL statement in conjunction with a query statement? If so is this the correct syntax [code=php] $table = "abc"; $sql = "DELETE FROM $table WHERE *"; mysql_query($sql); [/code] Would that delete every row in table abc? … | |
Hello, I am really really stuck on a small project im working on and have been at it now for the past 12 hours. lol I am trying to set up a restrcited page for my admins and have the following: [code] $find_access = fetch ("SELECT * FROM job_roles WHERE … | |
I just started a site, and would like to make some dummy profiles. The script I'm using included a profile generator that would assign usernames, age and location (city and state) of the "members". The problem I'm having is that the profile generator assigns a city, but not the corresponding … | |
HAVE A LOT OF THANK YOU VERY MUCH thái san I,m too bad about pc ang soft. Let sent my some word thank you veru much, but i'm don,t like to go US without I'm GI VNCH./. | |
I WANT TO DISPLAY A CERTAIN WORD I STORED IN DATABASE WITH LETS SAY 14 CHARACTERS(LATTERS),NOW I WANT WHILE DISPLAYING IT AFTER REACHING THE 9TH LATTER TO BRAKE. SOMTHING LIKE THIS. MWAKISAMBUKEGE ----- TO GET MWAKISAMB UKEGE If there is apossibility of doing this.Help me please. | |
I'm not sure if what I am asking can be done. Basically, there are two different user levels of people who have access to list & detail pages. Once user level 2 finishes their evaluation, it goes to user level 3 who OKs the evaluation. The client wants to have … | |
I TRIED TO CREATE A SIMPLE WEB ALBUM,SO THAT SOMEONE WILL BE ABLE TO UPLOAD HIS PHOTOS.UPLOADING WAS NOT A PROBLEM. THE PROBLEM IS WHEN I`M DISPLAYING THEM,BCOZ FOR EXAMPLE IF ONE MEMBER HAS 9 PICTURES THEN ONLY ONE PICTURE, I`M MEAN THE FIRST PICTURE TO BE UPLOADED WITH MEMBER … |
The End.