Search found 86 matches

by kc0pph
Tue Dec 06, 2011 3:47 pm
Forum: PHP coding => General
Topic: Echo and Print won't stop printing out
Replies: 1
Views: 454

Re: Echo and Print won't stop printing out

I always use single ' when i have pure html or text to pass through. I use " when there is something that needs to be evaulated and not passed through. Do not think this is your issue. Maybe your if argument might be causing some trouble. You should (but not sure you need) have something that can be...
by kc0pph
Tue Dec 06, 2011 7:23 am
Forum: mySQL & php coding
Topic: Edit the select option using radio button and update in mysq
Replies: 3
Views: 642

Re: Edit the select option using radio button and update in

Well You need a way to reference a unique "person" So that might be "rider_id" Then your first SQL would read something along the lines of INSERT into table values. Then the next part would be searching for a rider and that can be done with SELECT from table where userid = userid The last sql statem...
by kc0pph
Tue Dec 06, 2011 7:17 am
Forum: PHP Scripts
Topic: PHP Auto-post Script
Replies: 3
Views: 2032

Re: PHP Auto-post Script

maybe use CRON?
by kc0pph
Mon Dec 05, 2011 1:47 pm
Forum: PHP coding => General
Topic: trying to setup a site: college project.. help?
Replies: 15
Views: 1841

Re: trying to setup a site: college project.. help?

you set the username and password in your config file. What is your end goal for this site. If its something tempoary ill set you up on my hosting account on a subdomain for free. Im not using my personal one anyways right now and would give me some traffic. If you want i can have PHPnuke installed ...
by kc0pph
Mon Dec 05, 2011 8:13 am
Forum: PHP coding => General
Topic: Passing variables from function to function?
Replies: 4
Views: 699

Re: Passing variables from function to function?

Think this is what you are looking for

Code: Select all

function function_name($arg_1, $arg_2, ...,  $arg_n)
{
    code_line1;
    code_line2;
    code_line3;
    return ($value); //stops execution of the function and returns its argument as the value at the point where the function was called.
}
by kc0pph
Mon Dec 05, 2011 8:07 am
Forum: PHP coding => General
Topic: trying to setup a site: college project.. help?
Replies: 15
Views: 1841

Re: trying to setup a site: college project.. help?

look at PhpNuke. Its dirty and not exactly what you want but it has a lot of features.
by kc0pph
Sun Dec 04, 2011 5:18 pm
Forum: PHP Scripts
Topic: What is really wrong with my PHP code here ? In need of help
Replies: 2
Views: 940

Re: What is really wrong with my PHP code here ? In need of

posting the same thing a second time can be considered SPAM!!!! SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM v SPAM SPAM SPAM SPAM SPAM...
by kc0pph
Sun Dec 04, 2011 5:10 pm
Forum: mySQL & php coding
Topic: Display Colum Name -- Column Value
Replies: 9
Views: 1222

Re: Display Colum Name -- Column Value

Bump.
by kc0pph
Sun Dec 04, 2011 5:08 pm
Forum: PHP coding => General
Topic: FORM_MARKUP Issue
Replies: 5
Views: 1343

Re: FORM_MARKUP Issue

Thanks for that information. I ran into that before and just took it out :D

