- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
from a string that's pulled from a mysql database? i know stripping new lines is [code] $d = str_replace("\r\n","",$d);[/code] but what about tabs and extra spaces? |
|
Hey folks, I'm working on animating gifs in GD. I've adapted the use of the GIFEncoder class from phpclasses. original [B]gif.php[/B] [code=php] <?php Class GIFAnimator { var $GIF = "GIF89a"; var $VER = "GIFEncoder V2.05"; var $BUF = Array ( ); var $LOP = 0; var $DIS = 2; var … |
|
Hey folks, I have made an image-based shoutbox and now users can view older and newer message on the shoutbox depending on the $_GET['page'] - pagination - that works. However, since it's image based and can be linked in forums etc. on the Internet I only want it to save … |
|
Hey all, I've been working on this project for a while now, it was originally called 'MyChat' or 'MyChatbox' but it was more along the lines of a shoutbox, than a chatbox so it has been named 'JustShout!'. The entire concept of it is an image based shoutbox. Usual/traditional shoutboxes … |
|
Re:
[B]Hi all of you , I just want to ask which programming language used in paypal website also its possible to make like this website in php ??? thanks all [/B] |
|
Hey folks, yet again. [code=php] if ($back == "m") //$back is a value pulled from a db; that works perfectly. { $wid = $rowing['width']; $hei = $rowing['height']; createthumb("660x240background2.gif", "./user/" . $user . "_back.gif", $wid, $hei); $image = imagecreatefromgif("./user/" . $user . "_back.gif"); $blue = ImageColorAllocate($image, 200, 200, 255); // prepare … |
|
Re:
I have problem with page navigation.My problem is that am getting all the records in one page. $rowsPerPage = 10; I have 30 records, all are showed in one page...not the 10 records.Here is my code. [code] <?php include ('conn.php'); // how many rows to show per page $rowsPerPage = … |
|
Re:
Hi everyone I have a website, running for years without any problem, and all of a sudden, today, it does not display any pages. All is blank! The website in question is a Xoops installation. I accessed my directory and files via cpanel, and first went to see if I … |
|
Re:
Hi , i am working on vb forums and every thing was fine , but when i put the .htaccess file this errors comes : [B][COLOR="Red"]The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email address removed] and inform … |
|
Re:
hi i want to hide my URL ..i.e when the user uses my application i dont want to show my url but i want to store another url please do tell how to do tat |
|
Re:
anyone know how can i convert bmp to jpg using php? ve play wif gf function but seem got work out |
|
Re:
i have a (process) php code which run background which listening to incoming. and i wanna have another (admin) php code for admin use which i can start and stop the 1st (process) php code. starting the (process) php code is easy with exec(/usr/php5/bin/php my_process_code.php); but how can i stop/kill … |
|
Hi folks, I have an image based shoutbox which I am currently implementing emoticons onto. I have a way now for the emoticons to appear where the :D or =) etc. is on the image, but for some reason they seem to be conflicting. I shall try to explain. chatbox.php … |
|
Hi folks, I have a system for an auctioneer and have on the form I have the fields: lot (the item), reserve price ([Reserve]) and minimum successful bid so far ([Min]). There is then a text box for the user to input their bid ([Bid]). I have set up a … |
|
Hi folks, I have made a ledger sub in Excel. The task is to create a spreadsheet solution for a foreign exchange bureau so each transaction that happens it adds the details to a ledger sheet. For this I have this code: [code=vb] Sub ledge() Dim r As Excel.Range Dim … |
|
Re:
hello is this how u do a delete query from mysql table i need to delete it depending on id number so if user enters id 10 it needs to delete the all the rows that have id 10 from any table which has that id.. thanks $query = "DELETE … |
|
Re:
Ok below is my display script, though I have no idea how to make an edit script so could someone either make one for me or if thats too much to ask atleast help me make one. [CODE=php]<? $username=""; $password=""; $database=""; $con = mysql_connect('localhost',$username,$password) or die('Error: ' . mysql_error()); mysql_select_db($database) … |
|
Re:
Ok well my friend wrote me a ShortUrl script and I continue to get a [CODE]Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/janqed/public_html/index.php on line 37 [/CODE] Well Heres line 37.. [CODE]echo "Thank you! Your new Short URL is <a href='http://www.Lolurl.net/$newid'>http://www.Lolurl.net/$newid</a><br /><a href="index.php">Go Back</a><br /> ";[/CODE] … |
|
Re:
Hi, I have this form which has got all these drop down boxes which has values built in the html form, once selected they are all sent to the database table to be stored only when the authentication is done and for that record only. I am also using the … |
|
Re:
hi i have a table i can write to it ok but i need to know the correct syntax to retrieve the last updated record i have been using something like this but it doesn't work.?? $sql = "select * from tblexdetails where intexchangeID='$tid'"; can anyone ive me any pointers … |
|
Re:
Hi All, i wonder if anyone can help me. I've got a form where you can enter your email address and a surname to search for, when clicking on the submit button the form is processed with a PHP page and sent via email. What I want to do is … |
|
Re:
Hi! I'm trying to learn PHP but as proceed with tutorials I encounter more and more problems. and I'm not sure if they are arising from my mistakes because I just rewrite very simple tutorial excerisies. I get this two errors when I load table1.php in my browser: Warning: mysql_num_rows(): … |
|
Re:
hi i have a problem i need the same thing pop up a windoow when user clicks the link hear is my code plz tell me if i made a mistake [code=php]<html> <head> </head> <body> <? $company= $_REQUEST['companytype']; $companytype =mysql_real_escape_string($company); echo "<h1> <font color=green>Results For $companytype</font></h1>"; $query = "SELECT companyname,companytype,address,kommun,postcode,telephone … |
|
Re:
hi, i keep getting this error and i just cant figure out what is wrong. i got this code off a book that uses php v 5.1.4 and my wamp server runs php v 5.2.5, could this be a problem? does anybody know where i could download a good free … |
|
Re:
can anybody help me by pasing the codes for how to show only the logged in users details.. first tabel for login form... where user give his user name and password to login.. second tabel will be displayed after his succussive login... in the first form only two textbox and … |
|
Re:
hi i have a search page where the user will enter some search keywords and click search.in the next page it will display thesearch result.when the user clicks a search result(a link) it will redirect him to the next page which contains the detail result.when he clicks search result link... … |
|
Re:
I am building a database for a fan club, as I test the signup page I get these errors: Can anyone help Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/rmilnerx/public_html/lilmaq/vSignup/process.php on line 50 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in … |
|
Re:
hello i got two vaildations on one form but can i have two submit buttons?? onSubmit="return checkcheckl(?)" |
|
Hi folks, I have a script that pulls user comments from a database, which works fine. It's an image based script so I'm trying to now add emoticons, for such as =D or =) To do this I plan to use list(,,,,,,$left,$top) for the imagettfbox of where =D or =) … |