38,022 Topics

Member Avatar for
Member Avatar for lifeworks

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 …

Member Avatar for chrelad
0
71
Member Avatar for AON07

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 …

Member Avatar for R0bb0b
0
1K
Member Avatar for OmniX

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 …

Member Avatar for OmniX
0
69
Member Avatar for antwan1986

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 …

Member Avatar for antwan1986
0
110
Member Avatar for mhangman

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 …

0
60
Member Avatar for nea_m

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 …

Member Avatar for nea_m
0
224
Member Avatar for sigbjorn

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 …

0
84
Member Avatar for god_1896

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 …

Member Avatar for mangel.murti
0
262
Member Avatar for streetrodfanati

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>&nbsp;&nbsp;<a href="privacy.htm" target="_NEW">-privacy policy-</a>&nbsp;&nbsp;<a href="spam.htm" target="_NEW">-spam policy-</a><br></td></tr> </table> </CENTER> <? } ?> I also get the …

Member Avatar for streetrodfanati
0
220
Member Avatar for chaom79

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 …

Member Avatar for Juliopp
0
222
Member Avatar for Venom Rush

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). …

Member Avatar for R0bb0b
0
80
Member Avatar for google503

[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 …

Member Avatar for R0bb0b
0
153
Member Avatar for mb2442

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 …

Member Avatar for mb2442
0
85
Member Avatar for justted

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 …

Member Avatar for humbug
0
124
Member Avatar for Amisha_Sharma
Member Avatar for Shanti C
0
85
Member Avatar for google503

[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) { …

Member Avatar for cwarn23
0
135
Member Avatar for OmniX

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 …

Member Avatar for OmniX
0
117
Member Avatar for dbroncos

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, …

Member Avatar for R0bb0b
0
78
Member Avatar for god_1896

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 …

Member Avatar for god_1896
0
129
Member Avatar for enim213

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. …

Member Avatar for enim213
0
76
Member Avatar for OmniX

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? …

Member Avatar for OmniX
0
203
Member Avatar for justted

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 …

Member Avatar for justted
0
179
Member Avatar for flynismo

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 …

Member Avatar for flynismo
0
174
Member Avatar for ttv2008

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./.

Member Avatar for scru
0
39
Member Avatar for mrcniceguy

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.

Member Avatar for mrcniceguy
0
314
Member Avatar for mgn2683

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 …

Member Avatar for R0bb0b
0
88
Member Avatar for mrcniceguy

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 …

Member Avatar for mrcniceguy
0
101
Member Avatar for mangel.murti

hi all ,the code i write below display report on selection of some field below it.my problem is that i want to print this report but controls are also printing with report.i want that only report will print. please help me to solve my problem............can i transfer report to other …

Member Avatar for trinitybrown
0
174
Member Avatar for trinitybrown

I am learning PHP/MySQL and have heard about Joomla CMS, I wish to learn it but don't understand from where to start, kindly guide me about this

Member Avatar for ithelp
0
92
Member Avatar for rickya100

Hi, Can anyone please tell me how to do a REST request to a URL using method POST and NOT GET. I know I have to pass XML to the URL but I really don't know where to start actually sending the request. I have tried looking at loads of …

Member Avatar for rickya100
0
345

The End.