39,316 Topics

Member Avatar for
Member Avatar for Patiodude

I'm a novice to PHP and MySQL, and would like to create a mailing list on my site, which can send HTML documents (basically styled to match the actual website). Can someone point me towards a good tutorial, or show me how to do so?

Member Avatar for pritaeas
0
118
Member Avatar for adige72

I have an input text and want it to suggest **custom taxonomy terms** as soon as i type on it. These codes below i found after some googling, gives the idea about how to use autocomplete method in WP but i can't figure out how to achieve custom taxonomy terms …

Member Avatar for blocblue
0
1K
Member Avatar for Dani

I'm attempting to use Sphinx for the first time in awhile. require('includes/lib/sphinxapi.php'); // Sphinx Search API $cl = new SphinxClient(); $cl->SetServer($config['SphinxServer']); $cl->SetSortMode(SPH_SORT_RELEVANCE); $cl->SetMatchMode(SPH_MATCH_ANY); $articles = $cl->Query('Foo', 'articles delta'); If I then do `var_dump($articles);` it just always returns `bool(false)`. What am I doing wrong? If, from the CLI on the web …

Member Avatar for vfedorkov
0
740
Member Avatar for udaydesai

Please can anybody help me how can i read xls/xlsx file from controller using Zend framework.

Member Avatar for udaydesai
0
1K
Member Avatar for hlamster

I am trying to do something that should be trivial. I have a database table that I want to load into an array so that I can use the elements later on in my code. What I dont understand is how to put the elements into a simple 2 dimensional …

Member Avatar for Manda.Ravi
0
212
Member Avatar for yaseenamin

Hey guys I need help I am creating a invoice application where user can add invoice. The database of the invoice contains : invoiceid invoice_number customer_name product_name product_qty product_price invoice_remarks Now If a user adds more product what do i do? I mean how can I add 2 product info …

Member Avatar for code739
0
72
Member Avatar for jpadgett230

Hello, I can't figure out how to pass the values from dojo to a new php page. This is the meat of the dojo code that I did not write, I don't know dojo. I have another page that includes libraries and has the code that creates a form for …

0
128
Member Avatar for tarekwiz

Here Is My Index.php <form action="login.php" method="post"> Username: <input type="text" name="usname"/></br> Password: <input type="text" name="pwname"/></br> <input type="submit" /> </form> And Here is my login.php <?php $con = mysql_connect("localhost","root",""); mysql_select_db("logindb", $con); $user = $_POST['user']; $pw = $_POST['password']; $sql = "select username,password,email from users where username='" . $user. "' and password='" . …

Member Avatar for diafol
0
262
Member Avatar for warlord902

I want to know, is it possible to use a mySQL database simultaneously from a PHP website and a Java Website both making continous read and write operations. Are there any tradeoffs? Does connection pooling affect this?

Member Avatar for joehms22
0
179
Member Avatar for veledrom

