39,393 Topics

Member Avatar for
Member Avatar for nishanthaMe

So guys I have program written in php and requires a database with two tables.I want the programe to check that a database exists and if not automatically create database and it's tables. can anyone suggest me a suitable way.

Member Avatar for nav33n
0
71
Member Avatar for hmullie

Hi all i have started a website however i have a problem with the chat script does anyone have knowledge about dolphin scripts. my users seems to be offline even though they are there. just been suddenly disconnected in the chatroom and then the site shows they are offline. the …

Member Avatar for hmullie
0
124
Member Avatar for AbdullahKhatri

Hi, I was searching for the code to set a cookie at the start of the website like you can see at [url]http://www.apniisp.com[/url] , they have given the cookie at the start of the website which automatically popups. plz send me as soon as possible

Member Avatar for tirivamwe
0
396
Member Avatar for mrityunjay22

i am getting the aboe error in the code given below <html><head> <title>MySQL Server Information</title> </head><body> <h1>MySQL Database Server Information</h1> <?php $DBConnect = mysqli_connect('localhost', 'root', 'mrityunjay'); echo "<p>MySQL client version: " . mysqli_get_client_info() . "</p>"; echo "<p>MySQL connection: " . mysqli_get_host_info($DBConnect) . "</p>"; echo "<p>MySQL protocol version: " . mysqli_get_proto_info($DBConnect) …

Member Avatar for Nick Evan
0
145
Member Avatar for innovativeatul

Which one pours more more a .net developer or a php developer and which is more long lasting. Iam asking this question 2nd time just to be more confident and then go ahead with the suggested one. So pls. pls. give your suggestion. thnx,

Member Avatar for serkan sendur
0
107
Member Avatar for jenpai

Hello everyone! Im just a newbie here, and i really need help from you guys. We have a project in our school right now... i want learn how to implement a simple "Post Messages and Announcements" using PHP and MySql in my site. Kind of like a miniforum where the …

Member Avatar for jenpai
0
205
Member Avatar for Scrawn_Dog

Hi guys, relatively new to PHP - hoping someone can give me some advice. I am trying to navigate to a certain page using a switch statement, ie the case that is chosen determines which page you are directed to. The PHP code I have used reads as follows: [CODE]$TourName …

Member Avatar for nav33n
0
87
Member Avatar for ndnalibi

Does anyone have an opinion on Zend. My company does a lot of php web development and would like an independent review of its worth. We work with Joomla as a CMS, so this would be our primary use (writing extensions), although we also do some home grown lampp applications. …

0
65
Member Avatar for rickarro

Hey all, Quick question i'm having trouble answering. I've concantinated my variables together and all looks good except for one thing. I want 2 spaces after a colon and am only producing 1. [code] "Thank You!!<br /><br />PERSON:"." ". $row['fname']." ". $row['lname']." [/code] This produces: Thank You!!! PERSON: John Smith …

Member Avatar for m.pontus
0
96
Member Avatar for Fenerbahce

Hi, I want to create a table in Mysql but i receive an error. [COLOR="Red"]Warning: mysqli_query() expects parameter 1 to be mysqli, null given in C:\wamp\www\CreateTable\create.php on line 11 Table veriler_2 couldn't been created! : [/COLOR] i give you the whole lines to check it for me. I can not …

Member Avatar for m.pontus
0
172
Member Avatar for rajeevkshr

Hi all, I need to pick date for a Textbox in PHP.How Can i Pick this.Anybody can help me for doing this With simple examples............... With regards, Rajeev

Member Avatar for rajeevkshr
0
182
Member Avatar for naju

I have used trim function as: $myar['mykey'] = trim($value); but the return value to that array is not trimed .. still there are white space before and after the real word.... what might had happen

Member Avatar for naju
0
66
Member Avatar for naju

I am working with a site with a lots of modules. some of the modules are inter-linked to each-other; such as article and resource, Member and Level. And now i need to make the modules inter-linked if they exist, and independent if they dont. its like if we have [B]member …

Member Avatar for naju
0
107
Member Avatar for rajeevkshr

Hi all, How Can i call a paricular function in PHP From HTML through href.Anybody can help me for solving this....... Rajeev

Member Avatar for rajeevkshr
0
206
Member Avatar for mahe4us

Hi all, I have obtain an error while making thumbnail images from the uploaded images. The error displays like as below [B]Fatal error: Allowed memory size of 16777216 bytes exhausted [/B] Actually the size of uploaded image is 208kb.. but it displayed the above error with memory size of neary …

