39,388 Topics

Member Avatar for
Member Avatar for tapuwa2002

Hi guys Hoping you can help me I have designed a form when you click on Attach it opens a pop up window with the upload script, uploading is not a problem but returning the value from the pop up text field to the main form is not working. Main …

Member Avatar for sv3tli0
0
125
Member Avatar for eman neercs

Have 2 tables - one for new titles and the other for authors. I want to tag the "new titles" table with the "author" value if the author's name appears in list of new titles. As you can see from my code, I don't have a clue what is wrong …

Member Avatar for sv3tli0
0
111
Member Avatar for asif49

I've been trying to test out my first website on the following free hosting service for the moment: [url]http://members.000webhost.com/cpanel.php?accountID=6800891&login_hash=xakt1MTI3NQX1Q1z[/url] and it seems that the mysql connection isnt working. I get the following errors... [CODE] Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'Myname'@'10.1.1.34' (using password: YES) in /home/a3793016/public_html/reviews.php on line 35 …

Member Avatar for sv3tli0
0
147
Member Avatar for aureliusnoble

i'm also having a unexspected T-string error, my web hosting service uses php 5 and i don't know what is wrong with my code. attached are all the pages that have this error

Member Avatar for ko ko
0
49
Member Avatar for rpv_sen

Hi i want to generate barcode for each bill. any one can help me. barcode will be alphanumeric(dynamic).

Member Avatar for rpv_sen
0
308
Member Avatar for uselessninja

hi everyone i have this code(dont think its a code spam ..its a trick) which display the date(only): [CODE] <a href="index.php" STYLE="TEXT-DECORATION: NONE">&laquo;Back•</a> <br> <br> <hr width="200" align="left"> <br> <?php $conn=odbc_connect('datasourcegaby','',''); $search=mysql_escape_string($_POST['SEARCH']); if (!$conn) {exit("Connection Failed: " . $conn);} if($search==null){ header("location:index.php"); }else{ $sql="SELECT * from generators WHERE convert(datetime,convert(char(10),TIMESTOMPX,101))= '$search'"; }; …

Member Avatar for uselessninja
0
291
Member Avatar for vaultdweller123

