39,316 Topics

Member Avatar for
Member Avatar for edek

I have a reference to some string. I need to copy (clone) that string. This is what I tried [CODE=PHP] $newString = $refToString; //this just copies the ref - no new memory allocated $newString = clone $refToString; //this creates "__clone method called on non-object" error [/CODE] If anyone knows how …

Member Avatar for martin5211
0
9K
Member Avatar for mrcniceguy

I`m uploading images to the database for my website,it works fine)) I want them to be resized to width=160 and height=140. now i dont know if i should resize them before uploading them to mysql database Or while Displaying them. Also i dont have Knowledge concerning resize of image. Please …

Member Avatar for Rhyan
0
97
Member Avatar for talkwithtarique

Hi Everbody, Have you idea about chat- I am facing some type of problem related to chat. How to open a div or popup when anybody send message, like gmail chat system. Thanks, in advance tarique

Member Avatar for digital-ether
0
80
Member Avatar for mrcniceguy

I`m creating a social network website,My problem is that i dont know How to get started in this FRIENDS SECTOR. I want somebody to be able to send a Friend Request to Another in my website,and after the other one Accepted the request Both to be able to see each …

Member Avatar for digital-ether
0
1K
Member Avatar for mikkey

Hi everyone please i need some help with linking my website to my database. Can anyone help me? Thanks

Member Avatar for Shanti C
0
76
Member Avatar for r_sathya
Member Avatar for Diode
Member Avatar for digital-ether
0
84
Member Avatar for MDGM

Hi all, I have a shopping basket feature on my website which saves the product's primary key in the session array called 'cart', each one seperated by a comma, so example: '123,456,789'. Now in order to get each item from my shopping basket to paypal I need to write 2 …

Member Avatar for MDGM
0
118
Member Avatar for Ajay Patel1

Hi I want to Convert HTML table in to text file using PHP for that what i have to do? pls Suggest me Thanks All, Ajay

Member Avatar for digital-ether
0
1K
Member Avatar for hakimkal

Hey, some weeks ago, a friend asked me to try out the SYMFONY project framework, been a WINDOWS XP User running the WAMPSERVER 2.0 which has php5.2.5 running, I realize that the Symfony definitive guide PDF book had its focus more on *nix core systems though probably with a few …

0
85
Member Avatar for scorpionz

Hi this is scorpionz I have a registration form that is created in PHP, now I am using mkdir.... to create a folder with name that login name entered by user, so no duplication is possible, now the I need some guidance code to improve the restrictions, like No Other …

Member Avatar for scorpionz
0
102
Member Avatar for techbongo

I have this code. But it's not working. Please give me some code in PHP, so that I can attach a file using an HTML form and send it to some email address. The file type (I want .zip only) and size (I want 2 MB max) needs to be …

Member Avatar for techbongo
0
2K
Member Avatar for k2k

hi, would anyone please point out why my data don't go into the database table? it is tested successfully connected to the database and the table maapa thanks [code] <?php mysql_connect("localhost", "root", "") or die(mysql_error()); echo "successfully logged in </br>"; mysql_select_db("maapa") or die(mysql_error()); echo "successfully connected to database maapa </br>"; …

Member Avatar for Shanti C
0
78
Member Avatar for psycho007

