39,393 Topics

Member Avatar for
Member Avatar for cknapp

I'm writing a webapp for a professor. It is basically a replacement for a csh script he wrote, along with a simple interface that will allow for dealing with input and output files. All the csh script does is automate a bunch of perl scripts. Anyway, I chose to do …

Member Avatar for cknapp
0
136
Member Avatar for Barman007

I just got to the end of an assignment I needed to do and its due tommorow, but I broke my code and i've just spent hours trying to fix it, but I can't. Here are the two things I have left to complete.... [code] 1. A student must access …

0
72
Member Avatar for ckurtz

Hello, i'm a newbie here and i just want to ask if what is the best distro in running PHP, MySQL, Apache? counting on your replies. thanks :)

Member Avatar for icaruslnx
0
156
Member Avatar for harinatt

hi if u login as a user into one site there we have to provide an option to create user define pages when the user is relogin he should get his own site instead of default site. logged in users site with all CSS ,HTML Pages ,Menu bars etc. what …

Member Avatar for praveen_dusari
0
84
Member Avatar for harinatt

hi all, i have a requirement to provide an option to create new site for that page? plz send the reply ASAP.

Member Avatar for ShawnCplus
0
53
Member Avatar for shadiadiph

Hi I have a form and I have a list of checkboxes I am trying to check 2 or all of them and get them to insert into one sql column in my database. When I select them it submits ok but in the cloumn on the database is storing …

Member Avatar for Yamthief
0
150
Member Avatar for soosai

hi good morning.. is my function for EXIT is corrcet? Thank you <form><input type="button" value="exit"onclick="exit=false"></form>

Member Avatar for R0bb0b
0
98
Member Avatar for harinatt
Member Avatar for nav33n
0
124
Member Avatar for StephenP

Hey all, I'm having a bit of trouble making GD load and display an animated gif with imagecreatefromgif() and imagegif(). It only displays the first frame of the animation. Is there any fix for this / am I doing something wrong? -Stephen

0
40
Member Avatar for mira216268

could someone help me with your brilliant ideas of yours to help me for my final project... im a science computer student.. i need your ideas.. im so blank..

Member Avatar for mira216268
0
163
Member Avatar for atplerry

Hello ! I am giving a project to Develop a forum website that people can chat with each other i need your help on where i can get the tutorial or on display records from the databases into a table and some other tips require for the development! Thanks.

Member Avatar for thomasjc
0
116
Member Avatar for doel.jangkrik

I am trying to make a login page using php. index.php contain form for "login" and "password" which will be check by "process.php" My intention is: if the login or password is incorrect, an alert box will pop up telling the user the case, and redirect back to index.php Here …

Member Avatar for doel.jangkrik
0
114
Member Avatar for isomillennium

is there a way to tell the occurence postition of the regex given ?? for example .. $text = 'PHP Hypertext Preprocessor'; if (preg_match('xt', $text)){ echo 'Found Match'; } Like in that example occurence position is 11.. I already know about the strpos() .. but that doesnt accept regex .. …

Member Avatar for nav33n
0
131
Member Avatar for blufab

I am having an issue calling an object's function. Can someone assist? Error: PHP Fatal error: Call to a member function add() on a non-object in C:\Properties.php on line 39 [code=php] <?php require_once 'HashTable.php'; /** * Properties * * The following libraries should be load at instantiation * dl("php_pdo.dll"); * …

Member Avatar for R0bb0b
0
78
Member Avatar for AliHurworth

Hi, I'm struggling to get a relatively simple PHP/MySQL script to work. Basically, I've got two tables populated with entries from a database. However I'm getting errors on the second table [icode]mysql_num_rows(): supplied argument is not a valid MySQL result resource [/icode] and [icode]mysql_fetch_array(): supplied argument is not a valid …

Member Avatar for R0bb0b
0
139
Member Avatar for OmniX

I have a few number values that I need to store in one string/array and then use it at a later time. The idea is: [code] $a = 1; $b = 2; $c = 3; $alpha = $a + " " + $b + " " + $c; echo $alpha; …

Member Avatar for R0bb0b
0
204
Member Avatar for soosai

hi im soosai ..very new to this PHP WORLD..have created database with the field tc...and i have 10 fields in it but only would like to insert those datas in the coding .... but the coding shows some error...pls help me .. Thank you <? @mysql_connect("localhost","root","") or die (mysql_error()); mysql_select_db("upit"); …

Member Avatar for phpuser
0
251
Member Avatar for soosai