Member Avatar for sokchea
0
95
Member Avatar for assgar

Hi I need help. I know what I want to accomplish, but I do not know how to do it. The events are recurring every month, but not recurring at the same time or on the same day of the week. WHAT I NEED HELP ACCOMPLISHING: How to do I …

Member Avatar for assgar
0
96
Member Avatar for rickarro

Good Morning, I have a script that is working just fine as it stands, thanks to ya'll :) I wanted to make a change to it but am having trouble making this change work. The scripts says to "select * from my databases", using "Where" three data inputs. This tells …

Member Avatar for rickarro
0
213
Member Avatar for smilyswapna10

hi, i am facing the problem with reuglar expressions. my requirement is if type the word like `$var` in a input field and select the EXACT WORD radio button and i click the search button then i want to display all files with the word `$var` all in my directory. …

Member Avatar for iamthwee
0
88
Member Avatar for rickarro

Hey All, I have a form that i want to be able to change the look of, it displays within an HTML page and is basically a rectangle with my input fields in it. I'm using a [code]<form action="fromform.php" method="post">[/code] type form. What i want is to be able to …

Member Avatar for rickarro
0
141
Member Avatar for kudzugazette

I have been using PHP sparsely on my website for some time now, but I would like to become more efficient and therefore have a couple questions. They will stream in slowly, bu for right now... Currently I use the <?php tag many times on a page. Is there a …

Member Avatar for kudzugazette
0
149
Member Avatar for naju

I have create lots of module for a cms-site .. with functions only. to avoid the collision of the function names ... i have kept module name before the function names. now i need to convert the modules to classes. one module contains lots of files included .. can we …

Member Avatar for naju
0
87
Member Avatar for iamthwee

How do I send an email... I have WAMP (windows xp apache, mysql and php). But what do I do now. Explain...

Member Avatar for iamthwee
0
159
Member Avatar for sanch3za

get the value from derived table in the walikelas table i have field :id_teacher,name,password in the kelas table i have field :id_class, class_name, and id_teacher. $query=("SELECT w.name, k.id_teacher, k.class_name FROM walikelas w, kelas k WHERE w.id_teacher = k.id_teacher"); my question is how we get the value from w.name,k.id_teacher,k.class_name and then …

Member Avatar for Walkere
0
86
Member Avatar for tzan2833

Dear all I have a few questions. I would be grateful if you could take the time to answer. I have installed on windows xp home apache2, php 5 and mysqlserver 5. The [URL="http://localhost"]http://localhost[/URL] page of apache works fine. The <?php echo phpinfo(); ?> page works fine. However when i …

Member Avatar for grandgoodel
0
150
Member Avatar for paranjyoti

Dear All, I am installing Zoomla for the first time in my local machine. When it came to the 4rth Step (Database), i gave the DB details of my database created online, but it couldn't connect to the DB online. Therefore i created a new DB in the localhost and …

Member Avatar for Dukane
0
61
Member Avatar for hooray

I have a search box on my website, that allows users to look for items that have been posted by other users, I am using this code a the moment, but there is a problem with it [code=php] $category=$_GET['cat']; $text=$_GET['text']; $query=mysql_query(" SELECT * FROM event_information WHERE category='" . $category . …

Member Avatar for iamthwee
0
111
Member Avatar for jhize

At risk of sounding like the newbie I am.... I don't know enough about php to do much of anything, yet. BUT! I know exactly what I need (I think). MAybe someone out there has seen something along these lines: It would be a php module that provide a custom …

Member Avatar for jhize
0
102
Member Avatar for nazall

this is the php code for me that gives me error Parse error: syntax error, unexpected T_STRING in C:\xampplite\htdocs\eurofrit\insert_ac.php on line 35 i will be thankfull if someone helps me because for days i can't fix it <?php $host="localhost"; $username=""; $password=""; $db_name="member"; $tbl_name="produktet"; // konoktimi ne server dhe zgjedhja e …

Member Avatar for phper
0
225
Member Avatar for nuBudDy

hi, im trying to view my php page on the browser on iis and i got this error : [COLOR="Red"]call to undefined function mysql_connect().[/COLOR] im not sure why this happened, tried googling but found only solution on apache. any help would be appreciated.thanx

Member Avatar for phper
0
112
Member Avatar for smilyswapna10

Hi, i am using the regular expressions in php. but i am facing some problem in that. i have input type='text' and i have 2 radio buttons one is Any word and second one is Exact word and i have one search button. if i type in text field as(i.e., …

Member Avatar for phper
0
76

The End.