Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. marcel2

    perl and mysql problem fetching

    Hello, I have to questions about some coding. * I have some nummeric code that I need to fetch thats working partly. if I use this if ($cur_group =~ /222/) { $section_started=1; } code is being fetched but not only code after 222 also code after 37222 or 32222 how can I be sure the script...
  2. marcel2

    HTML page getting info from MySQL and send Info to ....

    Hello there, hope someone can help me out. I have a html page made in frontpage, I need to get information from my mysql dbase to this html page. Like If I fil in a country there has to come a list of all names if a name is then selected it has to put in a 5 digit number in this line...
  3. marcel2

    Get info out of Mysql and then start up template

    Hello there, hope someone can help me out. I have a html page made in frontpage, I need to get information from my mysql dbase to this html page. Like If I fil in a country there has to come a list of all names if a name is then selected it has to put in a 5 digit number in this line...
  4. marcel2

    split number?

    Thanks for all the help you have given me but I did solf the problem whit the next code; ($NINE_CODE=~/^18((.)(.))$/) Now it's working perfect. Thanks again. Marcel
  5. marcel2

    split number?

    This is the part that gets the code and puts it into a mysql. if($sec_param==9) {$NINE_CODE=substr($cur_group,1,4); if($NINE_CODE!~/^\d+$/) {$NINE_CODE="null";} The $1 is working fine but what do I need to do if I want to split $1. This lookt like the right thing to do if...
  6. marcel2

    split number?

    Thanks for the code, I new and just am trying to change a perl written script for me.So I tryed it and found some thing I think has to be changed to before it works. sub urldecode{ local($val)=@_; $val=~s/\+/ /g; $val=~s/%([0-9a-hA-H]{2})/pack('C',hex($1))/eg; return $val; } This part is...
  7. marcel2

    split number?

    Hope you can help me out. I have got the next code this code is decoding part of a number the hole number is 92259. The problem is that $1 = standing for the numbers 59 but I want to have $2 for the 5 and $3 for the 9, please help me to change this code. 92259 now 59 if...
  8. marcel2

    Decode group

    I need to decode a part that comes after 333. This is a weather code it are numbers and the part before 333 I can already decode but I need a part after the 333 and it looks the same as #1sttt what do I need to do to decode that part? This is the code I have now to decode the first part before...
  9. marcel2

    More then and less then?

    WW = a field in the dbase*. txt file if ($W1.$W1.$WW eq "nullnullnull") { $WEATHER="N/B"; } else { $WEATHER="$WW1 / $W1, $W2" } @Wy=("No rain&quot...
  10. marcel2

    More then and less then?

    Thanks for the quick help it's working. I hope you can help me with this to If there is a type of weather I want a picture to be displayd I do get the name of the picture but the picture wil not display. # Weather images @WIMGS=("blank.gif", "blank.gif&quot...
  11. marcel2

    More then and less then?

    How can I get this to work I need to calculate if something is more then 7 and less then 12 the answer has to be 2. I did try this but it's not working. if ($UNKMH > 7 && < 12) {$UNBFT =&quot;2&quot;;} I'm a new with writing so please gif me the sollution. Greatings Marcel
  12. marcel2

    Perl script design

    The script has to work if this is in the html page <!--#exec cgi=&quot;weather/cgi-bin/synops.pl&quot;--> But it is not doing anything the autor of the script told me the script is not a CGI script. It is just a command-line (as in unix/linux shell prompt) script. I hope you can get it to work...
  13. marcel2

    Perl script design

    I have got a perl script that is not cgi based. But I need to activate the script online I hope someone is able to make the script working. Want to know more please mail me, sysop@cacique.nl
  14. marcel2

    vbscript from asp to html

    Hello, I hope someone is able to help me with this script. I do not understand anything of vbscripting, I did work with javascript only. I got a ASP page with vbscript init but my provider is not suporting asp is it posible to make the vbscript work in html pages? I hope you are able to get...

Part and Inventory Search

Back
Top