Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
53% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
4
Posts with Downvotes
2
Downvoting Members
3
1 Commented Post
2 Endorsements
Ranked #621
Ranked #1K
~51.9K People Reached
Favorite Tags

70 Posted Topics

Member Avatar for martin5211

This looks very useful, and I'd love to play around with it. However, although the script says to download the class from fpdf.org, when you get there the only downloads offered are manuals in various languages and ports to any language EXCEPT php.

Member Avatar for Dani
0
22K
Member Avatar for TIM_M_91

you want greenwich? then the test is `if(!isset($_REQUEST['location']) || ($_REQUEST['location']) != "Greenwich")` atm, it will reject if empty, or if equal to Greenwich.

Member Avatar for tiggsy
0
149
Member Avatar for dany12

I used to use CSE, but as that's windoze only, now I use Gedit, which isn't bad at all, once you've added the optional plugins package and the regular expression search plugin

Member Avatar for diafol
0
191
Member Avatar for skliz
Member Avatar for Jashandeep

Android has a much bigger share of the market than apple, so if your developing, may be worth looking at first. otoh ios is more standard across phones. Android updates aren't all applied by all vendors.

Member Avatar for joelchrist
-2
195
Member Avatar for ssfreaky

The problem is on line 151, which is missing closing quote and trailing semicolon. It should probably read: $string .= "<form method='get' action='".$GLOBALS['bloginfo_url']."/' name='searchBox' id='searchBox'>";

Member Avatar for widi05
0
359
Member Avatar for hwoarang69

$s=mysql_query("SELECT * FROM 'table' WHERE address LIKE '%new%'"); $numrows - mysql_num_rows($s); for ($i=0;$i<$numrows;$i++) { $temp=mysql_fetch_array($s); extract ($temp); }

Member Avatar for tiggsy
0
121
Member Avatar for LAWRENCEANYANGA

the easiest way is to use wordpress. you need a domain unless you use the wordpress.com site. There are lots of tutorials and stuff online, even on YouTube.

Member Avatar for tiggsy
0
118
Member Avatar for Devid Bujji

It's not a big deal around $7 for a dot com from godaddy - that's per year, of course. Then hosting - I would not host at godaddy, as their system has weirdities. Try hostmonster, they are cheap, not too bad, and their system is pretty standard so if you …

Member Avatar for tiggsy
0
416
Member Avatar for Riu 2009
Member Avatar for broj1
0
4K
Member Avatar for GlenRogers

Consider replacing the snippet for previous and next pages with: if ($page > $start){ echo "<a href=\"?page={$prev}\">Previous page</a> "; } if ($page < $last){ echo "<a href=\"?page={$next}\">Next page</a>"; } Then you'll get one or other, or both, depending on where you are in relation to the table as a whole. …

Member Avatar for GlenRogers
0
168
Member Avatar for missy_mi

You've made life difficult for yourself by using the same field name for fields that can contain different values. I am referring to **file_name** and **file**. If you put a prefix on these, so you can tell which table it's coming from, you could then just select the whole lot …

Member Avatar for LastMitch
0
214
Member Avatar for jason.bangayan

It's also unusual (never happens sfaik) to get an error message without information as to the line which is causing the problem. Then you just go look at it. If that line is ok, check back to see if you've forgotten to close quotes or something beforehand. I assume you …

Member Avatar for tiggsy
0
152
Member Avatar for thumati

It appears that $result contains FALSE, so you should check whether the previous mysql_query is picking anything up. I find the easiest way to do this is to paste the query into phpMyadmin

Member Avatar for tiggsy
0
272
Member Avatar for happygeek

It's true that if you're setting up a sale, you need to use Firefox. Bit of a pain, but there it is. No idea who their web designer is. I'd be glad to replace him or her. lol.

Member Avatar for Troy III
4
509
Member Avatar for fabzster

You should be able to do this easily with a small php script. Make sure that the shebang line at the top is correct (ask your host for the path to php), and that the file containing the code is set as executable. These are problems I've had in the …

Member Avatar for fabzster
0
185
Member Avatar for princeofpersiaa

If you're picking up the crop info in a browser-side script, you will have to use a browser side script to perform the crop, as the server side stuff has already executed.

Member Avatar for princeofpersiaa
0
356
Member Avatar for my3h

