Search found 5 matches

by shoaib
Sat Apr 04, 2009 7:31 am
Forum: PHP - Code
Topic: Delete an item in session array.
Replies: 1
Views: 180

Delete an item in session array.

hi all! i am building a shopping cart , in this when a user click on an item the catname,productname,optionanme(if any) price will be selected, i m incrementing with the quantity but when i remove the quanity and it goes to morethan -1 and keep on , my all variable in save in session can anybody tel...
by shoaib
Sun Mar 29, 2009 11:52 am
Forum: Databases
Topic: Mysql query retreving data from three table
Replies: 1
Views: 301

Mysql query retreving data from three table

[Moved by moderator to Databases forum] hi guys!! i m stuck here a mysql query , i have three tables,category,product,speciality. In category colum the fields are cat_id, cat_name. In product table prod_id,prod_name,prod_desc,cat_id(FK). In Speciality Table i have spec_id,spec_name,prod_id(FK). The...
by shoaib
Wed Feb 18, 2009 11:03 am
Forum: Regex
Topic: seperating a string
Replies: 4
Views: 1830

Re: seperating a string

buddy i new to php i m learning it but i m stuck here if have tried different loops but simply don't get the result . i just want to know the way how to do it. thanks for the reply hello i want to seperate a string, i mean if a value passed in the form like srb123 34rb5 i want a function who can sep...
by shoaib
Wed Feb 18, 2009 10:43 am
Forum: Regex
Topic: seperating a string
Replies: 4
Views: 1830

seperating a string

hello

i want to seperate a string,

i mean if a value passed in the form like srb123 34rb5

i want a function who can seperate a string and integar and echo it seperately

like (srb ) and (123) first example
like (345) and (rb) second example

i am waiting for the reply
thanks
shoaib
by shoaib
Wed Feb 18, 2009 10:25 am
Forum: PHP - Code
Topic: seperating a string
Replies: 1
Views: 282

seperating a string

hello i m new to php , i want to create a function when any string passed through the form , i want to seperate this string and integar and echo it seperately I mean if a value is send through a rbs123 or kml23rb i want that the function seperate (rbs and 123) and also (23 and kmlrb) i m waiting for...