39,316 Topics

Member Avatar for
Member Avatar for mundetas

I have been trying to post a value from a radiobutton selection into my database. My datatype in mysql is int. I want value to be 1 or 0. But I believe it takes the value from the radio input type as a string. I need help in posting a …

Member Avatar for wrivera
0
76
Member Avatar for Hitman Mania

So I'm trying to make a program that counts how many vowels are there in the user's first name. I tried to make the code but its not 100% functional, can someone take a look and tell me where I went wrong? [CODE]<html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> …

Member Avatar for Hitman Mania
0
1K
Member Avatar for peck3277

Hi guys, Hope i'm putting this in the right place. Apologies if i'm not! I'm making a website for a sports suppliments supplier. I'm having some trouble with how to layout the database. I have a navigation menu which has all the categories listed. But some of my products are …

Member Avatar for peck3277
0
70
Member Avatar for reececropley

[B]Ok so I guess there are many threads about undefined indexes.[/B] I am trying to create a form in which a user can upload both textual information and an image. In my site its adding a watch included information and a picture into a database. I have two questions. First …

Member Avatar for nav33n
0
236
Member Avatar for SgtMash

Hi there, I'm struggling to get a simple if statement to work. I am passing a country though to a page from a previous page ( ?country=Poland) and then trying to evaluate it and display a specific bit of text if the country is for example'Germany'. Here's what I have: …

Member Avatar for nav33n
0
93
Member Avatar for Midnite007

If I have a text file and in PHP for example want to read that test file but only a certain part what commands could I use to do this ? Sorry but I am a beginner in PHP and I am lost ... Say for ex I have a …

Member Avatar for Atli
0
245
Member Avatar for sbonder

Hi I am developing a web application in PHP, I need help in identifiying if a user has login to view a certain page. For example: If a user just type an address of a page that should ony be accessed by loged in user with out login on, he …

Member Avatar for jakesee
0
107
Member Avatar for Cyb3rAssasin

Hi I need help I cant find a php editor that has a built in ftp client so i can just click on a file and open it. Ive tried notepad++ with the ftp add on but it doesnt work :/ Any ideas?

Member Avatar for bewodo01
0
162
Member Avatar for nkumar0101

php code to convert doc file to html like in monster.com they take the CV in word file format and display it in a html format

Member Avatar for yogigarg85
0
245
Member Avatar for psyb0rg

Is there a way I can see what exactly is sent by curl in the post? With the body and headers and all. Thanks.

Member Avatar for kireol
0
98
Member Avatar for Midnite000

Can someone please hekp me develope a script that will read from a .txt file ( ex: songs.txt ) and strip out all the songs listed in the file minus the duplicates ... as there will be 2 or 3 of each one listed in the .txt file ... example …

Member Avatar for Midnite003
-4
118
Member Avatar for Bolade

All I want to do is to design a form to collect info from users and have a php process it but I kept getting this error shouting undefine variable. Please some 1 check my code and tell me what is beyond my glimps [B]The form[/B] [CODE]<form action="process.php" method="post"> Your …

Member Avatar for almostbob
0
96
Member Avatar for LloydFarrell

Hi all, i have a DOB input that I am trying to output to a textfield called "StarSign" The DOB works great, uploads to the database fine, What I would like to do is from the given DOB - Output the StarSign to a textfield called starsign. i have dob_y …

Member Avatar for wrivera
0
375
Member Avatar for motieno

Hallo Could some tell me why am getting the following error message. Parse error: syntax error, unexpected '{' in C:\wamp\www\financialacadem\thank_you.php on line 23 Here are the codes for both the contact.php and the thank_you.php [CODE] <form id="contact" action="thank_you.php" method="post"> <div class="form-row"> <label for="first_name">First Name</label>: <input name="first_name" id="first_name" class="required" size="30" maxlength="50" …

Member Avatar for JRM
0
169
Member Avatar for tunde011

posts on my site are usually like this [url]www.mysite.com/detail.php?topic=899[/url] the user post $name, $email, $comment there is an hidden field $hidden After success posting comment i want it to send an email to their email saying blah blah... In the email, i want to include the hidden field so i …

Member Avatar for tunde011
0
485
Member Avatar for Morty222