Not entirely sure what you're trying to do, but how about this: $query2 = "select * from Products where CategoryID = '$CategoryName' "; $result = mysql_query($query2) or die(mysql_error()); if ($result && mysql_num_rows($result)>0) { while($row = mysql_fetch_assoc($result)){ $array[] = $row; } } But why you want to transfer the data from …

Member Avatar for my3h
0
131
Member Avatar for cdogstu99

if you have an issue with a wp plugin, it's usual to contact the plugin author. Otherwise, every time you update the plugin, any fix you've done yourself will be overwritten. If you look in the list of plugins in your browser, you will find the author listed, along with …

Member Avatar for madCoder
0
351
Member Avatar for himerus

I've never had a problem with mod_rewrite on many different shared hosting servers, on Plesk, Cpanel and Dreamhost's quirky control panel. Always linux, though. The easiest way to do this is with .htaccess. However, this is hard to get your head round at first. Once you've got it, it's easy. …

Member Avatar for tiggsy
0
449
Member Avatar for Virangya

You need to give your code unless you're using str_replace. If you are using str_replace, since meta tags are above everything else, you can make use of the optional count parameter as per manual: mixed str_replace ( mixed $search , mixed $replace , mixed $subject [, int &$count ] )

Member Avatar for Virangya
0
138
Member Avatar for mohamedasif18

You would need to embed the flash file on a page, then have a snippet of code on the page that increments your counter, wherever you are storing that information. If you tell us where you're storing this (flat file? database file? which database?) it makes it possible to give …

Member Avatar for tiggsy
0
411
Member Avatar for navi17

Check that you've specified the correct size, and that this matches the size of the video you have. If this looks ok, please supply the code you've used to embed the video.

Member Avatar for tiggsy
0
157
Member Avatar for tiggsy

Has anyone any idea how I stop chrome from displaying perfectly valid links with a line through them. It looks as if they are broken, but if you click on them, they are fine. I've tried specifying [CODE]text-decoration: none[/CODE], but it still happens. I don't even use this attribute (line-through) …

Member Avatar for trelli
0
142
Member Avatar for gyno

[URL="http://www.htmlgoodies.com/primers/html/"]www.htmlgoodies.com[/URL] is dead simple. Good place to start imvho

Member Avatar for elcubanoluis
0
127
Member Avatar for Thorrak

did you upload the images for the logo and other missing stuff? They have to be uploaded as well. And if they were in a subdirectory (like "images") then you have to create that folder on the server and make sure you upload them into it. The same thing applies …

Member Avatar for tiggsy
0
150
Member Avatar for dj-sound

To center an entire web page you need to have this in the css: [CODE]body { position: relative; margin: 0,auto; ...whatever else you have here... }[/CODE]

Member Avatar for tiggsy
0
174
Member Avatar for sirlink99

Those are not the same page. But I can see the banner just poking off the top of the ie one. Or is it behind the navigation? You could trying setting the z-index to some high number on the banner to see which it is. Alternatively try setting specific different …

Member Avatar for tiggsy
0
97
Member Avatar for klemme

.htaccess is supposed to be able to redirect without rewriting the url in the address bar, but I haven't been able to get it to work for probably 5 years. It used to work ok when I first started using it, but no longer. Might be a change in Apache...

Member Avatar for tiggsy
0
282
Member Avatar for calebcook

Back in the day (dos and cp/m) you could send a file direct to the printer by "saving" it to :prn - so if the problem is that php wants always to save a created pdf as a file, then possibly you could redirect the output to the screen in …

Member Avatar for tiggsy
0
1K
Member Avatar for Emma Johns

I also recommend that you download the php manual. The layout of the index page keeps being changed, which is confusing, but if you have a copy of your own, you will get familiar with where to find stuff.

Member Avatar for diafol
0
117
Member Avatar for chandru7

Dunno about best. Cheapest are google's (which I don't like much) and paypal. Most gateways will give you the code you need.

Member Avatar for tiggsy
0
106
Member Avatar for installer

I use firefox. I tried swapping to Chrome, but when I found that, in addition to not having an ftp addon, it had issues with PhpMyAdmin as well, plus various other little problems, I soon went back to the fox. The latest version seems to have speeded up a bit, …

Member Avatar for remixedcat
1
648
Member Avatar for imtired