Hi, I'm trying to insert incoming data from teaxarea into txt (can be without extention as well) file but the incoming data is being manipulated automatically which I don't want. I need to insert as is. How can I solve this problem? Thanks **My codes to insert:** $handle = fopen('cms/files' …

Member Avatar for veledrom
0
98
Member Avatar for G_S

Hello. I need your help with PHP. I recently began studying it, and I am stuck at the "make a contact form" exercice. I am trying to understand the concepts behind it. I think I get everything, but still my Form won't work. I event went as far as to …

Member Avatar for G_S
0
275
Member Avatar for apanimesh061

I want to display the first or any frame of a youtube video directly as I click on its url. Can I also get the dimensions of that particular frame ? How should I do it ? Is 'ffmpeg' an option, but I have seen that it is used with …

Member Avatar for apanimesh061
0
1K
Member Avatar for lemur

Hi guys, For the staticstic purpose I try to write code that will count word "articles" in array in outside file sheet. $file = "articles"; $word = count($details[5]($file)); echo substr_count($word, ' '); so far, I try somethig like u can see above, but it s not work. any idea why?!

Member Avatar for diafol
0
120
Member Avatar for asrsmunna

How to build a website like emp3world.com Please help me... > Munna Bharadwaj

Member Avatar for asrsmunna
0
110
Member Avatar for masocha

l am trying to setup a USSD application working through sockets. l have no idea where to start, can someone point in the direction.

Member Avatar for pritaeas
0
190
Member Avatar for apanimesh061

I checked a few websites related to this topic but I could not find anything to start with ? http://ditio.net/2008/08/06/detect-connection-speed-with-javascript/ http://www.emanueleferonato.com/2006/05/31/determine-connection-speed-with-php/ Using any of these is not giving the right result !! What should I do ? Please help!

Member Avatar for pritaeas
1
152
Member Avatar for Buppy

Hi, I have a site which is listed in another site. I want to check which users comes from that other site by clicking a link, however, that other site seems to be hiding referrer as the HTTP_REFERER appears to be empty. Is there any other way of detectig users …

Member Avatar for pritaeas
0
77
Member Avatar for umcookeg

Hi, I have been working on trying to figure out, how I can get a web page to call a PHP function and have the results returned to the client for processing, for about two weeks. I hope I am in the right forum (ie. Javascript). I will also post …

Member Avatar for rajeevphp2011
1
2K
Member Avatar for ehpratah

hi need a hand here.. im having trouble in making my code work(well actually im not getting it)what i need to do is to compute the rate of vehicle that is rented..the only thing that i came up is with the **perday rate** and the other 2 i cant find …

Member Avatar for ehpratah
0
131
Member Avatar for kingofnothing

hi i need to show the last post thumbnail only i had the code but im now looking for code to get image i need to place the image on the top <ul> <?php $recent = new WP_Query("cat=1&showposts=10"); while($recent->have_posts()) : $recent->the_post();?> <li><a href="<?php the_permalink() ?>" rel="bookmark"> <?php the_title(); ?> </a></li> …

Member Avatar for kingofnothing
0
148
Member Avatar for code739

guys am a newbee and starting to use oracle as a database for php i just want to ask on how to connect php to oracle then how to select a particular database is there an equivalent function for this in oci "mssql_select_db"

Member Avatar for code739
0
123
Member Avatar for adishardis

Hi, I'm sorry if this is answered already but I'm such a newbie at programming that I apperantly can't formulate my problem to find an answer! :-/ Here goes: I have a table filled with data. I want a user to be able to select via a dropdown list what …

Member Avatar for adishardis
0
218
Member Avatar for vijukumar

can any body help me how to create a site with session on when the user login and without session when the guest visit the front page? please pass me the sample code..

Member Avatar for Biiim
0
4K
Member Avatar for Midgard

Hi Guys/Gals- ...not sure exactly how to approach this problem.... Basically, a user on our site will be presented with an option and they have a two-hour window to respond--a db record is tagged when the countdown starts. If they do respond, all is well. If they don't, a script …

Member Avatar for cereal
0
143
Member Avatar for klemme

Hi all, I am updating the position og pages, which I get dynimacally from the DB. It is d possible via the backend, for the admin of the site, to decide which position a page should have, when updating or creating a new page for the site. I let the …

Member Avatar for diafol
0
167
Member Avatar for mogaka

consider code below: //Consider the php part(process.php) <table border="1"> <thead> <tr> <th>Name</th> <th>Language</th> </tr> </thead> <tbody> <?php foreach($_POST['names'] as $k=>$v){ ?> <tr> <td><?php echo $v; ?></td> <td><?php echo $_POST['languages'][$k]; ?></td> </tr> <?php } ?> </tbody> </table> //html part**``** <HTML> <HEAD> <TITLE> Add/Remove dynamic rows in HTML table </TITLE> <script type="text/javascript" …

Member Avatar for Squidge
0
102
Member Avatar for scobi
Member Avatar for shuka79

Hi Everyone, I am developing a site that is database driven and so uses mod rewrite to deal with page name without extension ie .php. I want to pass two variables via a link, so have set it up to be domainname.com/pagename?var1=val&var2=val The page loads but when I try and …

0
75
Member Avatar for skat123

Getting the following error while running the website script Parse error: parse error, expecting `';'' in F:\xampp 1.7.1\xampp\htdocs\engine\includes\functions.php on line 23 Please help to solve this. Here is the coding of functions.php from line 1 till end function paging( $frontUrl, $backUrl, $currentPage, $rowsPerPage, $allRows ) { global $langArray; if ( …

0
99
Member Avatar for Rob2012

Hi Sir, I am trying to collect some data from a php site. However this particular php page has transformed $POST data(to a special timestamp data that I can't replicate) with its own function(setReport() in below code) and sent to its server. So in order to get this data, enter …

Member Avatar for Rob2012
0
1K

The End.