Hi All I was wondering if somebody could help me as this is driving me crazy. I am trying to send an array from a mysql_fetch_array result to a seporate table. I have the following code: [code=php] include("config.php"); $result7 = mysql_query("SELECT * from order_total"); while($row = mysql_fetch_array($result7)) { $test = …

Member Avatar for psycho007
0
135
Member Avatar for radhigoud

Hi friends This is Radhika Here is the Query: $str=strlen("Welcome to Program of PHP"); this is o/p:25 But my query is it should read how many words we like for example:uptill "welcome": output is :7....... remaining part should be printed like dots etc. But use single function only. advance thanks …

Member Avatar for martin5211
0
247
Member Avatar for queenc

hi i am using db layer foor all my quries.i want to know how to use mysql_num_rows in dblayer thanks in advance

Member Avatar for jack239
0
100
Member Avatar for r_sathya

Hai i am sathiya please help me to display my database tables in the grid manner through php code. give some example to me.......... i display the databse tables in the normal table manner via PHP code ........ but i am trying to display that tables in the grid manner …

Member Avatar for jack239
0
146
Member Avatar for rutaba

plz i need urgent help i hav to giv project of web , a dynamic website using php.. gimme sum gud idea for topic plzzzz

Member Avatar for isotope
0
100
Member Avatar for mgn2683

Is it possible to restrict access to a page using a recordset? There is a list and detail page for a table 'score overview'. Basically I want to have it so if a person is on the list page, they can't go to the detail page because of the WHERE …

Member Avatar for cwarn23
0
51
Member Avatar for metabex

Hi there, I am somewhat new to PHP but catching on fairly well. However, I'm currently stumped. I would like to access the newest XML file in a folder. Right now my code is hardwired so everytime I want to see the newest file I have to actually enter it …

Member Avatar for Atli
0
115
Member Avatar for BillyMako

In the product list online i have the same products uner different names due to restrictions on oscommerce. Example: VDE004-DE VDE004-DE1 VDE004-DE2 NLD6400-TO NLD6400-TO1 etc..... In the inventory list it will just have - VDE004 NLD6400 When a product is purchased is decrements one off the stock_level column. I need …

Member Avatar for Will Gresham
0
95
Member Avatar for psycho007

cut a long story short I have 2 tables, one called orders_total and another called orders_complete. the total_oders table contains rows of what the customer has ordered to eat i.e. colum called 'item' contains the item description colum called 'cost' contains the item cost for example i can sucessfully display …

Member Avatar for psycho007
0
126
Member Avatar for 123468743867143

I operate a real estate directory site. [U][B][COLOR="Red"]Trouble of the day:[/COLOR][/B][/U] Cannot get my Back URL to go back to the previous page with all the user' search criteria still there. It goes back to the page and [U]they have to fill their criteria again[/U]. [U][B][COLOR="red"]Example: [/COLOR][/B][/U]They pick Fiji and …

Member Avatar for 123468743867143
0
139
Member Avatar for bigginge

I have set up a guestbook on a flash site and the customer has asked for a bad word filter to be incorporated. I have this code for it: $bad_words = explode('|', 'badword1|badword2|badword3|etc|etc'); foreach ($bad_words as $naughty) { $comments = eregi_replace($naughty, "#!@%*#", $comments); } Where in the following code should …

Member Avatar for bigginge
0
182
Member Avatar for Venom Rush

Hi there I'm curious as to the process that happens when uploading a file. In all cases of file uploads do the files get uploaded to a temporary folder before any execution of code happens? If at all possible could someone provide a link to a page that explains the …

Member Avatar for mexabet
0
79
Member Avatar for jackakos

Hi Folks, is there a way to validate input fields using only PHP scripts before inserting into a MySQL database? I have fileds for: Date (DD-MM-YYYY) Time (24 hour format between 0900 and 1700) Location (String) Your suggestions will be a boost.

Member Avatar for jackakos
0
196
Member Avatar for Modo

hi guys how r u doing .. i need some help .. something went wrong and i dunno what is going on .. i will post the problems .. i hope someone could help first i tried making a script .. to include certain files depending on the time ... …

Member Avatar for Modo
0
169
Member Avatar for krisna_samy85

hi everyone... I'm newbie in php.... currently doing my class project (simple tennis court reservation).... kindly please guide me how to do and please provide some sample.... thanks alot...:)

Member Avatar for ithelp
0
91
Member Avatar for Belo

can anyone teach me how to design web using PHP What software i need to have and send me some tutorial

Member Avatar for star-whiz
0
110
Member Avatar for kings

in my php application i have used onchange and onload javascript function.it is working fine in IE but it is not working in other browsers eg:mozilla,chrome,flock

Member Avatar for Atli
0
108

The End.