Seemingly, it's NOT processing the php, then. Perhaps for test purposes you could change the file extension and see if this changes the result.

Member Avatar for ifiok.idiang
0
5K
Member Avatar for klemme

If you really want to get good with regular expressions I can recommend this book: Mastering Regular Expressions by Jeffrey E.F. Friedl, published by O'Reilly & Associates. This book is some 300 pages long! It is very detailed and covers almost any flavor of regex you are likely to come …

Member Avatar for blocblue
0
161
Member Avatar for 54uydf

If you want to use php for this, it would be a lot easier if the school has an api you can tap into. Did you ask about this?

Member Avatar for tiggsy
0
124
Member Avatar for tadisaus2

The general view seems to be that placing a unique article with Ezine Articles, then spinning it and submitting to the other article directories is a good move in SEO. I know for sure that Ezine Articles has helped to drive rank in the past. I am pretty sure it …

Member Avatar for arold10
0
151
Member Avatar for IWDesigns

I looked up codeigniter and it claims to be a "Web Application Framework that helps you write PHP programs". But from your query, it seems it's not helping you at all, since what you want to do can be done in php without any difficulty. My advice is to use …

Member Avatar for diafol
0
765
Member Avatar for BaSk

If you're trying to assign a value that is one more than the last record to which you assigned a value, then the best way to do this is to store the incrementing value in a global variable such as $recordnumber, and assign it to $parent_menu[$row->parentId]['ecount']. [CODE]$recordnumber++; $parent_menu[$row->parentId]['ecount']=$recordnumber;[/CODE] don't forget …

Member Avatar for tiggsy
0
99
Member Avatar for manu555

This is a way to do it, but I would amend it to [CODE]<input type="checkbox" id="chb[]" name="chb[]" value="<?php echo $i++;?>" <?php if ($i=1){ echo "checked=\"checked\" ";)/>[/CODE]

Member Avatar for tiggsy
0
99
Member Avatar for techsavi

What OS are you using? setup differs on linux, windoze and so on. Look up "installing LAMP on <your OS>" in google and you should find complete instructions. I have to say that trying to do it on windoze is a bit of a nightmare as i recall

Member Avatar for sainigks
0
281
Member Avatar for klemme

No. The syntax of the mail() statement looks fine. The message you're getting indicates that smtp isn't set up or not working. You should contact your host about this.

Member Avatar for tiggsy
0
199
Member Avatar for ebanbury

I can't see much obviously wrong with the mysql query, assuming that your values aren't in fact out of sync with your column names. One thing that looks a little strange is that you've missed $ off the variable names $password and $password2 in the values list. Since you've obfuscated …

Member Avatar for tiggsy
0
124
Member Avatar for saqib_604

Is there anything in the error logs or are you getting any error messages on screen?

Member Avatar for tiggsy
-1
194
Member Avatar for Jake.20

OK. For starters, there's no point in storing your POST variable IDnum to the variable $idnum if you're not going to use it. So line 7 should read: [CODE]$insertSql = "SELECT * FROM studenttbl WHERE StudentID = '$idnum'";[/CODE] On line 11, you should be checking the number of rows in …

Member Avatar for Jake.20
0
194
Member Avatar for jacob21

First generate a key. Since you want this to be unique, you can base it on, say the username and the current Universal date, encrypted with your fave encryption method. Store it in a "to be confirmed" list along with the information about user name, password, email, so on. Then …

Member Avatar for tiggsy
0
96
Member Avatar for an00p

$_SERVER['PHP_SELF'] will surely just end up on the current page, so why not just use # and use hidden fields to transfer any data you need?

Member Avatar for an00p
0
122
Member Avatar for kunal_28parikh

The error means unexpected termination of a string, in case you were unclear about this. It often comes up because a line before the one listed has a problem, if that line doesn't end in a ; or if you have unmatched quotes etc on that line. It can take …

Member Avatar for tiggsy
0
302
Member Avatar for Sorcher

php for today in Mysql format is date("Y-m-d"); mysql for today is CURRENT_DATE

Member Avatar for tiggsy
0
150
Member Avatar for gazzy1

I'm not entirely sure what you mean, but if you want to measure the number of seconds between 2 events on a page in php, you'll have to load the page in between, because php is serverside, so it only fires once per page, basically. I can see you're using …

Member Avatar for tiggsy
-1
171

The End.