hi guys i need help, i don't know what's the cause of this but somehow the page only loads 2 jwplayer videos and a white screen on mac google chrome. please help :( [url]http://masterbeing.com/nb/yoga-kurs-film-lp[/url]

Member Avatar for vaultdweller123
0
79
Member Avatar for cliffcc

[code] <?php $file_handle = fopen("info.csv", "r"); while (!feof($file_handle) ) { $data = fgetcsv($file_handle, 1024); echo"$data[0] . $data[1]"; } fclose($file_handle); ?> [/code] I want to get the specific cell value (2,2) from csv in php, how can i do that ? Thank you very much!

Member Avatar for cliffcc
0
2K
Member Avatar for asif49

I've just created my first website (congratulate me). And I want to upload it but although I don't have access to many different computers, I've opened my webpages up on google chrome, internet explorer and firefox and the style looks slightly different. So apparently what I need to do is …

Member Avatar for asif49
0
83
Member Avatar for spawn2004

Hi all, i need some help with php. I am writing i web site and i have an upload form . I upload files in folder and in database where i have the filename the path and some other fields which i will use for my sql to set my …

Member Avatar for spawn2004
0
140
Member Avatar for jamesl22

If I have an external website how can I pull data from it. I have the following code snippet that I need to pull data from: [CODE] <div class="headlinesBox"> <div class="headline currentHeadline"> <div class="headlinesClipping"> <img src="/common/images/thumbnails/source/1320614405d.jpg" style="float: left; width: 262px; height: 236px;"/> </div> <div class="headlinesText"> <h3><a href="/details/news/1325223/Template-Assisted_Fabrication_for_Polymer_Solar_Cells.html" title="Template-Assisted Fabrication for …

Member Avatar for diafol
0
142
Member Avatar for jacksantho

Hi, Please look at this: [CODE]<?php print ' <form> <td><input type="text" name="txt" maxlength="7" style="text-transform:uppercase"></td> </form> </html>'; if(isset($_POST['submit']) { $val=$_POST['txt']; #header(); } ?>[/CODE] my text box values gets erased after submit button. If i use header function: error is [B]Warning: Cannot modify header information - headers already sent by (output started …

Member Avatar for jacksantho
0
2K
Member Avatar for asif49

I'm creating a website and I have implemented a commenting/review system on there but I want to stop spammers so I've been trying to find a way to stop people from typing in url's. I tried the following method but it only works for the last thing mentioned (.in) and …

Member Avatar for asif49
0
92
Member Avatar for jenberden

hello , i want to ask on how to create graph using php , and can u give me a sample code on it ? thanks much more power

Member Avatar for 54uydf
0
104
Member Avatar for kaizokupuffball

Hi! Im currently trying to make a social website of a kind. I got the login, registration, userpage, profile TINYMCE editor working. But there is one thing im really struggling with, and that is; How do i let other users visit other users? When the user log's in, they're redirected …

Member Avatar for kaizokupuffball
0
353
Member Avatar for soomro_moon

in DB i have two tables named my one and two.in table one there is a colum named by name and in table two there is colum named by address. when i run the query it show the result but the problem with this is that it show same result …

Member Avatar for ddymacek
0
153
Member Avatar for ghost_from_sa

Hey guys, I was wondering if there is possibly an "onBlurr" or "onChange" way I can check using JavaScript if a Birth date is correct I've seen a couple but I have a pretty simplistic way about how I want to get it done. Basically what I would like to …

Member Avatar for jbennet
0
216
Member Avatar for Ingska

Hi! I have a form made in php4 that worked great until I updated to php5. When I did this I got a lot of undefined indexes. I have been placing isset() around in the form, and now the undefined indexes does no longer show. But something is still not …

Member Avatar for Ingska
0
199
Member Avatar for garymae14

hi !! i want to ask f how to add two values in php ? can u give me a sample code ? tnx and Godbless

Member Avatar for cereal
0
92
Member Avatar for spawn2004

i need help with preg_match i have [CODE] if (!preg_match('/^[a-zA-Z0-9-_]/', $filename) ) { print $error=... }else{ upload... [/CODE] How to improve the preg_match so i can use only a-zA-Z0-9 and this special characters "-_" nothing more. because as i did it when i have file with name abc def.pdf for …

0
80
Member Avatar for 54uydf

is it possible to import say 10 excel files into DB at once? like in PhpMyAdmin, I go and import each file one by one and they are added as new tables. is there some kind of php code I can write to take all files in X folder and …

Member Avatar for 54uydf
0
405
Member Avatar for lordjordysmith

i have been looking everywhere for an answer to this and i still havent found one that works what i want to be able to do is display the details of the user that is logged in but instead it shows the whole database here is my code: [CODE=php]<?php require('authenticate.php'); …

Member Avatar for lordjordysmith
0
1K
Member Avatar for CFROG

I'm receiving an 'undefined index' error when calling a new window and I can't quite figure out why. Seems to me like the variable is not being passed, or holds no value, and again I can't figure out why. I use an identical code for 'state' with no issues. Here …

Member Avatar for mwita
0
139
Member Avatar for ofir0803

Hi We have a lot of fan pages in facebook and Each page has its own subdomain for example: [url]http://page1.mysite.com/1.php[/url] [url]http://page2.mysite.com/2.php[/url] [url]http://page3.mysite.com/3.php[/url] "1 SSL will cover one domain and any sub-directories which you install;- but it will not cover sub-domains, each sub-domain would also require its own SSL" from october …

0
116
Member Avatar for CodeFusion1

Hi. I'm trying to write a simple scheduling script, but have run into a problem. I'm fairly new to PHP, and so have no idea how to update multiple rows in a mysql database. Currently, my code connects to the database and reads each row. If "class" is empty, it …

Member Avatar for CodeFusion1
0
850
Member Avatar for calebcook

Hi. I’m creating a system for my client where he goes to a page where he types in a letter. The text is saved as a file (preferably PDF) and then sent as an email to a printing service. I’d prefer not to save multiple PDFs on my server, so …

Member Avatar for tiggsy
0
1K
Member Avatar for Who me?

Hi, I am new to PHP and need help with my code to create files and folders based on variable values. Here's the setup: 1. I have approximately 100 categories. I've assigned a variable to each category. E.g. [LIST] [*]Variable 1 (as in $c1) contains category one's name. [*]Variable 2 …

Member Avatar for diafol
0
2K
Member Avatar for Bazzaah

Hey there I'd appreciate some help with variables please. I have a search function on a site I'm building and would like to have it so that a user can click on a search result to see more columns from that row on the db, if you see what I …

Member Avatar for Bazzaah
0
109
Member Avatar for gilgil2

Hi, I have the following code to edit a .txt file, but it says there is an error on line 34, I am not sure what it is. Also there are bound to be other problems with the code, so please feel free to point them out. [CODE]<? if ($_POST['pw']!="") …

Member Avatar for gilgil2
0
2K
Member Avatar for zsgamer

Errors: imagepng(): supplied argument is not a valid Image resource in /home/publicr/public_html/dynsigs/anything.php on line 29 Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/publicr/public_html/dynsigs/anything.php on line 29 PHP: [CODE] <php><?PHP function sql_sanitize( $sCode ) { if ( function_exists( "mysql_real_escape_string" ) ) { // If PHP version > …

Member Avatar for Ezzaral
0
1K

The End.