I am trying to group a list of event dates by their ending date. So if I have 15 events that end on the same date, I want all of those tr bgcolors to be red, then the next group, lets say 8 events all end on the same date, …

Member Avatar for wrivera
0
75
Member Avatar for desiguru

I have a database in which my parent_id same for many rows. So I wanted to write a code which groups all similar images in a paragraph. How can I do this.

Member Avatar for almostbob
0
81
Member Avatar for K?!

I'd like to know if there is an alternative to "this" and "super" from Java in PHP. Greets, K?!

Member Avatar for wrivera
0
175
Member Avatar for bhanu1225
Member Avatar for bhanu1225
0
83
Member Avatar for stangn99

Any idea how I can do this? This is what I tried, and it doesn't work: [CODE] $query="SELECT bookingdata.*, users.* FROM bookingdata, users WHERE bookingdata.userid = users.userid"; $sql=mysql_query($query); while ($row = mysql_fetch_array($sql)) { $id=$row['id']; $userid=$row['userid']; $bookingdata=$row['bdate'];......etc. etc. } ?>[/CODE]

Member Avatar for diafol
0
87
Member Avatar for bhanu1225

Is this the right process to rotate an image ? [code] <?php $original = imagecreatefrompng("myimage.png"); $yellow = imageColorAllocate($original,255,0,0); imagerotate($original,50,$yellow); header("content-type:image/png"); imagepng($rotated); imagedestroy($original); imagedestroy($rotated); ?> [/code]

Member Avatar for diafol
0
47
Member Avatar for bhanu1225

small doubt my friends.... How can we submit a form without a submit button?

Member Avatar for diafol
0
45
Member Avatar for dinoservers.com

Hi, when you create an array its pretty simple but how can i put it in the actual address? example: you insert a text box [CODE]<label> $array = "25" <textarea name="textarea" id="textarea" value='$array' cols="45" rows="5"></textarea> </label> [/CODE] So this should put 25 in the box but, is there away to …

Member Avatar for diafol
0
80
Member Avatar for Dilbert137

Dear All, I'm developing a website which must have a link to an oracle database. does anyone knows how to configure OCI on a linux server. Thanks and Best Regards Dilbert137

Member Avatar for cjbj
0
59
Member Avatar for genieuk

Hello, I was going to post the full script but don't think it will ne needed. Basically i have this query: [CODE]// query db $query = mysql_query("SELECT * FROM `userinformation` WHERE `username` LIKE '%$search%' OR `email` LIKE '%$search%' OR `id` LIKE '%$search%' OR `first_name` LIKE '%$search%' OR `last_name` LIKE '%$search%' …

Member Avatar for Atli
0
243
Member Avatar for Zagga

Hi folks, I'm having a real "Dime Bar" moment! :-/ I have written a small function to display error messages. I can't work out why I have to use a preceeding slash to include my footer.php but not my header.php when they are both in the same directory. [CODE=php] function …

Member Avatar for Zagga
0
112
Member Avatar for Venom Rush

Hi all I'd like to know how/if you can pause a loop for a few seconds and let it start again from where it stopped.

Member Avatar for Venom Rush
0
71
Member Avatar for cane23

i am trying to use the explode function to take a variable as the string under consideratiom but its not working. can some one help me on this one please?? thanks [code] <?php $hostname = "localhost"; $username = "root"; $password = "hayden"; $database = "ecng3020"; $con = mysql_connect("$hostname","$username","$password"); if (!$con) …

Member Avatar for nav33n
0
83
Member Avatar for mangel.murti

hello all,,,, i want suggestion is it be possible to create a samll shopping cart system with only php session no database no txt file for storing values....? thnx in adve.

Member Avatar for kireol
0
57
Member Avatar for sam023

i want to convert hexa to string in php... i google and and got this function... [code=php] function hexToStr($hex) { $string=''; for ($i=0; $i < strlen($hex)-1; $i+=2) { $string .= chr(hexdec($hex[$i].$hex[$i+1])); } return $string; } [/code] it works but not in case of " 062E063506450020003500300030002E0030003000300020004B005700440020064506460020062D06330627062800200032003500380038062706440645062A06280642064A00200031002C003400320031002E0036003100320020004B005700440020062706440645062A06480641063100200031002C003400320031002E0036003100320020004B00570044 " kingly guide me little …

Member Avatar for digital-ether
0
138

The End.