Wonder why mr DreamWeaver CS5.5 did not catch that :(
by kc0pph
Sun Dec 04, 2011 4:55 pm
Forum: PHP coding => General
Topic: FORM_MARKUP Issue
Replies: 5
Views: 1343

Re: FORM_MARKUP Issue

A little above my skills. Dreamweaver (i did not upload it to my server) had an issue with the first private but not the rest. Also had an error on the bottom where you are using the $this->_xxx (the Obj pointer)
no syntax flags anywhere else.
by kc0pph
Sun Dec 04, 2011 4:49 pm
Forum: PHP coding => General
Topic: FORM_MARKUP Issue
Replies: 5
Views: 1343

Re: FORM_MARKUP Issue

I forget what they are called but usually are used in this type <<<end code end; To my knowledge. Never used them. Check the syntax above the line in question. There is something wrong. Could be a missing quote or a missing ; Ill look at it quickly if i can fix it here soon ill post it back if not t...
by kc0pph
Sun Dec 04, 2011 3:26 pm
Forum: PHP coding => General
Topic: What is best practice for calling PHP in HTML pages?
Replies: 6
Views: 923

Re: What is best practice for calling PHP in HTML pages?

yeah sometimes the easy way out is not the best way out. I always try and program for the most robust system. To me 3 letters is nothing compared to a failure. Now where i get upsent is the different browsers and this new HTML5 stuff. Some support some but others dont. And then the morons who dont h...
by kc0pph
Sun Dec 04, 2011 3:22 pm
Forum: mySQL & php coding
Topic: Drop down and delete?
Replies: 15
Views: 1514

Re: Drop down and delete?

I have never heard of the mysql functions not being activated. There might be something in your php.ini file. Check it out.
by kc0pph
Sun Dec 04, 2011 3:20 pm
Forum: PHP Scripts
Topic: Why is this PHP code not working ?? help appreciated
Replies: 18
Views: 2330

Re: Why is this PHP code not working ?? help appreciated

I havent changed anything (i think) since the last iteration i sent you. Im lost many maybe someone else can help you. Sorry.
by kc0pph
Sun Dec 04, 2011 3:11 pm
Forum: PHP Scripts
Topic: Why is this PHP code not working ?? help appreciated
Replies: 18
Views: 2330

Re: Why is this PHP code not working ?? help appreciated

Found the culprit it was on a catch statement. Now getting another error. Let me work this out.
by kc0pph
Sun Dec 04, 2011 2:58 pm
Forum: PHP Scripts
Topic: Why is this PHP code not working ?? help appreciated
Replies: 18
Views: 2330

Re: Why is this PHP code not working ?? help appreciated

<?php include "twitter-async/EpiCurl.php"; include "twitter-async/EpiOAuth.php"; include "twitter-async/EpiTwitter.php"; define("TWITTER_CONSUMER_KEY","c7MyJzMMzHEKqknBlSVDA"); define("TWITTER_CONSUMER_SECRET","zwAtk4CRyUHz9USVAT41fA8SJbnIOhHHR1vJGaHCMU"); define("INDEX","first.php"); define("MASTE...
by kc0pph
Sun Dec 04, 2011 2:46 pm
Forum: PHP Scripts
Topic: Why is this PHP code not working ?? help appreciated
Replies: 18
Views: 2330

Re: Why is this PHP code not working ?? help appreciated

<?php include "twitter-async/EpiCurl.php"; include "twitter-async/EpiOAuth.php"; include "twitter-async/EpiTwitter.php"; define("TWITTER_CONSUMER_KEY","c7MyJzMMzHEKqknBlSVDA"); define("TWITTER_CONSUMER_SECRET","zwAtk4CRyUHz9USVAT41fA8SJbnIOhHHR1vJGaHCMU"); define("INDEX","first.php"); define("MASTE...
by kc0pph
Sun Dec 04, 2011 2:32 pm
Forum: PHP Scripts
Topic: Why is this PHP code not working ?? help appreciated
Replies: 18
Views: 2330

Re: Why is this PHP code not working ?? help appreciated

Ok ill look at it, but ima be upset when its a missing curlie. ARRG lol.
by kc0pph
Sun Dec 04, 2011 2:24 pm
Forum: PHP Scripts
Topic: Why is this PHP code not working ?? help appreciated
Replies: 18
Views: 2330

Re: Why is this PHP code not working ?? help appreciated

Check all of your { I just put the code in Dreamweaver and its showing that it is missing a curly where i have no idea, not a big fan of counting 100's of curlies. Since your famaliar with PHP you should understand this but i will point it out for reference. all { have to have a matching } Verify th...
by kc0pph
Sun Dec 04, 2011 2:19 pm
Forum: mySQL & php coding
Topic: Drop down and delete?
Replies: 15
Views: 1514

Re: Drop down and delete?

Dont know about alt functions. maybe try googling the functions and see if you can define them yourself. It is working on my site currently. http://www.cannonballistics.com/Website/Admin/index.php If you put in anything but create new it will show you the 2nd set of fields. If you hit create new it ...
by kc0pph
Sun Dec 04, 2011 2:15 pm
Forum: PHP coding => General
Topic: What is best practice for calling PHP in HTML pages?
Replies: 6
Views: 923

Re: What is best practice for calling PHP in HTML pages?

<? ?>

Can Confuse your browser i believe asp.net uses the same <? ?> tags.

Stick with <?php
by kc0pph
Sun Dec 04, 2011 1:52 pm
Forum: PHP Scripts
Topic: Why is this PHP code not working ?? help appreciated
Replies: 18
Views: 2330

Re: Why is this PHP code not working ?? help appreciated

you are missing a } somewhere.

www.php.net

read the WHOLE manual and then start coding. Its the best thing you can do. Typing things out of a book and hoping they work is not a good strategy.
by kc0pph
Sun Dec 04, 2011 12:28 pm
Forum: PHP coding => General
Topic: What's wrong with this PHP CODE ?? help appreciated !
Replies: 2
Views: 429

Re: What's wrong with this PHP CODE ?? help appreciated !

your missing a quote. That is what that means. There are numerous other errors. Look up the string concatenation operator (.) you have issues with them and also look up the difference between ", ', ` as there are other issues there too. Put it in dreamweaver and it was red allover :D Look into getti...
by kc0pph
Sun Dec 04, 2011 11:26 am
Forum: PHP coding => General
Topic: trying to setup a site: college project.. help?
Replies: 15
Views: 1841

Re: trying to setup a site: college project.. help?

google php open source shopping cart and follow the instructions to install it.
by kc0pph
Sun Dec 04, 2011 8:24 am
Forum: PHP coding => Mail
Topic: Contact Form Submission emailed
Replies: 0
Views: 765

Re: Contact Form Submission emailed

By guide completely this is the most anyone can do without writing the code for you. Gather the POST variables from your form. $name = $_POST['name'] $message = $_POST['message'] Prepare the Email $to = "vijuihdsa@companyname.com" $subject = "Someone Likes you enough to send you a message" $message ...