39,326 Topics

Member Avatar for
Member Avatar for MDGM

Hey, Im just wondering how i can get something like this to work: [CODE] $tablename = $_POST['tablename']; mysql_query(CREATE TABLE `databasename`.`$tablename` (`name` VARCHAR( 200 ) NOT NULL)) [/CODE] At the moment its coming up with an error because I am using a variable for the table name instead of inputting it …

Member Avatar for MDGM
3
3K
Member Avatar for ishlux

Hi all, i have used this include function , but i am not getting proper output, the included files are one below the other i want it to be side by side, this is code i have written whats wrong with this code,? <html> <head> <style type="text/css"> table.one { table-layout: …

Member Avatar for GGAB
0
311
Member Avatar for shaluu

i have installed wamp server in my system to implement spell check.and also aspell in the directory c:\wamp\aspell. i also made changes in the php.ini file to include spell check option. even after i restart the server the changes are not effected.get me some help to overcome this problem

0
31
Member Avatar for phpmine

Hello you PHP Community! I am looking to make an automatic meta keyword generator based on an array of phrases. It is more my site that is under construction, [url=http://www.phpmine.com]PHPMine[/url]. Go to the "Q and A" section and you'll see a series of questions there, five in total. right now …

Member Avatar for digital-ether
0
215
Member Avatar for ibrahimssani

Problem : i have three forms on three different files, personal_details, property_details and payment. After clicking the submit button on the personal details form the property details form opens as expected but upon clicking the submit form button on the property details form the payment form does not open. If …

Member Avatar for ibrahimssani
0
171
Member Avatar for allhimachal.com

hello i am export file in php to CSV with this code: [CODE] <?php header("Content-type: application/x-msdownload"); header("Content-Disposition: attachment; filename=extraction.csv"); header("Pragma: no-cache"); header("Expires: 0"); echo "allhimachal.com"; ?> [/CODE] How i can export the color of allhimachal.com is red and font is bold in CVS file. please help me.

Member Avatar for filippo.toso
0
71
Member Avatar for Danieloc93

I have been looking everywhere and I can't seen to find a script that either lets my users upload their files with some information about them (Title, Description, etc) to my server or a php email form with attachment possiblities. I have tried phpMailer but I don't really like it. …

0
43
Member Avatar for unixmonkey

Hey All, I've been googling and phping (doesn't quite sound as good) and I can't seem to find any references or even what it is called. Here is my current situation: We have a webserver running at production.company.com In directories below that, we have web-applications such as production.company.com/timeTracker production.company.com/calculator production.company.com/geneticCloner …

Member Avatar for ShawnCplus
0
284
Member Avatar for antwan1986

Hi everyone and thanks for reading. I've been making a news section for a client's site and now I'm trying to make a little box for the front page to show the five latest stories. Everything is fine in that aspect; I know about using the LIMIT keyword in the …

Member Avatar for nav33n
0
2K
Member Avatar for scorpionz

Hi this is scorpionz I am having a problem regarding time in PHP. I want to insert time in my mysql DB as for example 10:12 AM or 10:12 PM As a matter of fact mysql will not accept this format, so i am taking a field as VARCHAR but …

Member Avatar for scorpionz
0
76
Member Avatar for nini83

hai..i have problem.. my problem is when checked radio button and click submit , the radio button not disabled and user can check again . what i want is i want that radio button disabled when click submit. i hope you all can help me....i'm very tension...:'(

Member Avatar for phpuser
0
104
Member Avatar for chicago1985

I am trying to translate the PHP script into Java. If anything please advise what or how this translates? PHP: [code] if(isset($_GET['getClientId'])){ $res = mysql_query("select * from tableOne where clientID='".$_GET['getClientId']."'") or die(mysql_error()); if($inf = mysql_fetch_array($res) ... [/code] My attempt in Java and it is giving me errors with getClientId part …

Member Avatar for nav33n
0
111
Member Avatar for dkv

I want to query exchange server through my php script. I downloaded class_http.php and class_xml.php. I am trying to run the example php script to find all the folders in the inbox for a user named 'twolf'. I changed the following parameters as follows: $exchange_server = "http://mail.msm.edu"; $exchange_username = "dkv@msm.edu"; …

0
64
Member Avatar for petr.pavel

Hi there, I have read a few articles about WordPress plug-ins and themes but I can't figure out how to create a completely new page that uses theme. Let's say that my blog is set up to display post detail with the following url: [url]http://myblog.com/2008/06/29/this-is-title[/url] I want the comments listing …

0
52
Member Avatar for chocciies

Hi all! I have a list of contacts with checkbox in every row. I want to delete multiple contacts via the checkbox but with no success. It would be greatly appreciated if anyone could help. Thanks in advance. <form name="form1" method="post" action=""> <p> <?php $cName = trim($_POST['cname']); //echo "Cname is …

Member Avatar for nav33n
0
87
Member Avatar for nathanpacker

This is partly PHP, partly javascript, so I wasn't sure where to stick it, but I'll stick it here. I'm sorry if this is a bit confusing, but I hope I can explain myself well. The below code queries a table in my database, and prints out a table with …

Member Avatar for francine
0
2K
Member Avatar for nilantha_php

plz help me i wanna read following to capture some specify values... plz hepl me &l4H (s3B (s16901T (s12HCharges Summary For the Mobile Service No 0712069069 (Mr. . .) of Account 1863480 _________________________________________________________________________________ Service Package Description : Corporate package for 750 CommBill No : 7810912 (s0B &d#DCall charges &d@ Outgoing …

Member Avatar for nilantha_php
0
126
Member Avatar for Spaiz

Run this...: [CODE=PHP] <?php function recrusion($array, $return, $pid=0, $level=0) { foreach($array as $id=>$parent) { if( $parent===$pid ) { $return[$id]= $level; /* remove "unset" for correct results */ unset($array[$id]); recrusion(&$array, &$return, $id, $level+1); } } } /* input array as id=>parent */ $array= array(1=>0,2=>1,3=>2,4=>3,5=>2,6=>2,7=>6,8=>6,9=>0,10=>0); $return= array(); recrusion($array, &$return); /* return array …

Member Avatar for Spaiz
0
163
Member Avatar for lndfrg

Hi, first of all I apologise for all the mistakes I am going to do writing in English. I will try to explain what I should do. I manage a web site where the owner like to put a sort of newletter for members. It doesn't sound so difficult... but …

Member Avatar for lndfrg
0
100
Member Avatar for mrcniceguy

I cannot upload more than 1mb photo into databases. i`m using wampserver.when it is below one 1mb it is uploaded. your help will be appreciated. Down is the code i used to upload photo. upload.php <form action="addphoto.php" method="POST" enctype="multipart/form-data"> <table cellpadding=0 cellsapcing=0 border=0 align=center width=450 height=50 bgcolor=gray> <tr><td><p><b><font color=blue>UPLOAD YOUR …

Member Avatar for Fungus1487
0
78
Member Avatar for ryy705

Hello, Running the following code returns FALSE. [CODE]$server = "smtp.gmail.com"; fsockopen('tcp://' . $server, 587);[/CODE] I know those are correct server address and port because I have ssmtp installed on my computer it uses those values to connect. But when use those values to connect from a real web server it …

Member Avatar for sDJh
0
88
Member Avatar for darcee

how to put icon on php? in my index.php where i can put the code? heres my index. php <?php include("./include/auth.php"); include("./include/top_header.php"); ?> <table width="98%" align="center"> <tr> <td class="textArea"> <strong>You are now logged into <a href="about.php">Cacti</a>. You can follow these basic steps to get started.</strong> <ul> <li><a href="host.php">Create devices</a> for …

Member Avatar for sDJh
0
126
Member Avatar for BillyMako

Hi, i am having problems displaying the second page of search results. I have applied similar code to a view all logs page which works perfectly but i am having problems making it work with search results. I think it might be a problem with $searchString, not sure??? Please help …

Member Avatar for ambrose
0
156
Member Avatar for mrrsx2006

I'm interested in learning more about PHP and MySQL. What source would you guys reccomend? I'm looking for something online that can first teach my PHP a bit better then the relation with MySQL. I don't want the main PHP site but some eBook or something maybe you guys can …

Member Avatar for ExplainThat
0
100
Member Avatar for phpuser

Hi,friends I want to display calender in simple way just like the calender display all months in first row,after then 15 days of any one month in second row just like dtpicker but all months displayed at the same time in one row. ref link:[url]http://www.tourstogo.com.au/tour.5143[/url] as given in link, i …

Member Avatar for phpuser
0
113
Member Avatar for shekhar52

...........please somebody help me with this ..... i want to display images contained in a folder (basically www dir in wamp)....... the images should be displayed on a webpage...... its like a search box.....you hav to enter the name of the folder to view its images....... ...............please help me with …

Member Avatar for DGStudios
0
73
Member Avatar for Kavitha Butchi

Hi all, Can someone tell me, How to wrap text around an image when the image source is in a php variable?Here is my code. [code=php] <html> <head> <style type="text/css"> #divider { background-color: #ccffff; border: 1px solid #ccc; padding: 0px; margin: 1px 0px 0px 0px; } .fndslist{ position: absolute; border: …

Member Avatar for Kavitha Butchi
0
228
Member Avatar for manor

Hello everyone, I am new to this community.. I have no clue how to go further with the doubt i am going to post. I am supposed to connect to XYZ(remoteserver) which uses mysql server and fetch data from it through my localhost ABC. I wrote my PHP script and …

Member Avatar for R0bb0b
0
111
Member Avatar for yournamehere

Hello everyone, I'm sure this has a quick answer/fix but I can't seem to figure out how to store a checkbox value to mysql. And I'm not sure what type I should be saving it as in the field on mysql(like bool, int, varchar). I have 14 check boxes and …

Member Avatar for nav33n
0
210
Member Avatar for cyberjorge

Good Day! Please help with my requirement, I'm more on a graphic designer and has little knowledge in programing, mostly on basic html only. I have a web page I created in Flash and exported to an html page. I need this to have a predefined username / password (pass …

Member Avatar for sDJh
0
128

The End.