hi there is anything wrong with the code down here....? <? @mysql_connect("localhost","root","") or die (mysql_error()); mysql_select_db("upit"); $sql="INSERT INTO students VALUES('$nama','$ic','$fakulti','$emel')"; $result=mysql_query($sql); if ($result) echo"Insert record Successfully"; else echo "Problem inserting data"; ?>

Member Avatar for nav33n
0
87
Member Avatar for stevegoodmedia

Hi i i have a form that is processed by the following php script - the form and script work fine (i got it off about.com works very well!!) but the client does not like the way the email arrives and wants some formatting could anyone tell me how i …

Member Avatar for isomillennium
0
86
Member Avatar for soosai

hi this is my coding for submit and reset button ... but the reset button seems not working ...is it related to the value?.......or the return thing ? thanks for the help.. <input type="submit" value="Submit" /> <input type="button" value="Reset" onclick="valid.reset(); return false" />

Member Avatar for soosai
0
69
Member Avatar for boomar

hi, i m not able to configure java-bridge, here my OS is VISTA business,i installed php5.2.1 with IIS server, now i want to use java classes in php. I read many installation pages tried it,not able to succeed. pls help me in brief to install and configure.:| Thanks and Regards

0
60
Member Avatar for AliHurworth

Hi, I'm struggling to get a relatively simple PHP/MySQL script to work. Basically, I've got two tables populated with entries from a database. However I'm getting errors on the second table [icode]mysql_num_rows(): supplied argument is not a valid MySQL result resource [/icode] and [icode]mysql_fetch_array(): supplied argument is not a valid …

Member Avatar for somedude3488
0
235
Member Avatar for roy--

Hello, I've got a variable string ($policies) of CDATA, that is dynamically generated, what I am trying to do is to find a way to separate the various divs into separate variables. For example the following string will have to be split into $policy_hotel_pets, $policy_children, etc.. each variable storing its …

Member Avatar for somedude3488
0
125
Member Avatar for darmstrong

I'm hoping that someone will give me a moment so I can understand how formmail works so that I can more effectively troubleshoot my problems. Background: I'm downloaded a very basic formmail to use on our intranet site for employees to respond to. I'm testing this on a XP Pro …

Member Avatar for darmstrong
0
483
Member Avatar for jencinas69

Question My xml parser is runing into an error when I try to parse the attached csv I think is because of the three commas before the description, I clean the file manually and leave only 1 comma and it work. I there any way I can identify the extram …

Member Avatar for digital-ether
0
67
Member Avatar for helraizer

Hey folks, I'm working on animating gifs in GD. I've adapted the use of the GIFEncoder class from phpclasses. original [B]gif.php[/B] [code=php] <?php Class GIFAnimator { var $GIF = "GIF89a"; var $VER = "GIFEncoder V2.05"; var $BUF = Array ( ); var $LOP = 0; var $DIS = 2; var …

Member Avatar for somedude3488
0
266
Member Avatar for Barman007

For starters im making a survey form for a website and ive run into a bit of trouble, if anyone could help and point me in the right direction it would be muchly appreciated :) Im a bit of a php/mysql noob, I can kinda make cookies, I kinda know …

Member Avatar for R0bb0b
0
190
Member Avatar for sammoray

[code]if(isset($_SESSION['admin']) == TRUE){echo "<font face='tahoma' color='#ff0000'>ADMIN : ".$_SESSION['admin']." welcome<br></font>";} $sql="SELECT * FROM messages WHERE messages.user_id=" .$_SESSION['userid']. ";"; $result=mysql_query($sql); [COLOR="Red"]$numrows=mysql_num_rows($result);[/COLOR][/code] for the previous code the browser show me this message: [COLOR="Green"]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/e3lan3.freehostia.com/header.php on line 9[/COLOR]‎ and line 9 is the …

Member Avatar for ryan_vietnow
0
90
Member Avatar for yara1

hi how i redirect from .org to .com ex: my page is [url]www.aaaa.com[/url] i want when user write [url]www.aaaa.org[/url] then it will redirect automaticly to [url]www.aaaa.com[/url] :)

Member Avatar for ryan_vietnow
0
108
Member Avatar for boomar

hi, in java this is a syntax for creating an object for class. hello obj=new hello(); where as in php this is the syntax. $obj = new Java("hello"); now i want to cal constructor with parameters, here the syntax for java. hello obj=new hello("key"); pls give syntax for the above …

Member Avatar for ShawnCplus
0
41

The End.